SYMBOL INDEX (5718 symbols across 137 files) FILE: .github/openssl_ca_handler_v16.py class CAhandler (line 27) | class CAhandler(object): method __init__ (line 30) | def __init__(self, debug=None, logger=None): method __enter__ (line 46) | def __enter__(self): method __exit__ (line 52) | def __exit__(self, *args): method _ca_load (line 55) | def _ca_load(self): method _certificate_chain_verify (line 80) | def _certificate_chain_verify(self, cert, ca_cert): method _certificate_extensions_add (line 138) | def _certificate_extensions_add(self, cert_extension_dic, cert, ca_cert): method _certificate_extensions_load (line 202) | def _certificate_extensions_load(self): method _certificate_store (line 238) | def _certificate_store(self, cert): method _config_check (line 270) | def _config_check(self): method _config_load (line 329) | def _config_load(self): method _crl_check (line 387) | def _crl_check(self, crl, serial): method _csr_check (line 407) | def _csr_check(self, csr): method _list_check (line 459) | def _list_check(self, entry, list_, toggle=False): method _pemcertchain_generate (line 487) | def _pemcertchain_generate(self, ee_cert, issuer_cert): method _string_wlbl_check (line 504) | def _string_wlbl_check(self, entry, white_list, black_list): method enroll (line 534) | def enroll(self, csr): method poll (line 664) | def poll(self, _cert_name, poll_identifier, _csr): method revoke (line 676) | def revoke(self, cert, rev_reason="unspecified", rev_date=None): method trigger (line 747) | def trigger(self, _payload): FILE: acme_srv/account.py class ExternalAccountBinding (line 32) | class ExternalAccountBinding: method __init__ (line 35) | def __init__(self, logger, eab_handler, server_name=None): method get_kid (line 40) | def get_kid(self, protected: str) -> str: method compare_jwk (line 56) | def compare_jwk(self, protected: dict, payload: str) -> bool: method verify_signature (line 77) | def verify_signature(self, content: dict, mac_key: str) -> tuple: method verify (line 94) | def verify(self, payload: dict, err_msg_dic: dict) -> tuple: method check (line 123) | def check(self, protected: dict, payload: dict, err_msg_dic: dict) -> ... class AccountDatabaseError (line 151) | class AccountDatabaseError(Exception): class AccountRepository (line 157) | class AccountRepository: method __init__ (line 160) | def __init__(self, dbstore, logger=None): method lookup_account (line 164) | def lookup_account(self, field: str, value: str) -> Optional[Dict[str,... method add_account (line 172) | def add_account(self, data_dic: Dict[str, str]) -> Tuple[Optional[str]... method update_account (line 180) | def update_account(self, data_dic: Dict[str, str], active: bool = True... method delete_account (line 188) | def delete_account(self, account_name: str) -> bool: method load_jwk (line 196) | def load_jwk(self, account_name: str) -> Optional[Dict[str, str]]: class AccountConfiguration (line 206) | class AccountConfiguration: class AccountData (line 222) | class AccountData: class Account (line 234) | class Account: method __init__ (line 237) | def __init__(self, debug: bool = False, srv_name: str = None, logger=N... method __enter__ (line 246) | def __enter__(self) -> "Order": method __exit__ (line 251) | def __exit__(self, *args) -> None: method _load_configuration (line 256) | def _load_configuration(self): method _add_account_to_db (line 294) | def _add_account_to_db( method _validate_contact (line 318) | def _validate_contact(self, contact: List[str]) -> Tuple[int, str, str]: method _check_tos (line 331) | def _check_tos(self, content: Dict[str, str]) -> Tuple[int, str, str]: method _create_account (line 353) | def _create_account( method _parse_query (line 405) | def _parse_query(self, account_name: str) -> Dict[str, str]: method _onlyreturnexisting (line 420) | def _onlyreturnexisting( method _handle_deactivation (line 458) | def _handle_deactivation( method _deactivate_account (line 474) | def _deactivate_account(self, account_name: str) -> Tuple[int, str, str]: method _handle_contact_update (line 496) | def _handle_contact_update( method _update_account_contacts (line 509) | def _update_account_contacts( method _handle_key_change (line 531) | def _handle_key_change( method _rollover_account_key (line 557) | def _rollover_account_key( method _validate_key_change (line 594) | def _validate_key_change( method _handle_account_query (line 642) | def _handle_account_query(self, account_name: str) -> Dict[str, str]: method _lookup_account_by_name (line 653) | def _lookup_account_by_name(self, value: str) -> Optional[Dict[str, st... method _lookup_account_by_field (line 664) | def _lookup_account_by_field( method _build_account_info (line 677) | def _build_account_info(self, account_obj: Dict[str, str]) -> Dict[str... method _build_response (line 694) | def _build_response( method create_account (line 737) | def create_account(self, content: Dict[str, str]) -> Dict[str, str]: method parse_request (line 753) | def parse_request(self, content: Dict[str, str]) -> Dict[str, str]: method new (line 776) | def new(self, content: Dict[str, str]) -> Dict[str, str]: method parse (line 780) | def parse(self, content: Dict[str, str]) -> Dict[str, str]: FILE: acme_srv/acmechallenge.py class Acmechallenge (line 7) | class Acmechallenge(object): method __init__ (line 10) | def __init__(self, debug=None, srv_name=None, logger=None): method __enter__ (line 16) | def __enter__(self): method __exit__ (line 20) | def __exit__(self, *args): method lookup (line 23) | def lookup(self, path_info: str) -> str: FILE: acme_srv/authorization.py class AuthorizationError (line 23) | class AuthorizationError(Exception): class AuthorizationNotFoundError (line 30) | class AuthorizationNotFoundError(AuthorizationError): class AuthorizationExpiredError (line 37) | class AuthorizationExpiredError(AuthorizationError): class ConfigurationError (line 44) | class ConfigurationError(AuthorizationError): class AuthorizationConfiguration (line 52) | class AuthorizationConfiguration: class AuthorizationData (line 64) | class AuthorizationData: method to_dict (line 75) | def to_dict(self) -> Dict[str, str]: class AuthorizationRepository (line 94) | class AuthorizationRepository: method __init__ (line 97) | def __init__(self, dbstore: DBstore, logger): method find_authorization_by_name (line 101) | def find_authorization_by_name( method update_authorization_expiry (line 133) | def update_authorization_expiry( method search_expired_authorizations (line 153) | def search_expired_authorizations( method mark_authorization_as_expired (line 173) | def mark_authorization_as_expired(self, authz_name: str) -> None: method mark_authorization_as_valid (line 191) | def mark_authorization_as_valid(self, authz_name: str) -> None: method mark_order_as_ready (line 209) | def mark_order_as_ready(self, order_name: str) -> None: class AuthorizationBusinessLogic (line 226) | class AuthorizationBusinessLogic: method __init__ (line 229) | def __init__( method extract_authorization_name_from_url (line 239) | def extract_authorization_name_from_url(self, url: str, server_name: s... method generate_authorization_token_and_expiry (line 250) | def generate_authorization_token_and_expiry(self) -> Tuple[str, int]: method enrich_authorization_with_identifier_info (line 264) | def enrich_authorization_with_identifier_info( method extract_identifier_info_for_challenge (line 302) | def extract_identifier_info_for_challenge( method is_authorization_eligible_for_expiry (line 319) | def is_authorization_eligible_for_expiry(self, auth_record: Dict[str, ... class ChallengeSetManager (line 340) | class ChallengeSetManager: method __init__ (line 343) | def __init__(self, debug: bool, server_name: str, logger): method get_challenge_set_for_authorization (line 348) | def get_challenge_set_for_authorization( class Authorization (line 374) | class Authorization(object): method __init__ (line 377) | def __init__( method __enter__ (line 399) | def __enter__(self): method __exit__ (line 408) | def __exit__(self, *args): method _load_configuration (line 413) | def _load_configuration(self) -> AuthorizationConfiguration: method get_authorization_details (line 462) | def get_authorization_details(self, url: str) -> Optional[Dict[str, st... method _apply_eab_and_domain_whitelist (line 551) | def _apply_eab_and_domain_whitelist( method _apply_eab_profile (line 560) | def _apply_eab_profile(self, authz_name, auth_details): method _apply_domain_whitelist (line 590) | def _apply_domain_whitelist( method expire_invalid_authorizations (line 616) | def expire_invalid_authorizations( method handle_get_request (line 672) | def handle_get_request(self, url: str) -> Dict[str, str]: method handle_post_request (line 690) | def handle_post_request(self, content: str) -> Dict[str, str]: method new_get (line 738) | def new_get(self, url: str) -> Dict[str, str]: method new_post (line 743) | def new_post(self, content: str) -> Dict[str, str]: method invalidate (line 748) | def invalidate(self, timestamp: int = None) -> Tuple[List[str], List[s... FILE: acme_srv/certificate.py class CertificateLogger (line 38) | class CertificateLogger: method __init__ (line 41) | def __init__(self, logger, cert_operations_log: str, repository): method log_certificate_issuance (line 54) | def log_certificate_issuance( method log_certificate_revocation (line 122) | def log_certificate_revocation(self, certificate: str, code: int): method _log_as_json (line 179) | def _log_as_json(self, data_dic: Dict, operation_type: str): method _log_issuance_as_text (line 187) | def _log_issuance_as_text(self, certificate_name: str, data_dic: Dict): method _log_revocation_as_text (line 207) | def _log_revocation_as_text(self, data_dic: Dict): class CertificateConfiguration (line 227) | class CertificateConfiguration: class Certificate (line 247) | class Certificate(object): method __init__ (line 257) | def __init__(self, debug: bool = False, srv_name: str = None, logger=N... method __enter__ (line 285) | def __enter__(self): method __exit__ (line 290) | def __exit__(self, *args): method _validate_input_parameters (line 293) | def _validate_input_parameters(self, **kwargs) -> Dict[str, str]: method _create_error_response (line 303) | def _create_error_response( method _validate_certificate_account_ownership (line 309) | def _validate_certificate_account_ownership( method _validate_certificate_authorization (line 329) | def _validate_certificate_authorization( method _validate_order_authorization (line 379) | def _validate_order_authorization(self, order_name: str, certificate: ... method _check_certificate_reusability (line 414) | def _check_certificate_reusability(self, csr: str) -> Tuple[None, str,... method _load_hooks_configuration (line 484) | def _load_hooks_configuration(self, config_dic: Dict[str, str]): method _load_certificate_parameters (line 511) | def _load_certificate_parameters(self, config_dic: Dict[str, str] = No... method _load_configuration (line 582) | def _load_configuration(self): method _load_and_validate_identifiers (line 608) | def _load_and_validate_identifiers( method _validate_csr_against_order (line 653) | def _validate_csr_against_order(self, certificate_name: str, csr: str)... method _process_certificate_enrollment (line 694) | def _process_certificate_enrollment(self, csr: str) -> Tuple[str, str,... method _get_certificate_renewal_info (line 729) | def _get_certificate_renewal_info(self, certificate: str) -> str: method _store_certificate_and_update_order (line 744) | def _store_certificate_and_update_order( method _handle_enrollment_error (line 801) | def _handle_enrollment_error( method _execute_pre_enrollment_hooks (line 837) | def _execute_pre_enrollment_hooks( method _execute_post_enrollment_hooks (line 860) | def _execute_post_enrollment_hooks( method _process_enrollment_and_store_certificate (line 885) | def _process_enrollment_and_store_certificate( method _check_identifier_match (line 953) | def _check_identifier_match( method _validate_identifiers_against_sans (line 974) | def _validate_identifiers_against_sans( method _check_tnauth_identifier_match (line 1011) | def _check_tnauth_identifier_match( method _validate_identifiers_against_tnauthlist (line 1029) | def _validate_identifiers_against_tnauthlist( method _get_certificate_info (line 1058) | def _get_certificate_info( method _update_order_status (line 1074) | def _update_order_status(self, data_dic: Dict[str, str]): method _validate_revocation_reason (line 1082) | def _validate_revocation_reason(self, reason: str) -> str: method _validate_revocation_request (line 1106) | def _validate_revocation_request( method _store_certificate_in_database (line 1154) | def _store_certificate_in_database( method _store_certificate_error (line 1196) | def _store_certificate_error( method _check_for_tnauth_identifiers (line 1216) | def _check_for_tnauth_identifiers(self, identifier_dic: Dict[str, str]... method certlist_search (line 1232) | def certlist_search( method cleanup (line 1250) | def cleanup( method _update_certificate_dates (line 1269) | def _update_certificate_dates(self, cert: Dict[str, str]): method dates_update (line 1295) | def dates_update(self): method _handle_enrollment_thread_execution (line 1311) | def _handle_enrollment_thread_execution( method _parse_enrollment_result (line 1341) | def _parse_enrollment_result(self, enroll_result) -> Tuple[str, str]: method process_certificate_enrollment_request (line 1354) | def process_certificate_enrollment_request( method _determine_certificate_response (line 1405) | def _determine_certificate_response(self, cert_info: Dict) -> Dict[str... method _handle_valid_certificate (line 1421) | def _handle_valid_certificate(self, cert_info: Dict) -> Dict[str, str]: method _handle_processing_certificate (line 1432) | def _handle_processing_certificate(self) -> Dict[str, str]: method get_certificate_details (line 1440) | def get_certificate_details(self, url: str) -> Dict[str, str]: method _validate_certificate_request_message (line 1478) | def _validate_certificate_request_message( method _prepare_certificate_response (line 1495) | def _prepare_certificate_response( method process_certificate_request (line 1516) | def process_certificate_request(self, content: str) -> Dict[str, str]: method _validate_revocation_message (line 1584) | def _validate_revocation_message( method _process_certificate_revocation (line 1601) | def _process_certificate_revocation( method revoke_certificate (line 1638) | def revoke_certificate(self, content: str) -> Dict[str, str]: method _handle_successful_certificate_poll (line 1694) | def _handle_successful_certificate_poll( method _handle_failed_certificate_poll (line 1726) | def _handle_failed_certificate_poll( method poll_certificate_status (line 1753) | def poll_certificate_status( method store_certificate_signing_request (line 1811) | def store_certificate_signing_request( method enroll_and_store (line 1844) | def enroll_and_store( method new_get (line 1853) | def new_get(self, url: str) -> Dict[str, str]: method new_post (line 1858) | def new_post(self, content: str) -> Dict[str, str]: method revoke (line 1863) | def revoke(self, content: str) -> Dict[str, str]: method poll (line 1868) | def poll( method store_csr (line 1877) | def store_csr(self, order_name: str, csr: str, header_info: str) -> str: FILE: acme_srv/certificate_business_logic.py class CertificateBusinessLogic (line 20) | class CertificateBusinessLogic: method __init__ (line 34) | def __init__(self, debug: bool = False, logger=None, err_msg_dic=None,... method validate_csr (line 50) | def validate_csr( method calculate_certificate_dates (line 92) | def calculate_certificate_dates(self, certificate_raw: str) -> Tuple[i... method generate_certificate_name (line 113) | def generate_certificate_name(self) -> str: method validate_certificate_data (line 122) | def validate_certificate_data(self, certificate: str) -> bool: method extract_certificate_info (line 161) | def extract_certificate_info(self, certificate: str) -> Dict[str, str]: method sanitize_certificate_name (line 192) | def sanitize_certificate_name(self, certificate_name: str) -> str: method format_certificate_response (line 208) | def format_certificate_response( FILE: acme_srv/certificate_manager.py class CertificateManager (line 13) | class CertificateManager: method __init__ (line 30) | def __init__( method search_certificates (line 57) | def search_certificates( method get_certificate_info (line 122) | def get_certificate_info(self, certificate_name: str) -> Dict[str, str]: method store_certificate (line 151) | def store_certificate( method update_certificate_dates (line 223) | def update_certificate_dates(self, certificate_name: str = None) -> Tu... method cleanup_certificates (line 294) | def cleanup_certificates( method _check_invalidation (line 368) | def _check_invalidation( method _assume_expirydate (line 408) | def _assume_expirydate( method _get_expiredate (line 431) | def _get_expiredate( method check_account_authorization (line 458) | def check_account_authorization( method prepare_certificate_response (line 496) | def prepare_certificate_response( method update_order_status (line 513) | def update_order_status( method get_certificate_by_order (line 543) | def get_certificate_by_order(self, order_name: str) -> Dict[str, str]: method validate_and_store_csr (line 571) | def validate_and_store_csr( FILE: acme_srv/certificate_repository.py class CertificateRepository (line 9) | class CertificateRepository(ABC): method search_certificates (line 14) | def search_certificates( method get_certificate_info (line 21) | def get_certificate_info(self, certificate_name: str) -> Dict[str, str]: method search_expired_certificates (line 26) | def search_expired_certificates( method certificate_account_check (line 33) | def certificate_account_check( method certificate_lookup (line 40) | def certificate_lookup( method certificate_add (line 47) | def certificate_add(self, data_dic: Dict[str, Any]) -> int: method certificate_delete (line 52) | def certificate_delete(self, key: str, value: Any) -> bool: method order_lookup (line 57) | def order_lookup( method order_update (line 64) | def order_update(self, data_dic: Dict[str, Any]) -> bool: class DatabaseCertificateRepository (line 69) | class DatabaseCertificateRepository(CertificateRepository): method __init__ (line 72) | def __init__(self, dbstore: DBstore, logger): method search_certificates (line 76) | def search_certificates( method get_certificate_info (line 115) | def get_certificate_info(self, certificate_name: str) -> Dict[str, str]: method add_certificate (line 150) | def add_certificate(self, data_dic: Dict[str, str]) -> bool: method delete_certificate (line 171) | def delete_certificate(self, certificate_name: str) -> bool: method get_account_check_result (line 196) | def get_account_check_result( method update_order (line 221) | def update_order(self, data_dic: Dict[str, str]) -> bool: method get_orders_by_account (line 242) | def get_orders_by_account(self, account_name: str) -> List[Dict[str, s... method search_expired_certificates (line 266) | def search_expired_certificates( method get_certificate_by_order (line 300) | def get_certificate_by_order(self, order_name: str) -> Dict[str, str]: method store_certificate_operation_log (line 324) | def store_certificate_operation_log( method certificate_account_check (line 357) | def certificate_account_check( method certificate_lookup (line 375) | def certificate_lookup( method certificate_add (line 394) | def certificate_add(self, data_dic: Dict[str, Any]) -> int: method certificate_delete (line 408) | def certificate_delete(self, key: str, value: Any) -> bool: method order_lookup (line 422) | def order_lookup( method order_update (line 439) | def order_update(self, data_dic: Dict[str, Any]) -> bool: FILE: acme_srv/challenge.py class ChallengeConfiguration (line 48) | class ChallengeConfiguration: class DatabaseChallengeRepository (line 68) | class DatabaseChallengeRepository(ChallengeRepository): method __init__ (line 71) | def __init__(self, dbstore: DBstore, logger, expiry: float = 3600): method find_challenges_by_authorization (line 76) | def find_challenges_by_authorization( method get_challengeinfo_by_challengename (line 117) | def get_challengeinfo_by_challengename( method get_challenge_by_name (line 147) | def get_challenge_by_name( method create_challenge (line 195) | def create_challenge(self, request: ChallengeCreationRequest) -> Optio... method update_challenge (line 232) | def update_challenge(self, request: ChallengeUpdateRequest) -> bool: method update_authorization_status (line 260) | def update_authorization_status(self, challenge_name: str, status: str... method get_account_jwk (line 292) | def get_account_jwk(self, challenge_name: str) -> Optional[Dict[str, A... class Challenge (line 317) | class Challenge: method __init__ (line 320) | def __init__( method __enter__ (line 359) | def __enter__(self): method __exit__ (line 364) | def __exit__(self, *args): method _create_error_response (line 369) | def _create_error_response( method _create_success_response (line 377) | def _create_success_response(self, response_dic: Dict[str, Any]) -> Di... method _execute_challenge_validation (line 383) | def _execute_challenge_validation(self, challenge_name: str) -> Valida... method _extract_challenge_name_from_url (line 416) | def _extract_challenge_name_from_url(self, url: str) -> str: method _get_challenge_validation_details (line 425) | def _get_challenge_validation_details( method _handle_challenge_validation_request (line 475) | def _handle_challenge_validation_request( method _handle_validation_disabled (line 546) | def _handle_validation_disabled(self, challenge_name: str) -> bool: method _load_address_check_configuration (line 578) | def _load_address_check_configuration(self, config_dic: Dict[str, str]): method _load_dns_configuration (line 601) | def _load_dns_configuration(self, config_dic: Dict[str, str]): method _load_proxy_configuration (line 631) | def _load_proxy_configuration(self, config_dic: Dict[str, str]): method _load_configuration (line 648) | def _load_configuration(self): method _initialize_business_logic_components (line 717) | def _initialize_business_logic_components(self): method _ensure_components_initialized (line 735) | def _ensure_components_initialized(self): method _get_eab_kid_from_challenge (line 742) | def _get_eab_kid_from_challenge(self, challenge_name: str) -> Optional... method _get_challenge_profile_settings (line 773) | def _get_challenge_profile_settings( method _apply_eab_profile_settings (line 807) | def _apply_eab_profile_settings(self, settings: Dict[str, bool], eab_k... method _check_challenge_validation_eabprofile (line 834) | def _check_challenge_validation_eabprofile(self, challenge_name: str): method _perform_challenge_validation (line 870) | def _perform_challenge_validation( method _perform_source_address_validation (line 914) | def _perform_source_address_validation( method _perform_validation_with_retry (line 984) | def _perform_validation_with_retry( method _start_async_validation (line 1011) | def _start_async_validation(self, challenge_name: str, payload: Dict[s... method _update_challenge_state_from_validation (line 1027) | def _update_challenge_state_from_validation( method _validate_tnauthlist_payload (line 1046) | def _validate_tnauthlist_payload( method get_challenge_details (line 1071) | def get_challenge_details(self, url: str) -> Dict[str, str]: method process_challenge_request (line 1094) | def process_challenge_request(self, content: str) -> Dict[str, str]: method retrieve_challenge_set (line 1143) | def retrieve_challenge_set( method get (line 1183) | def get(self, url: str) -> Dict[str, str]: method challengeset_get (line 1188) | def challengeset_get(self, *args, **kwargs) -> List[Dict[str, str]]: method parse (line 1193) | def parse(self, content: str) -> Dict[str, str]: FILE: acme_srv/challenge_business_logic.py class ChallengeInfo (line 14) | class ChallengeInfo: class ChallengeCreationRequest (line 30) | class ChallengeCreationRequest: class ChallengeUpdateRequest (line 41) | class ChallengeUpdateRequest: class ChallengeRepository (line 52) | class ChallengeRepository(ABC): method find_challenges_by_authorization (line 57) | def find_challenges_by_authorization( method get_challenge_by_name (line 64) | def get_challenge_by_name(self, name: str) -> Optional[ChallengeInfo]: method get_challengeinfo_by_challengename (line 69) | def get_challengeinfo_by_challengename(self, name: str) -> Optional[Ch... method create_challenge (line 74) | def create_challenge(self, request: ChallengeCreationRequest) -> Optio... method update_challenge (line 79) | def update_challenge(self, request: ChallengeUpdateRequest) -> bool: method update_authorization_status (line 84) | def update_authorization_status(self, challenge_name: str, status: str... method get_account_jwk (line 89) | def get_account_jwk(self, challenge_name: str) -> Optional[Dict[str, A... class ChallengeStateManager (line 94) | class ChallengeStateManager: method __init__ (line 97) | def __init__(self, repository: ChallengeRepository, logger: logging.Lo... method transition_to_processing (line 101) | def transition_to_processing(self, challenge_name: str) -> bool: method transition_to_valid (line 118) | def transition_to_valid( method transition_to_invalid (line 149) | def transition_to_invalid( method update_key_authorization (line 180) | def update_key_authorization( class ChallengeFactory (line 198) | class ChallengeFactory: method __init__ (line 201) | def __init__( method create_standard_challenge_set (line 215) | def create_standard_challenge_set( method create_email_reply_challenge (line 244) | def create_email_reply_challenge( method create_tkauth_challenge (line 266) | def create_tkauth_challenge( method create_single_challenge (line 280) | def create_single_challenge( class ChallengeService (line 347) | class ChallengeService: method __init__ (line 350) | def __init__( method get_challenge_set_for_authorization (line 362) | def get_challenge_set_for_authorization( method _format_existing_challenges (line 404) | def _format_existing_challenges( method _create_new_challenge_set (line 445) | def _create_new_challenge_set( FILE: acme_srv/challenge_error_handling.py class ErrorCategory (line 14) | class ErrorCategory(Enum): class ErrorSeverity (line 27) | class ErrorSeverity(Enum): class ErrorDetail (line 37) | class ErrorDetail: class ChallengeError (line 48) | class ChallengeError(Exception): method __init__ (line 51) | def __init__( class ValidationError (line 71) | class ValidationError(ChallengeError): method __init__ (line 74) | def __init__(self, message: str, **kwargs): class NetworkError (line 78) | class NetworkError(ChallengeError): method __init__ (line 81) | def __init__(self, message: str, **kwargs): class DatabaseError (line 85) | class DatabaseError(ChallengeError): method __init__ (line 88) | def __init__(self, message: str, **kwargs): class ConfigurationError (line 97) | class ConfigurationError(ChallengeError): method __init__ (line 100) | def __init__(self, message: str, **kwargs): class AuthenticationError (line 109) | class AuthenticationError(ChallengeError): method __init__ (line 112) | def __init__(self, message: str, **kwargs): class MalformedRequestError (line 121) | class MalformedRequestError(ChallengeError): method __init__ (line 124) | def __init__(self, message: str, **kwargs): class TimeoutError (line 128) | class TimeoutError(ChallengeError): method __init__ (line 131) | def __init__(self, message: str, **kwargs): class UnsupportedChallengeTypeError (line 135) | class UnsupportedChallengeTypeError(ValidationError): method __init__ (line 138) | def __init__(self, challenge_type: str, supported_types: List[str]): class DNSResolutionError (line 151) | class DNSResolutionError(NetworkError): method __init__ (line 154) | def __init__(self, domain: str, dns_servers: Optional[List[str]] = None): class HTTPChallengeError (line 164) | class HTTPChallengeError(ValidationError): method __init__ (line 167) | def __init__(self, url: str, expected: str, received: str): class DNSChallengeError (line 181) | class DNSChallengeError(ValidationError): method __init__ (line 184) | def __init__(self, dns_record: str, expected_hash: str, found_records:... class TLSALPNChallengeError (line 198) | class TLSALPNChallengeError(ValidationError): method __init__ (line 201) | def __init__(self, domain: str, expected_extension: str): class ErrorHandler (line 211) | class ErrorHandler: method __init__ (line 214) | def __init__(self, logger: logging.Logger): method handle_error (line 218) | def handle_error( method _log_error (line 246) | def _log_error(self, error_detail: ErrorDetail, original_error: Except... method create_acme_error_response (line 276) | def create_acme_error_response( class ErrorRecovery (line 308) | class ErrorRecovery: method __init__ (line 311) | def __init__(self, logger: logging.Logger): method should_retry (line 314) | def should_retry(self, error_detail: ErrorDetail, attempt_count: int) ... method get_retry_delay (line 342) | def get_retry_delay(self, attempt_count: int) -> float: FILE: acme_srv/challenge_registry_setup.py function create_challenge_validator_registry (line 20) | def create_challenge_validator_registry( function create_custom_registry (line 60) | def create_custom_registry( FILE: acme_srv/challenge_validators/base.py class ValidationResult (line 14) | class ValidationResult: class ChallengeContext (line 24) | class ChallengeContext: class ChallengeValidationError (line 40) | class ChallengeValidationError(Exception): class ValidationTimeoutError (line 46) | class ValidationTimeoutError(ChallengeValidationError): class InvalidChallengeTypeError (line 52) | class InvalidChallengeTypeError(ChallengeValidationError): class ChallengeValidator (line 58) | class ChallengeValidator(ABC): method __init__ (line 61) | def __init__(self, logger: logging.Logger): method get_challenge_type (line 65) | def get_challenge_type(self) -> str: method perform_validation (line 70) | def perform_validation(self, context: ChallengeContext) -> ValidationR... method validate_challenge (line 82) | def validate_challenge(self, context: ChallengeContext) -> ValidationR... FILE: acme_srv/challenge_validators/dns_validator.py class DnsChallengeValidator (line 9) | class DnsChallengeValidator(ChallengeValidator): method get_challenge_type (line 12) | def get_challenge_type(self) -> str: method perform_validation (line 15) | def perform_validation(self, context: ChallengeContext) -> ValidationR... method _handle_wildcard_domain (line 69) | def _handle_wildcard_domain(self, fqdn: str) -> str: FILE: acme_srv/challenge_validators/email_reply_validator.py class EmailReplyChallengeValidator (line 12) | class EmailReplyChallengeValidator(ChallengeValidator): method get_challenge_type (line 15) | def get_challenge_type(self) -> str: method perform_validation (line 19) | def perform_validation(self, context: ChallengeContext) -> ValidationR... method _generate_email_keyauth (line 77) | def _generate_email_keyauth( method _filter_email (line 94) | def _filter_email(self, email_data, rfc_token1): method _extract_email_keyauth (line 115) | def _extract_email_keyauth(self, email_body: str) -> str: FILE: acme_srv/challenge_validators/http_validator.py class HttpChallengeValidator (line 10) | class HttpChallengeValidator(ChallengeValidator): method get_challenge_type (line 13) | def get_challenge_type(self) -> str: method perform_validation (line 16) | def perform_validation(self, context: ChallengeContext) -> ValidationR... FILE: acme_srv/challenge_validators/registry.py class ChallengeValidatorRegistry (line 16) | class ChallengeValidatorRegistry: method __init__ (line 19) | def __init__(self, logger: logging.Logger): method register_validator (line 23) | def register_validator(self, validator: ChallengeValidator) -> None: method get_validator (line 33) | def get_validator(self, challenge_type: str) -> Optional[ChallengeVali... method get_supported_types (line 40) | def get_supported_types(self) -> List[str]: method is_supported (line 45) | def is_supported(self, challenge_type: str) -> bool: method validate_challenge (line 50) | def validate_challenge( FILE: acme_srv/challenge_validators/source_address_validator.py class SourceAddressValidator (line 12) | class SourceAddressValidator(ChallengeValidator): method __init__ (line 15) | def __init__( method get_challenge_type (line 22) | def get_challenge_type(self) -> str: method perform_validation (line 25) | def perform_validation(self, context: ChallengeContext) -> ValidationR... method _perform_forward_check (line 127) | def _perform_forward_check( method _perform_reverse_check (line 183) | def _perform_reverse_check( method _domain_matches (line 234) | def _domain_matches(self, requested_domain: str, resolved_domain: str)... FILE: acme_srv/challenge_validators/tkauth_validator.py class TkauthChallengeValidator (line 9) | class TkauthChallengeValidator(ChallengeValidator): method get_challenge_type (line 12) | def get_challenge_type(self) -> str: method perform_validation (line 15) | def perform_validation(self, context: ChallengeContext) -> ValidationR... FILE: acme_srv/challenge_validators/tls_alpn_validator.py class TlsAlpnChallengeValidator (line 10) | class TlsAlpnChallengeValidator(ChallengeValidator): method get_challenge_type (line 13) | def get_challenge_type(self) -> str: method perform_validation (line 16) | def perform_validation(self, context: ChallengeContext) -> ValidationR... method _validate_certificate_extensions (line 141) | def _validate_certificate_extensions( FILE: acme_srv/directory.py class DirectoryConfig (line 23) | class DirectoryConfig: class DirectoryRepository (line 41) | class DirectoryRepository: method __init__ (line 44) | def __init__(self, dbstore: object, logger: object) -> None: method get_db_version (line 49) | def get_db_version(self) -> Tuple[Optional[str], Optional[str]]: method profile_list_get (line 59) | def profile_list_get(self) -> List[Dict[str, object]]: method profile_list_set (line 76) | def profile_list_set(self, data_dic: Dict[str, object]) -> None: class Directory (line 84) | class Directory: method __init__ (line 87) | def __init__( method __enter__ (line 103) | def __enter__(self) -> "Directory": method __exit__ (line 108) | def __exit__(self, *args) -> None: method _load_configuration (line 113) | def _load_configuration(self) -> None: method _parse_directory_section (line 128) | def _parse_directory_section(self, config_dic: object) -> None: method _parse_caaidentities (line 141) | def _parse_caaidentities(self, value: str) -> List[str]: method _parse_booleans (line 155) | def _parse_booleans(self, config_dic: object) -> None: method _parse_eab_and_profiles (line 173) | def _parse_eab_and_profiles(self, config_dic: object) -> None: method _parse_cahandler_section (line 182) | def _parse_cahandler_section(self, config_dic: object) -> None: method _validate_profiles_sync (line 202) | def _validate_profiles_sync(self) -> None: method _set_profiles_sync_interval (line 214) | def _set_profiles_sync_interval(self, config_dic: object) -> None: method _load_ca_handler (line 230) | def _load_ca_handler(self, config_dic: object) -> None: method _build_meta_information (line 238) | def _build_meta_information(self) -> Dict[str, object]: method _build_directory_response (line 264) | def _build_directory_response(self) -> Dict[str, object]: method get_directory_response (line 301) | def get_directory_response(self) -> Dict[str, object]: method directory_get (line 335) | def directory_get(self) -> Dict[str, object]: method servername_get (line 340) | def servername_get(self) -> str: FILE: acme_srv/email_handler.py class EmailHandler (line 13) | class EmailHandler: method __init__ (line 16) | def __init__(self, debug: bool = False, logger=None): method __enter__ (line 45) | def __enter__(self): method __exit__ (line 50) | def __exit__(self, *args): method _config_load (line 54) | def _config_load(self): method send_email_challenge (line 136) | def send_email_challenge(self, to_address: str = None, token1: str = N... method send (line 154) | def send( method receive (line 207) | def receive( method _imap_connect (line 238) | def _imap_connect(self): method _emails_fetch (line 249) | def _emails_fetch(self, mail, callback, mark_as_read): method start_polling (line 290) | def start_polling( method stop_polling (line 312) | def stop_polling(self): method _polling_loop (line 322) | def _polling_loop(self, folder: str, mark_as_read: bool): method _email_parse (line 344) | def _email_parse(self, email_message) -> Dict[str, Any]: method _smtp_config_validate (line 396) | def _smtp_config_validate(self) -> bool: method _imap_config_validate (line 409) | def _imap_config_validate(self) -> bool: FILE: acme_srv/error.py class Error (line 8) | class Error(object): method __init__ (line 11) | def __init__(self, debug=None, logger=None): method _acme_errormessage (line 15) | def _acme_errormessage(self, message): method enrich_error (line 36) | def enrich_error(self, message, detail=None): FILE: acme_srv/helpers/certificates.py function cert_aki_get (line 21) | def cert_aki_get(logger: logging.Logger, certificate: str) -> str: function cert_aki_pyopenssl_get (line 35) | def cert_aki_pyopenssl_get(logger, certificate: str) -> str: function cert_load (line 59) | def cert_load( function cert_dates_get (line 76) | def cert_dates_get(logger: logging.Logger, certificate: str) -> Tuple[in... function cert_cn_get (line 111) | def cert_cn_get(logger: logging.Logger, certificate: str) -> str: function cert_der2pem (line 127) | def cert_der2pem(der_cert: bytes) -> str: function cert_issuer_get (line 134) | def cert_issuer_get(logger: logging.Logger, certificate: str) -> str: function cert_pem2der (line 144) | def cert_pem2der(pem_cert: str) -> bytes: function cert_pubkey_get (line 151) | def cert_pubkey_get(logger: logging.Logger, certificate=str) -> str: function cert_san_pyopenssl_get (line 164) | def cert_san_pyopenssl_get(logger, certificate, recode=True): function cert_san_get (line 191) | def cert_san_get( function cert_ski_pyopenssl_get (line 216) | def cert_ski_pyopenssl_get(logger, certificate: str) -> str: function cert_ski_get (line 240) | def cert_ski_get(logger: logging.Logger, certificate: str) -> str: function cryptography_version_get (line 255) | def cryptography_version_get(logger: logging.Logger) -> int: function cert_extensions_get (line 276) | def cert_extensions_get(logger: logging.Logger, certificate: str, recode... function cert_extensions_py_openssl_get (line 296) | def cert_extensions_py_openssl_get(logger, certificate, recode=True): function cert_serial_get (line 317) | def cert_serial_get(logger: logging.Logger, certificate: str, hexformat:... function pembundle_to_list (line 331) | def pembundle_to_list(logger: logging.Logger, pem_bundle: str) -> List[s... function certid_asn1_get (line 349) | def certid_asn1_get(logger: logging.Logger, cert_pem: str, issuer_pem: s... function certid_hex_get (line 367) | def certid_hex_get(logger: logging.Logger, renewal_info: str) -> Tuple[s... function certid_check (line 382) | def certid_check( FILE: acme_srv/helpers/config.py function config_check (line 12) | def config_check(logger: logging.Logger, config_dic: Dict): function config_profile_load (line 26) | def config_profile_load(logger: logging.Logger, config_dic: Dict[str, st... function config_eab_profile_load (line 42) | def config_eab_profile_load(logger: logging.Logger, config_dic: Dict[str... function config_headerinfo_load (line 93) | def config_headerinfo_load(logger: logging.Logger, config_dic: Dict[str,... function config_enroll_config_log_load (line 114) | def config_enroll_config_log_load(logger: logging.Logger, config_dic: Di... function config_allowed_domainlist_load (line 149) | def config_allowed_domainlist_load(logger: logging.Logger, config_dic: D... function config_async_mode_load (line 188) | def config_async_mode_load( function config_proxy_load (line 208) | def config_proxy_load(logger, config_dic: Dict[str, str], host_name: str): function load_config (line 235) | def load_config( function header_info_jsonify (line 253) | def header_info_jsonify(logger: logging.Logger, header_info: str) -> Dic... function header_info_lookup (line 270) | def header_info_lookup(logger, csr: str, header_info_field, key: str) ->... function profile_lookup (line 295) | def profile_lookup(logger: logging.Logger, csr: str) -> str: function client_parameter_validate (line 320) | def client_parameter_validate( FILE: acme_srv/helpers/crypto.py function decode_deserialize (line 15) | def decode_deserialize(logger: logging.Logger, string: str) -> Dict: function decode_message (line 30) | def decode_message( function generate_random_string (line 59) | def generate_random_string(logger: logging.Logger, length: int) -> str: function jwk_thumbprint_get (line 66) | def jwk_thumbprint_get(logger: logging.Logger, pub_key: Dict[str, str]) ... function sha256_hash (line 83) | def sha256_hash(logger: logging.Logger, string: str) -> str: function sha256_hash_hex (line 94) | def sha256_hash_hex(logger: logging.Logger, string: str) -> str: function signature_check (line 102) | def signature_check( function string_sanitize (line 146) | def string_sanitize(logger: logging.Logger, unsafe_str: str) -> str: FILE: acme_srv/helpers/csr.py function csr_load (line 17) | def csr_load(logger: logging.Logger, csr: str) -> x509.CertificateSignin... function csr_cn_get (line 29) | def csr_cn_get(logger: logging.Logger, csr_pem: str) -> str: function csr_dn_get (line 45) | def csr_dn_get(logger: logging.Logger, csr: str) -> str: function csr_pubkey_get (line 56) | def csr_pubkey_get(logger: logging.Logger, csr, encoding="pem"): function csr_san_get (line 85) | def csr_san_get(logger: logging.Logger, csr: str) -> List[str]: function csr_san_byte_get (line 112) | def csr_san_byte_get(logger: logging.Logger, csr: str) -> bytes: function csr_extensions_get (line 137) | def csr_extensions_get(logger: logging.Logger, csr: str) -> List[str]: function csr_subject_get (line 153) | def csr_subject_get(logger: logging.Logger, csr: str) -> Dict[str, str]: function csr_cn_lookup (line 176) | def csr_cn_lookup(logger: logging.Logger, csr: str) -> str: FILE: acme_srv/helpers/datetime_utils.py function uts_now (line 9) | def uts_now(): function uts_to_date_utc (line 14) | def uts_to_date_utc(uts: int, tformat: str = "%Y-%m-%dT%H:%M:%SZ") -> str: function date_to_uts_utc (line 19) | def date_to_uts_utc(date_human: str, _tformat: str = "%Y-%m-%dT%H:%M:%S"... function date_to_datestr (line 29) | def date_to_datestr( function datestr_to_date (line 40) | def datestr_to_date(datestr: str, tformat: str = "%Y-%m-%dT%H:%M:%S") ->... FILE: acme_srv/helpers/domain_utils.py function encode_domain (line 9) | def encode_domain(logger, domain: str) -> bytes: function wildcard_domain_check (line 26) | def wildcard_domain_check( function pattern_check (line 46) | def pattern_check(logger, domain, pattern): function is_domain_whitelisted (line 70) | def is_domain_whitelisted( function allowed_domainlist_check (line 94) | def allowed_domainlist_check( function sancheck_lists_create (line 131) | def sancheck_lists_create(logger, csr: str) -> Tuple[List[str], List[str]]: FILE: acme_srv/helpers/eab.py function _handle_eab_profiling (line 12) | def _handle_eab_profiling( function _handle_acme_profiling (line 26) | def _handle_acme_profiling( function _handle_header_info_profiling (line 42) | def _handle_header_info_profiling( function eab_profile_header_info_check (line 67) | def eab_profile_header_info_check( function eab_profile_subject_string_check (line 98) | def eab_profile_subject_string_check( function eab_profile_subject_check (line 144) | def eab_profile_subject_check( function eab_profile_revocation_check (line 174) | def eab_profile_revocation_check( function eab_profile_check (line 202) | def eab_profile_check( function eab_profile_list_check (line 244) | def eab_profile_list_check(logger, cahandler, eab_handler, csr, key, val... function eab_profile_string_check (line 287) | def eab_profile_string_check(logger, cahandler, key, value): FILE: acme_srv/helpers/encoding.py function b64decode_pad (line 8) | def b64decode_pad(logger: logging.Logger, string: str) -> bytes: function b64_decode (line 18) | def b64_decode(logger: logging.Logger, string: str) -> str: function b64_encode (line 24) | def b64_encode(logger: logging.Logger, string: str) -> str: function b64_url_encode (line 30) | def b64_url_encode(logger: logging.Logger, string: str) -> str: function b64_url_recode (line 38) | def b64_url_recode(logger: logging.Logger, string: str) -> str: function b64_url_decode (line 48) | def b64_url_decode(logger: logging.Logger, string: str) -> str: function build_pem_file (line 59) | def build_pem_file(logger: logging.Logger, existing, certificate, wrap, ... function convert_byte_to_string (line 78) | def convert_byte_to_string(value: bytes) -> str: function convert_string_to_byte (line 89) | def convert_string_to_byte(value: str) -> bytes: FILE: acme_srv/helpers/logging_utils.py function _logger_nonce_modify (line 11) | def _logger_nonce_modify(data_dic: Dict[str, str]) -> Dict[str, str]: function _logger_certificate_modify (line 18) | def _logger_certificate_modify( function _logger_token_modify (line 27) | def _logger_token_modify(data_dic: Dict[str, str]) -> Dict[str, str]: function _logger_challenges_modify (line 34) | def _logger_challenges_modify(data_dic: Dict[str, str]) -> Dict[str, str]: function logger_info (line 45) | def logger_info( function logger_setup (line 66) | def logger_setup(debug: bool) -> logging.Logger: function print_debug (line 85) | def print_debug(debug: bool, text: str): function handle_exception (line 91) | def handle_exception(exc_type, exc_value, exc_traceback): # pragma: no ... FILE: acme_srv/helpers/network.py function _handle_dns_exception (line 22) | def _handle_dns_exception( function _process_dns_answers (line 44) | def _process_dns_answers( function _fqdn_resolve (line 65) | def _fqdn_resolve( function fqdn_resolve (line 113) | def fqdn_resolve( function ptr_resolve (line 145) | def ptr_resolve( function dns_server_list_load (line 169) | def dns_server_list_load() -> List[str]: function patched_create_connection (line 190) | def patched_create_connection(address: List[str], *args, **kwargs): # p... function proxy_check (line 201) | def proxy_check( function url_get_with_own_dns (line 232) | def url_get_with_own_dns( function allowed_gai_family (line 270) | def allowed_gai_family(): function url_get_with_default_dns (line 276) | def url_get_with_default_dns( function url_get (line 349) | def url_get( function txt_get (line 378) | def txt_get(logger: logging.Logger, fqdn: str, dns_srv: List[str] = None... function proxystring_convert (line 398) | def proxystring_convert( function servercert_get (line 460) | def servercert_get( function v6_adjust (line 532) | def v6_adjust(logger: logging.Logger, url: str) -> Tuple[Dict[str, str],... function header_info_get (line 553) | def header_info_get( function get_url (line 574) | def get_url(environ: Dict[str, str], include_path: bool = False) -> str: function parse_url (line 602) | def parse_url(logger: logging.Logger, url: str) -> Dict[str, str]: function encode_url (line 614) | def encode_url(logger: logging.Logger, input_string: str) -> str: function request_operation (line 621) | def request_operation( FILE: acme_srv/helpers/plugin_loader.py function ca_handler_load (line 9) | def ca_handler_load( function eab_handler_load (line 43) | def eab_handler_load( function hooks_load (line 80) | def hooks_load(logger: logging.Logger, config_dic: Dict) -> importlib.im... FILE: acme_srv/helpers/utils.py function error_dic_get (line 9) | def error_dic_get(logger: logging.Logger) -> Dict[str, str]: function enrollment_config_log (line 34) | def enrollment_config_log( function radomize_parameter_list (line 69) | def radomize_parameter_list( function handler_config_check (line 98) | def handler_config_check(logger, handler, parameterlist) -> str: FILE: acme_srv/helpers/validation.py function dkeys_lower (line 9) | def dkeys_lower(tree: Dict[str, str]) -> Dict[str, str]: function fqdn_in_san_check (line 20) | def fqdn_in_san_check(logger: logging.Logger, san_list: List[str], fqdn:... function validate_csr (line 39) | def validate_csr(logger: logging.Logger, order_dic: Dict[str, str], _csr... function validate_email (line 45) | def validate_email(logger: logging.Logger, contact_list: List[str]) -> b... function validate_identifier (line 69) | def validate_identifier( function validate_ip (line 93) | def validate_ip(logger: logging.Logger, ip: str) -> bool: function validate_fqdn (line 105) | def validate_fqdn(logger: logging.Logger, fqdn: str) -> bool: function ip_validate (line 128) | def ip_validate(logger: logging.Logger, ip_addr: str) -> Tuple[str, bool]: function ipv6_chk (line 142) | def ipv6_chk(logger: logging.Logger, address: str) -> bool: function cn_validate (line 160) | def cn_validate(logger: logging.Logger, cn: str) -> bool: FILE: acme_srv/housekeeping.py class Housekeeping (line 23) | class Housekeeping(object): method __init__ (line 26) | def __init__(self, debug: bool = False, logger: object = None): method __enter__ (line 33) | def __enter__(self): method __exit__ (line 38) | def __exit__(self, *args): method _accountlist_get (line 41) | def _accountlist_get(self) -> Dict[str, str]: method _certificatelist_get (line 54) | def _certificatelist_get(self) -> Dict[str, str]: method _cliconfig_check (line 67) | def _cliconfig_check(self, config_dic: Dict[str, str]) -> bool: method _cliaccounts_list (line 84) | def _cliaccounts_list(self, silent: bool = True) -> Dict[str, str]: method _cliaccounts_format (line 99) | def _cliaccounts_format(self, result_list: List[str]): method _report_get (line 115) | def _report_get( method _clireport_get (line 154) | def _clireport_get( method _config_load (line 177) | def _config_load(self): method _uts_fields_set (line 184) | def _uts_fields_set( method _cert_serial_add (line 214) | def _cert_serial_add(self, cert_raw: str) -> str: method _convert_data (line 226) | def _convert_data(self, cert_list: List[str]) -> List[str]: method _csv_dump (line 270) | def _csv_dump(self, filename: str, content: List[str]): method _data_dic_create (line 279) | def _data_dic_create(self, config_dic: Dict[str, str]) -> Dict[str, str]: method _data_dic_build (line 293) | def _data_dic_build(self, config_dic: Dict[str, str]) -> Dict[str, str]: method _json_dump (line 318) | def _json_dump(self, filename: str, data_: Dict[str, str]): method _fieldlist_normalize (line 325) | def _fieldlist_normalize( method _lists_normalize (line 345) | def _lists_normalize( method _account_list_convert (line 368) | def _account_list_convert(self, tmp_json: List[str]) -> List[str]: method _dicstructure_create (line 413) | def _dicstructure_create( method _account_dic_create (line 463) | def _account_dic_create( method _to_acc_json (line 514) | def _to_acc_json(self, account_list: List[str]) -> List[str]: method _to_list (line 530) | def _to_list(self, field_list: List[str], cert_list: List[str]) -> Lis... method accountreport_get (line 562) | def accountreport_get( method certreport_get (line 593) | def certreport_get( method certificate_dates_update (line 631) | def certificate_dates_update(self): method certificates_cleanup (line 638) | def certificates_cleanup( method cli_usermgr (line 681) | def cli_usermgr(self, config_dic: Dict[str, str]) -> int: method authorizations_invalidate (line 712) | def authorizations_invalidate( method dbversion_check (line 753) | def dbversion_check(self, version: str = None): method orders_invalidate (line 779) | def orders_invalidate( method parse (line 820) | def parse(self, content: str) -> Dict[str, str]: FILE: acme_srv/message.py class MessageConfiguration (line 22) | class MessageConfiguration: class AccountRepository (line 34) | class AccountRepository: method __init__ (line 37) | def __init__(self, dbstore): method account_lookup (line 40) | def account_lookup(self, key, value): method account_update (line 44) | def account_update(self, data_dic, active): method cli_permissions_get (line 48) | def cli_permissions_get(self, account_name): class Message (line 53) | class Message(object): method __init__ (line 56) | def __init__( method __enter__ (line 67) | def __enter__(self): method __exit__ (line 71) | def __exit__(self, *args): method _load_configuration (line 74) | def _load_configuration(self) -> MessageConfiguration: method _check_and_handle_invalid_eab_credentials (line 115) | def _check_and_handle_invalid_eab_credentials(self, account_name: str): method _safe_account_lookup (line 150) | def _safe_account_lookup(self, account_name: str): method _eab_mac_key_exists (line 157) | def _eab_mac_key_exists(self, eab_kid: str) -> bool: method _handle_missing_eab_credentials (line 168) | def _handle_missing_eab_credentials(self, account_name: str, eab_kid: ... method _extract_account_name_for_revocation (line 188) | def _extract_account_name_for_revocation( method _extract_account_name_from_content (line 211) | def _extract_account_name_from_content( method extract_account_name_from_content (line 244) | def extract_account_name_from_content( method _check_nonce_for_replay_protection (line 255) | def _check_nonce_for_replay_protection( method _validate_message_and_check_signature (line 278) | def _validate_message_and_check_signature( method check (line 327) | def check( method cli_check (line 364) | def cli_check( method prepare_response (line 405) | def prepare_response( FILE: acme_srv/monkey_patches.py function django_sqlite_atomic (line 8) | def django_sqlite_atomic(): # NOSONAR FILE: acme_srv/nonce.py class NonceRepository (line 10) | class NonceRepository: method __init__ (line 13) | def __init__(self, dbstore) -> None: method check_nonce (line 16) | def check_nonce(self, nonce) -> bool: method delete_nonce (line 19) | def delete_nonce(self, nonce) -> None: method add_nonce (line 22) | def add_nonce(self, nonce) -> int: class Nonce (line 26) | class Nonce(object): method __init__ (line 29) | def __init__(self, debug: bool = False, logger: object = None, repo: o... method __enter__ (line 34) | def __enter__(self): method __exit__ (line 38) | def __exit__(self, *args): method _validate_and_consume_nonce (line 41) | def _validate_and_consume_nonce(self, nonce: str) -> Tuple[int, str, s... method _generate_nonce_value (line 65) | def _generate_nonce_value(self) -> str: method check (line 70) | def check(self, protected_decoded: Dict[str, str]) -> Tuple[int, str, ... method generate_and_add (line 84) | def generate_and_add(self) -> str: FILE: acme_srv/order.py class OrderDatabaseError (line 27) | class OrderDatabaseError(Exception): class OrderValidationError (line 34) | class OrderValidationError(Exception): class OrderRepository (line 41) | class OrderRepository: method __init__ (line 44) | def __init__(self, dbstore, logger): method add_order (line 48) | def add_order(self, data_dic): method add_authorization (line 56) | def add_authorization(self, auth): method update_authorization (line 64) | def update_authorization(self, auth): method order_lookup (line 74) | def order_lookup(self, key, value): method order_update (line 82) | def order_update(self, data_dic): method authorization_lookup (line 90) | def authorization_lookup(self, key, value, fields): method account_lookup (line 100) | def account_lookup(self, key, value): method certificate_lookup (line 108) | def certificate_lookup(self, key, value): method hkparameter_get (line 118) | def hkparameter_get(self, param): method orders_invalid_search (line 126) | def orders_invalid_search(self, order_field, timestamp, vlist, operant): class OrderConfiguration (line 142) | class OrderConfiguration: class Order (line 164) | class Order(object): method __init__ (line 167) | def __init__( method __enter__ (line 185) | def __enter__(self) -> "Order": method __exit__ (line 190) | def __exit__(self, *args) -> None: method _add_authorizations_to_db (line 195) | def _add_authorizations_to_db( method is_profile_valid (line 225) | def is_profile_valid(self, profile: str) -> str: method _add_order_and_authorizations (line 242) | def _add_order_and_authorizations( method add_profile_to_order (line 264) | def add_profile_to_order( method _apply_eab_profile (line 281) | def _apply_eab_profile(self, account_name: str) -> None: method create_order (line 335) | def create_order( method _load_header_info_config (line 372) | def _load_header_info_config(self, config_dic: Dict[str, str]): method _load_order_config (line 387) | def _load_order_config(self, config_dic: Dict[str, str]): method _load_profile_config (line 441) | def _load_profile_config(self, config_dic: Dict[str, str]): method _load_profiles_from_config (line 449) | def _load_profiles_from_config(self, config_dic: Dict[str, str]): method _load_profiles_from_db_if_sync (line 456) | def _load_profiles_from_db_if_sync(self, config_dic: Dict[str, str]): method _set_profiles_from_db (line 476) | def _set_profiles_from_db(self, profiles): method _maybe_disable_profile_check (line 486) | def _maybe_disable_profile_check(self, config_dic: Dict[str, str]): method _load_configuration (line 493) | def _load_configuration(self): method _name_get (line 531) | def _name_get(self, url: str) -> str: method are_identifiers_allowed (line 542) | def are_identifiers_allowed(self, identifiers_list: List[str]) -> Tupl... method _get_allowed_identifier_types (line 557) | def _get_allowed_identifier_types(self) -> List[str]: method _check_single_identifier (line 565) | def _check_single_identifier( method _rewrite_email_identifiers (line 627) | def _rewrite_email_identifiers( method _check_identifier_limit (line 657) | def _check_identifier_limit(self, identifiers_list: List[str]) -> bool: method _check_identifiers_validity (line 670) | def _check_identifiers_validity( method _get_order_info (line 706) | def _get_order_info(self, order_name: str) -> Dict[str, str]: method _header_info_lookup (line 716) | def _header_info_lookup(self, header: Optional[Dict[str, Any]]) -> str: method _finalize_csr (line 736) | def _finalize_csr( method _finalize_order (line 767) | def _finalize_order( method _process_order_request (line 816) | def _process_order_request( method _process_csr (line 863) | def _process_csr( method _order_dic_create (line 909) | def _order_dic_create(self, tmp_dic: Dict[str, str]) -> Dict[str, str]: method _get_authorization_list (line 934) | def _get_authorization_list(self, order_name: str) -> List[str]: method _update_validity_list (line 949) | def _update_validity_list( method get_order_details (line 973) | def get_order_details(self, order_name: str) -> Dict[str, str]: method invalidate_expired_orders (line 990) | def invalidate_expired_orders( method create_from_content (line 1048) | def create_from_content(self, content: str) -> Dict[str, str]: method _parse_order_message (line 1108) | def _parse_order_message( method parse_order_content (line 1145) | def parse_order_content(self, content: str, header: str = None) -> Dic... method invalidate (line 1206) | def invalidate(self, timestamp: int = None) -> Tuple[List[str], List[s... method new (line 1213) | def new(self, content: str) -> Dict[str, str]: method parse (line 1218) | def parse(self, content: str, header: str = None) -> Dict[str, str]: FILE: acme_srv/renewalinfo.py class RenewalinfoConfig (line 24) | class RenewalinfoConfig: class RenewalinfoRepository (line 33) | class RenewalinfoRepository: method __init__ (line 36) | def __init__(self, dbstore, logger): method get_certificate_by_certid (line 40) | def get_certificate_by_certid(self, certid_hex): method get_certificates_by_serial (line 66) | def get_certificates_by_serial(self, serial): method add_certificate (line 94) | def add_certificate(self, data_dic): method get_housekeeping_param (line 99) | def get_housekeeping_param(self, name): method add_housekeeping_param (line 104) | def add_housekeeping_param(self, param): class Renewalinfo (line 110) | class Renewalinfo(object): method __init__ (line 113) | def __init__( method _load_configuration (line 127) | def _load_configuration(self): method _parse_cahandler_section (line 163) | def _parse_cahandler_section(self, config_dic: object) -> None: method _load_ca_handler (line 184) | def _load_ca_handler(self, config_dic: object) -> None: method __enter__ (line 192) | def __enter__(self): method __exit__ (line 196) | def __exit__(self, *args): method _lookup_certificate_by_renewalinfo (line 201) | def _lookup_certificate_by_renewalinfo( method _update_certificate_table_with_serial_and_aki (line 220) | def _update_certificate_table_with_serial_and_aki(self): method _lookup_certificate_by_certid (line 259) | def _lookup_certificate_by_certid(self, certid_hex: str) -> Dict[str, ... method _lookup_certificate_by_serial_and_aki (line 263) | def _lookup_certificate_by_serial_and_aki( method _generate_renewalinfo_window (line 281) | def _generate_renewalinfo_window(self, cert_dic: Dict[str, str]) -> Di... method _get_renewalinfo_data (line 310) | def _get_renewalinfo_data(self, renewalinfo_string: str) -> Dict[str, ... method _parse_renewalinfo_string_from_url (line 319) | def _parse_renewalinfo_string_from_url(self, url: str) -> str: method _extract_serial_and_aki_from_string (line 332) | def _extract_serial_and_aki_from_string( method get (line 354) | def get(self, url: str) -> Dict[str, str]: method update (line 393) | def update(self, content: str) -> Dict[str, str]: FILE: acme_srv/signature.py class Signature (line 9) | class Signature: method __init__ (line 12) | def __init__( method _get_revocation_path (line 23) | def _get_revocation_path(self, cfg) -> str: method _jwk_loader (line 28) | def _jwk_loader(self, kid, cli: bool = False) -> Optional[Dict[str, st... method cli_check (line 40) | def cli_check(self, aname: str, content: str) -> Tuple[bool, str, None]: method check (line 54) | def check( method eab_check (line 90) | def eab_check(self, content: str, mac_key: str) -> Tuple[bool, str]: FILE: acme_srv/threadwithreturnvalue.py class ThreadWithReturnValue (line 7) | class ThreadWithReturnValue(Thread): method __init__ (line 10) | def __init__( method run (line 17) | def run(self): method join (line 21) | def join(self, timeout: int = None): FILE: acme_srv/trigger.py class Trigger (line 20) | class Trigger(object): method __init__ (line 23) | def __init__( method __enter__ (line 33) | def __enter__(self): method __exit__ (line 38) | def __exit__(self, *args): method _certname_lookup (line 41) | def _certname_lookup(self, cert_pem: str) -> List[str]: method _config_load (line 69) | def _config_load(self): method _cert_store (line 92) | def _cert_store(self, cert_bundle: str, cert_raw: str) -> Tuple[int, s... method _payload_process (line 140) | def _payload_process(self, payload: str) -> Tuple[int, str, str]: method parse (line 161) | def parse(self, content: str) -> Dict[str, str]: FILE: examples/acme2certifier_wsgi.py function err_wrong_request_method (line 63) | def err_wrong_request_method(start_response): function handle_exception (line 68) | def handle_exception(exc_type, exc_value, exc_traceback): function create_header (line 89) | def create_header(response_dic, add_json_header=True): function get_request_body (line 111) | def get_request_body(environ): function acct (line 124) | def acct(environ, start_response): function acmechallenge_serve (line 138) | def acmechallenge_serve(environ, start_response): function authz (line 152) | def authz(environ, start_response): function newaccount (line 182) | def newaccount(environ, start_response): function directory (line 207) | def directory(environ, start_response): function cert (line 232) | def cert(environ, start_response): function chall (line 272) | def chall(environ, start_response): function newnonce (line 320) | def newnonce(environ, start_response): function neworders (line 344) | def neworders(environ, start_response): function order (line 368) | def order(environ, start_response): function renewalinfo (line 392) | def renewalinfo(environ, start_response): function revokecert (line 436) | def revokecert(environ, start_response): function trigger (line 462) | def trigger(environ, start_response): function housekeeping (line 489) | def housekeeping(environ, start_response): function not_found (line 514) | def not_found(_environ, start_response): function redirect (line 524) | def redirect(environ, start_response): function application (line 555) | def application(environ, start_response): function get_handler_cls (line 575) | def get_handler_cls(): FILE: examples/ca_handler/acme_ca_handler.py class CAhandler (line 49) | class CAhandler(object): method __init__ (line 52) | def __init__(self, _debug: bool = False, logger: object = None): method __enter__ (line 81) | def __enter__(self): method __exit__ (line 87) | def __exit__(self, *args): method _config_account_load (line 90) | def _config_account_load(self, config_dic: Dict[str, str]): method _config_parameters_load (line 122) | def _config_parameters_load(self, config_dic: Dict[str, str]): method _config_dns_update_script_load (line 137) | def _config_dns_update_script_load(self, config_dic: Dict[str, str]): method _config_profiles_load (line 199) | def _config_profiles_load(self, config_dic: Dict[str, str]) -> Dict[st... method _config_load (line 220) | def _config_load(self): method _challenge_filter (line 258) | def _challenge_filter( method _challenge_info (line 276) | def _challenge_info( method _dns_challenge_deprovision (line 306) | def _dns_challenge_deprovision(self): method _dns_challenge_provision (line 346) | def _dns_challenge_provision( method _environment_variables_handle (line 426) | def _environment_variables_handle(self, unset=False): method _get_dns_challenge (line 481) | def _get_dns_challenge(self, authzr, user_key): method _get_http_or_email_challenge (line 495) | def _get_http_or_email_challenge(self, authzr, user_key): method _http_challenge_store (line 516) | def _http_challenge_store(self, challenge_name: str, challenge_content... method _key_generate (line 526) | def _key_generate(self) -> josepy.jwk.JWKRSA: method _user_key_load (line 537) | def _user_key_load(self) -> josepy.jwk.JWKRSA: method _order_authorization (line 565) | def _order_authorization( method _handle_authzr_status (line 583) | def _handle_authzr_status(self, acmeclient, authzr, user_key): method _handle_pending_status (line 598) | def _handle_pending_status(self, acmeclient, authzr, user_key): method _order_new (line 631) | def _order_new( method _order_issue (line 658) | def _order_issue( method _account_lookup (line 703) | def _account_lookup( method _jwk_strip (line 722) | def _jwk_strip(self, user_key: josepy.jwk.JWKRSA) -> josepy.jwk.JWKRSA: method _account_create (line 755) | def _account_create( method _accountname_get (line 823) | def _accountname_get( method _account_register (line 844) | def _account_register( method _account_to_keyfile (line 891) | def _account_to_keyfile(self): method _zerossl_eab_get (line 906) | def _zerossl_eab_get(self): method _eab_profile_list_set (line 928) | def _eab_profile_list_set(self, csr: str, key: str, value: str) -> str: method eab_profile_list_check (line 954) | def eab_profile_list_check( method _enroll (line 993) | def _enroll( method _registration_lookup (line 1026) | def _registration_lookup( method _revoke_or_fallback (line 1067) | def _revoke_or_fallback(self, acmeclient=None, cert: str = None): method enroll (line 1089) | def enroll(self, csr: str) -> Tuple[str, str, str, str]: method handler_check (line 1149) | def handler_check(self): method _synchronize_profiles (line 1158) | def _synchronize_profiles(self, repository: object, acme_url: str, uts... method synchronize_profiles (line 1180) | def synchronize_profiles( method _get_renewalinfo_endpoint_url (line 1220) | def _get_renewalinfo_endpoint_url(self, acme_url: str) -> str: method lookup_renewalinfo (line 1264) | def lookup_renewalinfo( method poll (line 1300) | def poll( method revoke (line 1314) | def revoke( method trigger (line 1399) | def trigger(self, _payload: str) -> Tuple[int, str, str]: FILE: examples/ca_handler/asa_ca_handler.py class CAhandler (line 33) | class CAhandler(object): method __init__ (line 36) | def __init__(self, _debug: bool = None, logger: object = None): method __enter__ (line 56) | def __enter__(self): method __exit__ (line 62) | def __exit__(self, *args): method _api_get (line 65) | def _api_get(self, url: str) -> Tuple[int, Dict[str, str]]: method _api_post (line 94) | def _api_post(self, url: str, data: Dict[str, str]) -> Tuple[int, Dict... method _auth_set (line 128) | def _auth_set(self): method _config_host_load (line 139) | def _config_host_load(self, config_dic: Dict[str, str]): method _certificates_list (line 157) | def _certificates_list(self) -> Dict[str, str]: method _config_key_load (line 167) | def _config_key_load(self, config_dic: Dict[str, str]): method _config_password_load (line 185) | def _config_password_load(self, config_dic: Dict[str, str]): method _config_user_load (line 205) | def _config_user_load(self, config_dic: Dict[str, str]): method _config_load (line 223) | def _config_load(self): method _csr_cn_get (line 294) | def _csr_cn_get(self, csr: str) -> str: method _issuer_verify (line 316) | def _issuer_verify(self) -> str: method _issuers_list (line 335) | def _issuers_list(self) -> Dict[str, str]: method _profiles_list (line 345) | def _profiles_list(self) -> Dict[str, str]: method _profile_verify (line 355) | def _profile_verify(self) -> str: method _validity_dates_get (line 373) | def _validity_dates_get(self) -> Tuple[str, str]: method _pem_cert_chain_generate (line 387) | def _pem_cert_chain_generate(self, certs_list: list) -> str: method _issuer_chain_get (line 400) | def _issuer_chain_get(self) -> str: method _cert_get (line 415) | def _cert_get(self, data_dic: Dict[str, str]) -> str: method _cert_status_get (line 431) | def _cert_status_get(self, certificate: str) -> str: method _enrollment_dic_create (line 442) | def _enrollment_dic_create(self, csr: str) -> Dict[str, str]: method enroll (line 476) | def enroll(self, csr: str) -> Tuple[str, str, str, str]: method handler_check (line 521) | def handler_check(self): method poll (line 541) | def poll( method revoke (line 555) | def revoke( method trigger (line 591) | def trigger(self, _payload: str) -> Tuple[str, str, str]: FILE: examples/ca_handler/certifier_ca_handler.py class CAhandler (line 36) | class CAhandler(object): method __init__ (line 39) | def __init__(self, debug: bool = False, logger: object = None): method __enter__ (line 59) | def __enter__(self): method __exit__ (line 66) | def __exit__(self, *args): method _auth_set (line 69) | def _auth_set(self): method _api_poll (line 80) | def _api_poll(self, request_dic: Dict[str, str]) -> Tuple[str, str, str]: method _api_post (line 109) | def _api_post(self, url: str, data: Dict[str, str]) -> Dict[str, str]: method _ca_get (line 133) | def _ca_get( method _ca_get_properties (line 166) | def _ca_get_properties(self, filter_key: str, filter_value: str) -> Di... method _cert_get (line 188) | def _cert_get(self, csr: str) -> Dict[str, str]: method _cert_get_properties (line 215) | def _cert_get_properties(self, serial: str, ca_link: str) -> Dict[str,... method _certificate_revoke (line 241) | def _certificate_revoke( method _config_user_load (line 291) | def _config_user_load(self, config_dic: Dict[str, str]): method _config_password_load (line 318) | def _config_password_load(self, config_dic: Dict[str, str]): method _config_parameter_load (line 347) | def _config_parameter_load(self, config_dic: Dict[str, str]): method _config_proxy_load (line 402) | def _config_proxy_load(self, config_dic: Dict[str, str]): method _config_load (line 422) | def _config_load(self): method _csr_check (line 458) | def _csr_check(self, csr: str) -> str: method _poll_cert_get (line 468) | def _poll_cert_get( method _loop_poll (line 510) | def _loop_poll(self, request_url: str) -> Tuple[str, str, str, str]: method _pem_list_cert_get (line 552) | def _pem_list_cert_get(self, cert_dic: Dict[str, str]) -> Dict[str, str]: method _pem_list_build (line 587) | def _pem_list_build(self, cert_dic: Dict[str, str]) -> List[str]: method _pem_cert_chain_generate (line 608) | def _pem_cert_chain_generate(self, cert_dic: str) -> str: method _request_poll (line 627) | def _request_poll(self, request_url: str) -> Tuple[str, str, str, str,... method _trigger_bundle_build (line 664) | def _trigger_bundle_build( method enroll (line 688) | def enroll(self, csr: str) -> Tuple[str, str, str, str]: method handler_check (line 729) | def handler_check(self): method poll (line 740) | def poll( method revoke (line 766) | def revoke( method trigger (line 802) | def trigger(self, payload: str) -> Tuple[str, str, str]: FILE: examples/ca_handler/certsrv.py class RequestDeniedException (line 26) | class RequestDeniedException(Exception): method __init__ (line 29) | def __init__(self, message, response): class CouldNotRetrieveCertificateException (line 34) | class CouldNotRetrieveCertificateException(Exception): method __init__ (line 37) | def __init__(self, message, response): class CertificatePendingException (line 42) | class CertificatePendingException(Exception): method __init__ (line 45) | def __init__(self, req_id): class Certsrv (line 55) | class Certsrv(object): method __init__ (line 80) | def __init__( method _set_credentials (line 121) | def _set_credentials(self, username, password): method _post (line 146) | def _post(self, url, **kwargs): method _get (line 152) | def _get(self, url, **kwargs): method _handle_response (line 159) | def _handle_response(response): method get_cert (line 187) | def get_cert(self, csr, template, encoding="b64", attributes=None): method get_existing_cert (line 253) | def get_existing_cert(self, req_id, encoding="b64"): method get_ca_cert (line 293) | def get_ca_cert(self, encoding="b64"): method get_chain (line 330) | def get_chain(self, encoding="bin"): method check_credentials (line 369) | def check_credentials(self): method update_credentials (line 391) | def update_credentials(self, username, password): function _get_ca_bundle (line 407) | def _get_ca_bundle(): function get_cert (line 425) | def get_cert(server, csr, template, username, password, encoding="b64", ... function get_existing_cert (line 463) | def get_existing_cert(server, req_id, username, password, encoding="b64"... function get_ca_cert (line 498) | def get_ca_cert(server, username, password, encoding="b64", **kwargs): function get_chain (line 527) | def get_chain(server, username, password, encoding="bin", **kwargs): function check_credentials (line 556) | def check_credentials(server, username, password, **kwargs): FILE: examples/ca_handler/cmp_ca_handler.py class CAhandler (line 19) | class CAhandler(object): method __init__ (line 22) | def __init__(self, _debug: bool = False, logger: object = None): method __enter__ (line 34) | def __enter__(self): method __exit__ (line 40) | def __exit__(self, *args): method _certs_bundle (line 43) | def _certs_bundle(self) -> Tuple[str, str]: method _config_refsecret_load (line 76) | def _config_refsecret_load(self, config_dic: Dict[str, str]): method _config_paramters_load (line 91) | def _config_paramters_load(self): method _config_cmprecipient_load (line 117) | def _config_cmprecipient_load(self, config_dic: Dict[str, str]): method _config_cmpparameter_load (line 131) | def _config_cmpparameter_load(self, ele: str, config_dic: Dict[str, st... method _config_load (line 167) | def _config_load(self): method _opensslcmd_build (line 187) | def _opensslcmd_build(self) -> List[str]: method _file_save (line 224) | def _file_save(self, filename: str, content: str): method _tmp_dir_delete (line 231) | def _tmp_dir_delete(self): method enroll (line 240) | def enroll(self, csr: str) -> Tuple[str, str, str, bool]: method poll (line 278) | def poll( method revoke (line 292) | def revoke( method trigger (line 306) | def trigger(self, _payload: str) -> Tuple[int, str, str]: FILE: examples/ca_handler/digicert_ca_handler.py class CAhandler (line 30) | class CAhandler(object): method __init__ (line 33) | def __init__(self, _debug: bool = None, logger: object = None): method __enter__ (line 51) | def __enter__(self): method __exit__ (line 57) | def __exit__(self, *args): method _api_get (line 60) | def _api_get(self, url: str) -> Tuple[int, Dict[str, str]]: method _api_post (line 77) | def _api_post(self, url: str, data: Dict[str, str]) -> Tuple[int, Dict... method _api_put (line 94) | def _api_put(self, url: str, data: Dict[str, str]) -> Tuple[int, Dict[... method _config_check (line 111) | def _config_check(self) -> str: method _config_load (line 122) | def _config_load(self): method _order_send (line 181) | def _order_send(self, csr: str, csr_cn) -> Tuple[str, str]: method _order_response_parse (line 225) | def _order_response_parse(self, content: Dict[str, str]) -> Tuple[str,... method _organiation_id_get (line 259) | def _organiation_id_get(self): method _csr_check (line 285) | def _csr_check(self, csr: str) -> str: method enroll (line 295) | def enroll(self, csr: str) -> Tuple[str, str, str, str]: method handler_check (line 333) | def handler_check(self): method poll (line 340) | def poll( method revoke (line 354) | def revoke( method trigger (line 387) | def trigger(self, _payload: str) -> Tuple[str, str, str]: FILE: examples/ca_handler/ejbca_ca_handler.py class CAhandler (line 32) | class CAhandler(object): method __init__ (line 35) | def __init__(self, _debug: bool = False, logger: object = None): method __enter__ (line 56) | def __enter__(self): method __exit__ (line 62) | def __exit__(self, *args): method _api_put (line 65) | def _api_put(self, url: str) -> Dict[str, str]: method _cert_status_check (line 82) | def _cert_status_check(self, issuer_dn: str, cert_serial: str) -> Dict... method _config_server_load (line 110) | def _config_server_load(self, config_dic: Dict[str, str]): method _config_authuser_load (line 134) | def _config_authuser_load(self, config_dic: Dict[str, str]): method _config_enrollmentcode_load (line 173) | def _config_enrollmentcode_load(self, config_dic: Dict[str, str]): method _config_session_load (line 201) | def _config_session_load(self, config_dic: Dict[str, str]): method _config_auth_load (line 248) | def _config_auth_load(self, config_dic: Dict[str, str]): method _config_cainfo_load (line 260) | def _config_cainfo_load(self, config_dic: Dict[str, str]): method _config_load (line 275) | def _config_load(self): method _api_post (line 318) | def _api_post(self, url: str, data: Dict[str, str]) -> Dict[str, str]: method _csr_cn_get (line 336) | def _csr_cn_get(self, csr: str) -> str: method _enroll (line 358) | def _enroll(self, csr: str) -> Tuple[str, str, str]: method _status_get (line 388) | def _status_get(self) -> Dict[str, str]: method _sign (line 414) | def _sign(self, csr: str) -> Dict[str, str]: method enroll (line 452) | def enroll(self, csr: str) -> Tuple[str, str, str, str]: method handler_check (line 488) | def handler_check(self): method poll (line 506) | def poll( method revoke (line 520) | def revoke( method trigger (line 565) | def trigger(self, _payload: str) -> Tuple[str, str, str]: FILE: examples/ca_handler/entrust_ca_handler.py class CAhandler (line 67) | class CAhandler(object): method __init__ (line 70) | def __init__(self, _debug: bool = None, logger: object = None): method __enter__ (line 93) | def __enter__(self): method __exit__ (line 99) | def __exit__(self, *args): method _api_get (line 102) | def _api_get(self, url: str) -> Tuple[int, Dict[str, str]]: method _api_post (line 120) | def _api_post(self, url: str, data: Dict[str, str]) -> Tuple[int, Dict... method _api_put (line 137) | def _api_put(self, url: str, data: Dict[str, str]) -> Tuple[int, Dict[... method _certificates_get_from_serial (line 155) | def _certificates_get_from_serial(self, cert_serial: str) -> List[str]: method _config_load (line 185) | def _config_load(self): method _config_passphrase_load (line 253) | def _config_passphrase_load(self, config_dic: Dict[str, str]): method _config_root_load (line 289) | def _config_root_load(self, config_dic: Dict[str, str]): method _config_session_load (line 310) | def _config_session_load(self, config_dic: Dict[str, str]): method _org_domain_cfg_check (line 349) | def _org_domain_cfg_check(self) -> str: method _organizations_get (line 369) | def _organizations_get(self) -> Dict[str, str]: method _domains_get (line 393) | def _domains_get(self, org_id: str) -> List[str]: method credential_check (line 416) | def credential_check(self): method _config_check (line 428) | def _config_check(self) -> str: method _enroll_check (line 442) | def _enroll_check(self, csr: str) -> str: method _trackingid_get (line 465) | def _trackingid_get(self, cert_raw: str) -> int: method _response_parse (line 499) | def _response_parse(self, content: Dict[str, str]) -> Tuple[str, str]: method _enroll (line 525) | def _enroll(self, csr: str) -> Tuple[str, str]: method revoke_by_trackingid (line 575) | def revoke_by_trackingid( method _total_get (line 590) | def _total_get(self, content: str) -> int: method certificates_get (line 617) | def certificates_get(self, limit=200) -> List[str]: method enroll (line 665) | def enroll(self, csr: str) -> Tuple[str, str, str, str]: method handler_check (line 682) | def handler_check(self): method poll (line 691) | def poll( method revoke (line 705) | def revoke( method trigger (line 743) | def trigger(self, _payload: str) -> Tuple[str, str, str]: FILE: examples/ca_handler/est_ca_handler.py class CAhandler (line 30) | class CAhandler(object): method __init__ (line 33) | def __init__(self, _debug: bool = False, logger: object = None): method __enter__ (line 45) | def __enter__(self): method __exit__ (line 51) | def __exit__(self, *args): method _cacerts_get (line 54) | def _cacerts_get(self) -> Tuple[str, str]: method _cert_bundle_create (line 95) | def _cert_bundle_create( method _config_host_load (line 113) | def _config_host_load(self, config_dic: Dict[str, str]): method _cert_passphrase_load (line 134) | def _cert_passphrase_load(self, config_dic: Dict[str, str]): method _config_clientauth_load (line 153) | def _config_clientauth_load(self, config_dic: Dict[str, str]): method _config_userauth_load (line 189) | def _config_userauth_load(self, config_dic: Dict[str, str]): method _config_password_load (line 207) | def _config_password_load(self, config_dic: Dict[str, str]): method _config_parameters_load (line 232) | def _config_parameters_load(self, config_dic: Dict[str, str]): method _config_proxy_load (line 258) | def _config_proxy_load(self, config_dic: Dict[str, str]): method _config_load (line 278) | def _config_load(self): method _pkcs7_to_pem (line 316) | def _pkcs7_to_pem(self, pkcs7_content: str, outform: str = "string") -... method _simpleenroll (line 345) | def _simpleenroll(self, csr: str) -> Tuple[str, str]: method enroll (line 381) | def enroll(self, csr: str) -> Tuple[str, str, str, bool]: method handler_check (line 410) | def handler_check(self): method poll (line 417) | def poll( method revoke (line 431) | def revoke( method trigger (line 444) | def trigger(self, _payload: str) -> Tuple[str, str, str]: FILE: examples/ca_handler/ms_wcce/errors.py function translate_error_code (line 7) | def translate_error_code(error_code: int) -> str: FILE: examples/ca_handler/ms_wcce/request.py function csr_pem_to_der (line 22) | def csr_pem_to_der(csr: str) -> bytes: function der_to_pem (line 28) | def der_to_pem(certificate: bytes) -> bytes: class DCERPCSessionError (line 34) | class DCERPCSessionError(rpcrt.DCERPCException): method __init__ (line 37) | def __init__(self, error_string=None, error_code=None, packet=None): method __str__ (line 40) | def __str__(self) -> str: class CERTTRANSBLOB (line 47) | class CERTTRANSBLOB(NDRSTRUCT): class CertServerRequest (line 57) | class CertServerRequest(NDRCALL): class CertServerRequestResponse (line 71) | class CertServerRequestResponse(NDRCALL): class Request (line 83) | class Request: method __init__ (line 87) | def __init__( method get_cert (line 114) | def get_cert(self, csr: bytes) -> bytes: FILE: examples/ca_handler/ms_wcce/rpc.py function get_dce_rpc_from_string_binding (line 10) | def get_dce_rpc_from_string_binding( function get_dynamic_endpoint (line 53) | def get_dynamic_endpoint(interface: bytes, target: str, timeout: int = 5): function get_dce_rpc (line 82) | def get_dce_rpc( FILE: examples/ca_handler/ms_wcce/target.py function is_ip (line 9) | def is_ip(hostname: str) -> bool: class DnsResolver (line 20) | class DnsResolver: method __init__ (line 23) | def __init__(self): method from_options (line 29) | def from_options(options, target) -> "DnsResolver": method create (line 47) | def create( method resolve (line 67) | def resolve(self, hostname: str) -> str: class Target (line 109) | class Target: method __init__ (line 112) | def __init__( method __repr__ (line 156) | def __repr__(self) -> str: FILE: examples/ca_handler/mscertsrv_ca_handler.py class CAhandler (line 32) | class CAhandler(object): method __init__ (line 35) | def __init__(self, _debug: bool = False, logger: object = None): method __enter__ (line 54) | def __enter__(self): method __exit__ (line 60) | def __exit__(self, *args): method _check_credentials (line 63) | def _check_credentials(self, ca_server: object) -> bool: method _cert_bundle_create (line 70) | def _cert_bundle_create( method _config_headerinfo_load (line 92) | def _config_headerinfo_load(self, config_dic: Dict[str, str]): method _config_user_load (line 113) | def _config_user_load(self, config_dic: Dict[str, str]): method _config_password_load (line 131) | def _config_password_load(self, config_dic: Dict[str, str]): method _config_hostname_load (line 151) | def _config_hostname_load(self, config_dic: Dict[str, str]): method _config_url_load (line 168) | def _config_url_load(self, config_dic: Dict[str, str]): method _config_parameters_load (line 183) | def _config_parameters_load(self, config_dic: Dict[str, str]): method _config_proxy_load (line 209) | def _config_proxy_load(self, config_dic: Dict[str, str]): method _config_load (line 226) | def _config_load(self): method _pkcs7_to_pem (line 251) | def _pkcs7_to_pem(self, pkcs7_content: str, outform: str = "string") -... method _template_name_get (line 312) | def _template_name_get(self, csr: str) -> str: method _csr_process (line 335) | def _csr_process(self, ca_server, csr: str) -> Tuple[str, str, str]: method _parameter_overwrite (line 368) | def _parameter_overwrite(self, _csr: str): method _enroll (line 374) | def _enroll(self, csr: str) -> Tuple[str, str, str]: method enroll (line 411) | def enroll(self, csr: str) -> Tuple[str, str, str, bool]: method handler_check (line 437) | def handler_check(self): method poll (line 446) | def poll( method revoke (line 460) | def revoke( method trigger (line 473) | def trigger(self, _payload: str) -> Tuple[int, str, str]: FILE: examples/ca_handler/mswcce_ca_handler.py class CAhandler (line 30) | class CAhandler(object): method __init__ (line 33) | def __init__(self, _debug: bool = False, logger: object = None): method __enter__ (line 53) | def __enter__(self): method __exit__ (line 59) | def __exit__(self, *args): method _config_headerinfo_load (line 62) | def _config_headerinfo_load(self, config_dic: Dict[str, str]): method _config_host_load (line 83) | def _config_host_load(self, config_dic: Dict[str, str]): method _config_credentials_load (line 101) | def _config_credentials_load(self, config_dic: Dict[str, str]): method _config_parameters_load (line 133) | def _config_parameters_load(self, config_dic: Dict[str, str]): method _config_proxy_load (line 174) | def _config_proxy_load(self, config_dic: Dict[str, str]): method _config_load (line 191) | def _config_load(self): method _file_load (line 214) | def _file_load(self, bundle: str) -> str: method request_create (line 224) | def request_create(self) -> Request: method _template_name_get (line 251) | def _template_name_get(self, csr: str) -> str: method _enroll (line 274) | def _enroll(self, csr: str) -> Tuple[str, str, str]: method enroll (line 320) | def enroll(self, csr: str) -> Tuple[str, str, str, str]: method handler_check (line 351) | def handler_check(self): method poll (line 362) | def poll( method revoke (line 376) | def revoke( method trigger (line 389) | def trigger(self, _payload: str) -> Tuple[str, str, str]: FILE: examples/ca_handler/nclm_ca_handler.py class CAhandler (line 34) | class CAhandler(object): method __init__ (line 37) | def __init__(self, _debug=None, logger=None): method __enter__ (line 59) | def __enter__(self): method __exit__ (line 70) | def __exit__(self, *args): method _api_post (line 73) | def _api_post(self, url: str, data: Dict[str, str]) -> Dict[str, str]: method _ca_id_get (line 96) | def _ca_id_get(self, ca_list: Dict[str, str]) -> int: method _ca_policylink_id_lookup (line 114) | def _ca_policylink_id_lookup(self) -> int: method _cert_enroll (line 139) | def _cert_enroll(self, csr: str, policylink_id: int) -> Tuple[str, str... method _csr_post (line 165) | def _csr_post(self, csr: str, policylink_id: int) -> Dict[str, str]: method _issuer_certid_get (line 190) | def _issuer_certid_get(self, cert_dic: Tuple[str, str]) -> Tuple[str, ... method _cert_bundle_build (line 226) | def _cert_bundle_build(self, cert_id: int) -> Tuple[str, str, str]: method _cert_id_get (line 273) | def _cert_id_get(self, job_id: int) -> int: method _certid_get_from_serial (line 317) | def _certid_get_from_serial(self, cert_raw: str) -> List[str]: method _cert_id_lookup (line 358) | def _cert_id_lookup(self, cert_raw: str) -> int: method _config_api_access_check (line 386) | def _config_api_access_check(self): method _config_names_check (line 407) | def _config_names_check(self): method _config_check (line 426) | def _config_check(self): method _config_api_user_load (line 435) | def _config_api_user_load(self, config_dic: Dict[str, str]): method _config_api_password_load (line 453) | def _config_api_password_load(self, config_dic: Dict[str, str]): method _config_names_load (line 473) | def _config_names_load(self, config_dic: Dict[str, str]): method _config_proxy_load (line 497) | def _config_proxy_load(self, config_dic: Dict[str, str]): method _config_timer_load (line 516) | def _config_timer_load(self, config_dic: Dict[str, str]): method _config_load (line 541) | def _config_load(self): method _container_id_lookup (line 570) | def _container_id_lookup(self): method _csr_check (line 609) | def _csr_check(self, csr: str) -> str: method _enroll (line 619) | def _enroll(self, csr: str, ca_id: int) -> Tuple[str, str, str, str]: method _login (line 648) | def _login(self): method _revocation_status_poll (line 707) | def _revocation_status_poll( method _template_list_get (line 743) | def _template_list_get(self, ca_id: int) -> Dict[str, str]: method _templates_enumerate (line 768) | def _templates_enumerate(self, template_list: Dict[str, str]): method _template_id_lookup (line 784) | def _template_id_lookup(self, ca_id: int): method enroll (line 808) | def enroll(self, csr: str) -> Tuple[str, str, str, str]: method handler_check (line 851) | def handler_check(self): method poll (line 859) | def poll( method revoke (line 873) | def revoke( method trigger (line 916) | def trigger(self, _payload: str) -> Tuple[str, str, str]: FILE: examples/ca_handler/openssl_ca_handler.py class CAhandler (line 41) | class CAhandler(object): method __init__ (line 44) | def __init__(self, debug: bool = False, logger: object = None): method __enter__ (line 62) | def __enter__(self): method __exit__ (line 68) | def __exit__(self, *args): method _ca_load (line 71) | def _ca_load(self) -> Tuple[object, object]: method _cert_extension_ku_parse (line 94) | def _cert_extension_ku_parse(self, ext: str) -> Dict[str, str]: method _cert_extension_eku_parse (line 129) | def _cert_extension_eku_parse(self, ext: str) -> List[str]: method _cert_extension_dic_parse (line 158) | def _cert_extension_dic_parse( method _certificate_extensions_load (line 206) | def _certificate_extensions_load(self) -> Dict[str, str]: method _certificate_store (line 242) | def _certificate_store(self, cert: object): method _config_check_issuer (line 271) | def _config_check_issuer(self) -> str: method _config_check_crl (line 295) | def _config_check_crl(self, error: str = None) -> str: method _config_parameters_check (line 315) | def _config_parameters_check(self, error: str = None) -> str: method _config_check (line 332) | def _config_check(self) -> str: method _config_domainlists_load (line 347) | def _config_domainlists_load(self, config_dic: Dict[str, str]): method _config_credentials_load (line 409) | def _config_credentials_load(self, config_dic: Dict[str, str]): method _config_policy_load (line 445) | def _config_policy_load(self, config_dic: Dict[str, str]): method _config_load (line 485) | def _config_load(self): method _chk_san_lists_get (line 504) | def _chk_san_lists_get(self, csr: str) -> Tuple[List[str], List[bool]]: method _cn_add (line 531) | def _cn_add(self, csr: str, san_list: List[str]) -> Tuple[List[str], s... method _csr_check (line 554) | def _csr_check(self, csr: str) -> Tuple[bool, str]: method _list_regex_check (line 586) | def _list_regex_check(self, entry: str, list_: List[str]) -> bool: method _list_check (line 602) | def _list_check(self, entry: str, list_: List[str], toggle: bool = Fal... method _pemcertchain_generate (line 624) | def _pemcertchain_generate(self, ee_cert: str, issuer_cert: str) -> str: method _string_wlbl_check (line 642) | def _string_wlbl_check( method _cert_expiry_get (line 672) | def _cert_expiry_get(self, cert): method _cacert_expiry_get (line 681) | def _cacert_expiry_get(self): method _certexpiry_date_default (line 721) | def _certexpiry_date_default(self) -> datetime.datetime: method _certexpiry_date_set (line 733) | def _certexpiry_date_set(self) -> datetime.datetime: method _cert_signing_prep (line 754) | def _cert_signing_prep(self, ca_cert: object, req: object, subject: st... method _cert_extension_default (line 773) | def _cert_extension_default(self, ca_cert: object, req: object) -> Lis... method _cert_extension_apply (line 820) | def _cert_extension_apply( method enroll (line 852) | def enroll(self, csr: str) -> Tuple[str, str, str, str]: method poll (line 927) | def poll( method _crlobject_build (line 941) | def _crlobject_build( method revoke (line 976) | def revoke( method trigger (line 1049) | def trigger(self, _payload: str) -> Tuple[str, str, str]: FILE: examples/ca_handler/openxpki_ca_handler.py class CAhandler (line 30) | class CAhandler(object): method __init__ (line 33) | def __init__(self, _debug: bool = None, logger: object = None): method __enter__ (line 55) | def __enter__(self): method __exit__ (line 61) | def __exit__(self, *args): method _cert_bundle_create (line 64) | def _cert_bundle_create(self, response: Dict[str, str]) -> Tuple[str, ... method _cert_identifier_get (line 91) | def _cert_identifier_get(self, cert_raw: str) -> str: method _config_server_load (line 107) | def _config_server_load(self, config_dic): method _config_ca_load (line 136) | def _config_ca_load(self, config_dic): method _config_passphrase_load (line 166) | def _config_passphrase_load(self, config_dic: Dict[str, str]): method _config_session_load (line 198) | def _config_session_load(self, config_dic: Dict[str, str]): method _config_load (line 232) | def _config_load(self): method _enroll (line 280) | def _enroll(self, data_dic: Dict[str, str]) -> Tuple[str, str, str, str]: method _rpc_post (line 344) | def _rpc_post(self, path: str, data_dic: Dict[str, str]) -> Dict[str, ... method _revoke (line 364) | def _revoke(self, cert_identifier: str, rev_reason: str) -> Tuple[int,... method enroll (line 403) | def enroll(self, csr: str) -> Tuple[str, str, str, str]: method handler_check (line 448) | def handler_check(self): method poll (line 457) | def poll( method revoke (line 471) | def revoke( method trigger (line 497) | def trigger(self, _payload: str) -> Tuple[str, str, str]: FILE: examples/ca_handler/pkcs7_soap_ca_handler.py function binary_read (line 32) | def binary_read(logger, file_name): function binary_write (line 42) | def binary_write(logger, file_name, content): class CAhandler (line 51) | class CAhandler(object): method __init__ (line 54) | def __init__(self, _debug=None, logger=None): method __enter__ (line 65) | def __enter__(self): method __exit__ (line 71) | def __exit__(self, *args): method _script_config_load (line 74) | def _script_config_load(self, config_dic): method _self_signing_config_load (line 97) | def _self_signing_config_load(self, config_dic): method _global_config_load (line 136) | def _global_config_load(self, config_dic): method _config_load (line 164) | def _config_load(self): method _cert_decode (line 190) | def _cert_decode(self, cert): method _sign (line 197) | def _sign(self, key, payload): method _pkcs7_create (line 221) | def _pkcs7_create(self, cert, csr, private_key): method _soaprequest_build (line 296) | def _soaprequest_build(self, pkcs7): method _soaprequest_send (line 316) | def _soaprequest_send(self, payload): method _get_certificate (line 385) | def _get_certificate(self, signature_block_file): method _certraw_get (line 418) | def _certraw_get(self, pem_data): method _pkcs7_signing_config_verify (line 430) | def _pkcs7_signing_config_verify(self): method _signing_command_build (line 458) | def _signing_command_build(self, csr_unsigned, csr_signed): method _pkcs7_sign_external (line 492) | def _pkcs7_sign_external(self, csr): method enroll (line 539) | def enroll(self, csr): method poll (line 594) | def poll(self, _cert_name, poll_identifier, _csr): method revoke (line 606) | def revoke(self, _cert, _rev_reason, _rev_date): method trigger (line 617) | def trigger(self, _payload): FILE: examples/ca_handler/skeleton_ca_handler.py class CAhandler (line 10) | class CAhandler(object): method __init__ (line 13) | def __init__(self, _debug: bool = None, logger: object = None): method __enter__ (line 17) | def __enter__(self): method __exit__ (line 23) | def __exit__(self, *args): method _config_load (line 26) | def _config_load(self): method _stub_func (line 37) | def _stub_func(self, parameter: str): method enroll (line 43) | def enroll(self, csr: str) -> Tuple[str, str, str, str]: method handler_check (line 63) | def handler_check(self): method poll (line 74) | def poll( method revoke (line 89) | def revoke( method trigger (line 102) | def trigger(self, payload: str) -> Tuple[str, str, str]: FILE: examples/ca_handler/vault_ca_handler.py class CAhandler (line 37) | class CAhandler(object): method __init__ (line 40) | def __init__(self, _debug: bool = None, logger: object = None): method __enter__ (line 59) | def __enter__(self): method __exit__ (line 65) | def __exit__(self, *args): method _api_get (line 68) | def _api_get(self, url: str) -> Tuple[int, Dict[str, str]]: method _api_post (line 85) | def _api_post(self, url: str, data: Dict[str, str]) -> Tuple[int, Dict... method _api_put (line 102) | def _api_put(self, url: str, data: Dict[str, str]) -> Tuple[int, Dict[... method _config_check (line 119) | def _config_check(self) -> str: method _config_load (line 135) | def _config_load(self): method _csr_check (line 196) | def _csr_check(self, csr: str) -> str: method _enrollment_request_prepare (line 205) | def _enrollment_request_prepare(self, csr: str) -> Tuple[str, str, str]: method _preconfig_check (line 219) | def _preconfig_check(self, csr: str) -> str: method enroll (line 230) | def enroll(self, csr: str) -> Tuple[str, str, str, str]: method handler_check (line 293) | def handler_check(self): method poll (line 302) | def poll( method revoke (line 316) | def revoke( method trigger (line 373) | def trigger(self, _payload: str) -> Tuple[str, str, str]: FILE: examples/ca_handler/xca_ca_handler.py function dict_from_row (line 53) | def dict_from_row(row): class CAhandler (line 58) | class CAhandler(object): method __init__ (line 61) | def __init__(self, debug: bool = False, logger: object = None): method __enter__ (line 79) | def __enter__(self): method __exit__ (line 85) | def __exit__(self, *args): method _asn1_stream_parse (line 88) | def _asn1_stream_parse(self, asn1_stream: str = None) -> Dict[str, str]: method _ca_cert_load (line 128) | def _ca_cert_load(self) -> Tuple[object, int]: method _ca_key_load (line 162) | def _ca_key_load(self) -> object: method _ca_load (line 196) | def _ca_load(self) -> Tuple[object, object, int]: method _cdp_list_generate (line 205) | def _cdp_list_generate(self, cdp_string: str = None) -> List[str]: method _cert_insert (line 224) | def _cert_insert(self, cert_dic: Dict[str, str] = None) -> int: method _cert_search (line 273) | def _cert_search(self, column: str, value: str) -> Dict[str, str]: method _cert_subject_generate (line 310) | def _cert_subject_generate( method _cert_sign (line 331) | def _cert_sign( method _columnnames_get (line 426) | def _columnnames_get(self, table: str) -> List[str]: method _config_check (line 441) | def _config_check(self) -> str: method _config_load (line 469) | def _config_load(self): method _csr_import (line 533) | def _csr_import(self, csr, request_name): method _csr_insert (line 559) | def _csr_insert(self, csr_dic: Dict[str, str] = None) -> int: method _csr_search (line 590) | def _csr_search(self, column: str, value: str) -> Dict[str, str]: method _db_check (line 611) | def _db_check(self): method _db_open (line 646) | def _db_open(self): method _db_close (line 654) | def _db_close(self): method _extended_keyusage_generate (line 661) | def _extended_keyusage_generate( method _extension_list_default (line 705) | def _extension_list_default(self, ca_cert: str = None, cert: str = None): method _extension_list_generate (line 750) | def _extension_list_generate( method _identifier_check (line 794) | def _identifier_check(self, table: str, identifier: str) -> bool: method _item_insert (line 823) | def _item_insert(self, item_dic: Dict[str, str] = None) -> int: method _keyusage_generate (line 862) | def _keyusage_generate( method _kue_generate (line 886) | def _kue_generate(self, kuval: int = 0, ku_csr: str = None) -> Dict[st... method _ku_dict_generate (line 916) | def _ku_dict_generate(self, kuval: int = 0) -> Dict[str, str]: method _pemcertchain_generate (line 951) | def _pemcertchain_generate(self, ee_cert: str, issuer_cert: str = None... method _requestname_get (line 971) | def _requestname_get(self, csr: str = None) -> str: method _revocation_insert (line 991) | def _revocation_insert(self, rev_dic: Dict[str, str] = None) -> int: method _revocation_check (line 1027) | def _revocation_check( method _revocation_search (line 1058) | def _revocation_search(self, column: str, value: str) -> Dict[str, str]: method _store_cert (line 1079) | def _store_cert( method _stream_split (line 1115) | def _stream_split(self, byte_stream: str = None) -> Tuple[str, str]: method _stub_func (line 1139) | def _stub_func(self, parameter: str) -> str: method _subject_name_hash_get (line 1145) | def _subject_name_hash_get(self, cert: str = None) -> int: method _subject_modify (line 1154) | def _subject_modify(self, subject: str, dn_dic: Dict[str, str] = None)... method _table_check (line 1199) | def _table_check(self, table: str) -> bool: method _template_load (line 1213) | def _template_load(self) -> Tuple[Dict[str, str], Dict[str, str]]: method _template_parse (line 1237) | def _template_parse( method _utf_stream_parse (line 1262) | def _utf_stream_parse(self, utf_stream: str = None) -> Dict[str, str]: method _validity_calculate (line 1298) | def _validity_calculate(self, template_dic: Dict[str, str] = None) -> ... method _xca_template_process (line 1321) | def _xca_template_process( method handler_check (line 1391) | def handler_check(self): method enroll (line 1402) | def enroll(self, csr: str = None) -> Tuple[str, str, str, str]: method poll (line 1447) | def poll( method revoke (line 1462) | def revoke( method trigger (line 1498) | def trigger(self, payload: str) -> Tuple[str, str, str]: FILE: examples/db_handler/django_handler.py function initialize (line 12) | def initialize(): # nopep8 class DBstore (line 46) | class DBstore(object): method __init__ (line 49) | def __init__(self, _debug: bool = False, logger: object = None): method _account_getinstance (line 54) | def _account_getinstance(self, aname: str) -> QuerySet: method _authorization_getinstance (line 59) | def _authorization_getinstance(self, name: str) -> QuerySet: method _modify_key (line 64) | def _modify_key(self, mkey: str, operant: str) -> str: method _order_getinstance (line 74) | def _order_getinstance(self, value: str = id, mkey: id = "id") -> Quer... method _status_getinstance (line 79) | def _status_getinstance(self, value: str, mkey: str = "id") -> QuerySet: method account_add (line 84) | def account_add(self, data_dic: Dict[str, str]) -> Tuple[str, bool]: method account_lookup (line 105) | def account_lookup( method account_delete (line 129) | def account_delete(self, aname): method account_update (line 135) | def account_update( method accountlist_get (line 149) | def accountlist_get(self) -> Tuple[List[str], QuerySet]: method authorization_add (line 191) | def authorization_add(self, data_dic: Dict[str, str]) -> int: method authorization_lookup (line 209) | def authorization_lookup( method authorizations_expired_search (line 217) | def authorizations_expired_search( method authorization_update (line 249) | def authorization_update(self, data_dic: Dict[str, str]) -> int: method cahandler_add (line 279) | def cahandler_add(self, data_dic: Dict[str, str]) -> Tuple[str, bool]: method cahandler_lookup (line 294) | def cahandler_lookup(self, mkey: str, value: str) -> Dict[str, str]: method challenge_add (line 306) | def challenge_add(self, value: str, mtype: str, data_dic: Dict[str, st... method certificate_add (line 340) | def certificate_add(self, data_dic: Dict[str, str]) -> int: method certificate_account_check (line 355) | def certificate_account_check(self, account_name: str, certificate: st... method certificate_delete (line 376) | def certificate_delete(self, mkey: str, value: str) -> QuerySet: method certificatelist_get (line 381) | def certificatelist_get(self) -> Tuple[List[str], List[QuerySet]]: method certificate_lookup (line 417) | def certificate_lookup( method certificates_search (line 438) | def certificates_search( method challenge_lookup (line 450) | def challenge_lookup( method challenges_search (line 471) | def challenges_search( method challenge_update (line 481) | def challenge_update(self, data_dic: Dict[str, str]): method cli_jwk_load (line 492) | def cli_jwk_load(self, aname: str) -> Dict[str, str]: method cli_permissions_get (line 507) | def cli_permissions_get(self, aname: str) -> Dict[str, str]: method dbversion_get (line 518) | def dbversion_get(self) -> Tuple[Dict[str, str], str]: method hkparameter_add (line 531) | def hkparameter_add(self, data_dic: Dict[str, str]): method hkparameter_get (line 539) | def hkparameter_get(self, parameter: str) -> str: method jwk_load (line 552) | def jwk_load(self, aname: str) -> Dict[str, str]: method nonce_add (line 567) | def nonce_add(self, nonce: str) -> int: method nonce_check (line 576) | def nonce_check(self, nonce: str) -> bool: method nonce_delete (line 584) | def nonce_delete(self, nonce: str): method order_add (line 590) | def order_add(self, data_dic: Dict[str, str]) -> int: method order_lookup (line 605) | def order_lookup( method order_update (line 634) | def order_update(self, data_dic: Dict[str, str]): method orders_invalid_search (line 645) | def orders_invalid_search( FILE: examples/db_handler/wsgi_handler.py function initialize (line 19) | def initialize(): function dict_from_row (line 25) | def dict_from_row(row): class DBstore (line 30) | class DBstore(object): method __init__ (line 33) | def __init__(self, debug: bool = False, logger: object = None, db_name... method _columnnames_get (line 55) | def _columnnames_get(self, table: str) -> List[str]: method _table_check (line 73) | def _table_check(self, table: str) -> bool: method _identifier_check (line 85) | def _identifier_check(self, table: str, identifier: str) -> bool: method _account_search (line 119) | def _account_search( method _authorization_search (line 149) | def _authorization_search(self, column: str, string: str) -> List[str]: method _cahandler_search (line 188) | def _cahandler_search(self, column: str, string: str) -> List[str]: method _certificate_account_check (line 212) | def _certificate_account_check( method _certificate_insert (line 234) | def _certificate_insert(self, data_dic: Dict[str, str]) -> int: method _certificate_update (line 267) | def _certificate_update( method _certificate_search (line 298) | def _certificate_search(self, column: str, string: str) -> Dict[str, s... method _challenge_search (line 326) | def _challenge_search(self, column: str, string: str) -> List[str]: method _cliaccount_search (line 368) | def _cliaccount_search(self, column: str, string: str) -> Dict[str, str]: method _db_close (line 392) | def _db_close(self): method _db_create (line 399) | def _db_create(self): method _db_open (line 492) | def _db_open(self): method _db_update_account (line 498) | def _db_update_account(self): method _db_update_authorization (line 518) | def _db_update_authorization(self): method _db_update_cahandler (line 540) | def _db_update_cahandler(self): method _db_update_certificate (line 555) | def _db_update_certificate(self): method _db_update_challenge (line 601) | def _db_update_challenge(self): method _db_update_cliaccount (line 628) | def _db_update_cliaccount(self): method _db_update_housekeeping (line 643) | def _db_update_housekeeping(self): method _db_update_orders (line 693) | def _db_update_orders(self): method _db_update_status (line 723) | def _db_update_status(self): method _order_search (line 737) | def _order_search(self, column: str, string: str) -> List[str]: method _status_search (line 773) | def _status_search(self, column: str, string: str) -> Tuple[int, str]: method account_add (line 788) | def account_add(self, data_dic): method account_delete (line 822) | def account_delete(self, aname: str) -> bool: method account_lookup (line 833) | def account_lookup( method account_update (line 853) | def account_update( method accountlist_get (line 895) | def accountlist_get(self) -> Tuple[List[str], List[str]]: method authorization_add (line 990) | def authorization_add(self, data_dic: Dict[str, str]) -> int: method authorization_lookup (line 1003) | def authorization_lookup( method authorizations_expired_search (line 1032) | def authorizations_expired_search( method authorization_update (line 1087) | def authorization_update(self, data_dic: Dict[str, str]) -> List[str]: method certificate_account_check (line 1121) | def certificate_account_check( method cahandler_add (line 1152) | def cahandler_add(self, data_dic: Dict[str, str]) -> int: method cahandler_lookup (line 1181) | def cahandler_lookup( method cliaccount_add (line 1207) | def cliaccount_add(self, data_dic: Dict[str, str]) -> int: method cliaccount_delete (line 1235) | def cliaccount_delete(self, data_dic: Dict[str, str]): method cliaccountlist_get (line 1251) | def cliaccountlist_get(self) -> List[str]: method certificate_add (line 1285) | def certificate_add(self, data_dic: Dict[str, str]) -> int: method certificate_delete (line 1309) | def certificate_delete(self, mkey: str, string: str): method certificatelist_get (line 1321) | def certificatelist_get(self) -> Tuple[List[str], List[str]]: method certificate_lookup (line 1383) | def certificate_lookup( method certificates_search (line 1409) | def certificates_search( method challenges_search (line 1456) | def challenges_search( method challenge_add (line 1505) | def challenge_add(self, value: str, mtype: str, data_dic: Dict[str, st... method challenge_lookup (line 1530) | def challenge_lookup( method challenge_update (line 1557) | def challenge_update(self, data_dic: Dict[str, str]): method cli_jwk_load (line 1587) | def cli_jwk_load(self, aname: str) -> Dict[str, str]: method cli_permissions_get (line 1597) | def cli_permissions_get(self, aname: str) -> Dict[str, str]: method db_update (line 1611) | def db_update(self): method dbversion_get (line 1655) | def dbversion_get(self) -> Tuple[List[str], str]: method hkparameter_add (line 1671) | def hkparameter_add(self, data_dic: Dict[str, str]) -> Tuple[str, bool]: method hkparameter_get (line 1697) | def hkparameter_get(self, parameter: str) -> List[str]: method jwk_load (line 1716) | def jwk_load(self, aname: str) -> Dict[str, str]: method nonce_add (line 1727) | def nonce_add(self, nonce: str) -> int: method nonce_check (line 1741) | def nonce_check(self, nonce: str) -> bool: method nonce_delete (line 1755) | def nonce_delete(self, nonce: str): method order_add (line 1766) | def order_add(self, data_dic: Dict[str, str]) -> int: method order_lookup (line 1793) | def order_lookup( method order_update (line 1829) | def order_update(self, data_dic: Dict[str, str]): method orders_invalid_search (line 1843) | def orders_invalid_search( FILE: examples/django/acme_srv/a2c_response.py class JsonResponse (line 9) | class JsonResponse(HttpResponse): method __init__ (line 15) | def __init__( FILE: examples/django/acme_srv/models.py class Nonce (line 8) | class Nonce(models.Model): method __unicode__ (line 14) | def __unicode__(self): class Status (line 18) | class Status(models.Model): method __unicode__ (line 23) | def __unicode__(self): class Account (line 27) | class Account(models.Model): method __unicode__ (line 38) | def __unicode__(self): class Cliaccount (line 42) | class Cliaccount(models.Model): class Order (line 54) | class Order(models.Model): method __unicode__ (line 67) | def __unicode__(self): class Authorization (line 71) | class Authorization(models.Model): method __unicode__ (line 83) | def __unicode__(self): class Challenge (line 87) | class Challenge(models.Model): method __unicode__ (line 102) | def __unicode__(self): class Certificate (line 106) | class Certificate(models.Model): method __unicode__ (line 125) | def __unicode__(self): class Housekeeping (line 129) | class Housekeeping(models.Model): class Cahandler (line 137) | class Cahandler(models.Model): FILE: examples/django/acme_srv/views.py function handle_exception (line 58) | def handle_exception(exc_type, exc_value, exc_traceback): function pretty_request (line 66) | def pretty_request(request): function directory (line 84) | def directory(request): function newaccount (line 101) | def newaccount(request): function newnonce (line 128) | def newnonce(request): function servername_get (line 152) | def servername_get(request): function acct (line 158) | def acct(request): function neworders (line 177) | def neworders(request): function authz (line 207) | def authz(request): function chall (line 237) | def chall(request): function order (line 278) | def order(request): function cert (line 304) | def cert(request): function revokecert (line 336) | def revokecert(request): function trigger (line 366) | def trigger(request): function renewalinfo (line 396) | def renewalinfo(request): function housekeeping (line 429) | def housekeeping(request): function acmechallenge_serve (line 456) | def acmechallenge_serve(request): FILE: examples/eab_handler/file_handler.py class EABhandler (line 12) | class EABhandler(object): method __init__ (line 15) | def __init__(self, logger: object = None): method __enter__ (line 19) | def __enter__(self): method __exit__ (line 25) | def __exit__(self, *args): method _config_load (line 28) | def _config_load(self): method key_file_load (line 37) | def key_file_load(self) -> Dict[str, str]: method mac_key_get (line 54) | def mac_key_get(self, kid: str = None) -> str: FILE: examples/eab_handler/json_handler.py class EABhandler (line 12) | class EABhandler(object): method __init__ (line 15) | def __init__(self, logger: object = None): method __enter__ (line 19) | def __enter__(self): method __exit__ (line 25) | def __exit__(self, *args): method _config_load (line 28) | def _config_load(self): method key_file_load (line 37) | def key_file_load(self) -> Dict[str, str]: method mac_key_get (line 54) | def mac_key_get(self, kid: str = None) -> str: FILE: examples/eab_handler/kid_profile_handler.py class EABhandler (line 14) | class EABhandler(object): method __init__ (line 17) | def __init__(self, logger: object = None): method __enter__ (line 21) | def __enter__(self): method __exit__ (line 27) | def __exit__(self, *args): method _config_load (line 30) | def _config_load(self): method _chk_san_lists_get (line 39) | def _chk_san_lists_get(self, csr: str) -> Tuple[List[str], List[bool]]: method _cn_add (line 65) | def _cn_add(self, csr: str, san_list: List[str]) -> Tuple[List[str], s... method _list_regex_check (line 82) | def _list_regex_check(self, entry: str, list_: List[str]) -> bool: method _wllist_check (line 100) | def _wllist_check(self, entry: str, list_: List[str], toggle: bool = F... method _allowed_domains_check (line 124) | def _allowed_domains_check(self, csr: str, domain_list: List[str]) -> ... method eab_kid_get (line 145) | def eab_kid_get(self, csr: str, revocation=False) -> str: method eab_profile_get (line 181) | def eab_profile_get(self, csr: str, revocation=False) -> str: method keyfile_content_load (line 207) | def keyfile_content_load(self, key_file_content) -> dict: method key_file_load (line 226) | def key_file_load(self): method mac_key_get (line 246) | def mac_key_get(self, kid: str = None) -> str: FILE: examples/eab_handler/skeleton_eab_handler.py class EABhandler (line 10) | class EABhandler(object): method __init__ (line 13) | def __init__(self, logger: object = None): method __enter__ (line 17) | def __enter__(self): method __exit__ (line 23) | def __exit__(self, *args): method _config_load (line 26) | def _config_load(self): method allowed_domains_check (line 36) | def allowed_domains_check(self, csr, value) -> str: method mac_key_get (line 43) | def mac_key_get(self, kid: str = None) -> str: FILE: examples/eab_handler/sql_handler.py class EABhandler (line 17) | class EABhandler(object): method __init__ (line 20) | def __init__(self, logger: Logger): method __enter__ (line 29) | def __enter__(self): method __exit__ (line 34) | def __exit__(self, *args): method _config_load (line 37) | def _config_load(self): method _chk_san_lists_get (line 55) | def _chk_san_lists_get(self, csr: str) -> Tuple[List[str], List[bool]]: method _cn_add (line 81) | def _cn_add(self, csr: str, san_list: List[str]) -> Tuple[List[str], s... method _list_regex_check (line 98) | def _list_regex_check(self, entry: str, list_: List[str]) -> bool: method _wllist_check (line 116) | def _wllist_check(self, entry: str, list_: List[str], toggle: bool = F... method _allowed_domains_check (line 140) | def _allowed_domains_check(self, csr: str, domain_list: List[str]) -> ... method eab_kid_get (line 161) | def eab_kid_get(self, csr: str, revocation=False) -> str: method eab_profile_get (line 199) | def eab_profile_get(self, csr: str, revocation=False) -> str: method key_file_load (line 225) | def key_file_load(self) -> Dict[str, str]: method _load_mssql_profiles (line 241) | def _load_mssql_profiles(self, sql_query: str) -> Dict[str, str]: method _load_postgres_profiles (line 267) | def _load_postgres_profiles(self, sql_query: str) -> Dict[str, str]: method mac_key_get (line 287) | def mac_key_get(self, key_id: str) -> Optional[str]: FILE: examples/hooks/cn_dump_hooks.py class Hooks (line 8) | class Hooks: method __init__ (line 11) | def __init__(self, logger) -> None: method __enter__ (line 16) | def __enter__(self): method __exit__ (line 20) | def __exit__(self, *args): method _config_load (line 23) | def _config_load(self): method _file_append (line 31) | def _file_append(self, filename, content): method pre_hook (line 38) | def pre_hook(self, _certificate_name, _order_name, csr): method post_hook (line 46) | def post_hook(self, _certificate_name, _order_name, csr, _error): method success_hook (line 54) | def success_hook( FILE: examples/hooks/email_hooks.py class Hooks (line 84) | class Hooks: method __init__ (line 87) | def __init__(self, logger) -> None: method _validate_configuration (line 101) | def _validate_configuration(self) -> None: method _get_config_value (line 131) | def _get_config_value(self, key: str, fallback=None): method _get_config_int (line 144) | def _get_config_int(self, key: str, fallback=None): method _get_config_boolean (line 154) | def _get_config_boolean(self, key: str, fallback=None): method _validate_smtp_configuration (line 163) | def _validate_smtp_configuration(self) -> None: method _load_configuration (line 218) | def _load_configuration(self) -> None: method _setup_email_envelope (line 263) | def _setup_email_envelope(self) -> None: method _done (line 274) | def _done(self): method _clean_san (line 361) | def _clean_san(self, sans): method _attach_csr (line 387) | def _attach_csr(self, request_key, csr): method _attach_cert (line 418) | def _attach_cert(self, request_key, certificate): method _format_subject (line 458) | def _format_subject(self, status: str, san: str) -> str: method _format_message_header (line 467) | def _format_message_header(self, status: str, san: str) -> str: method pre_hook (line 484) | def pre_hook(self, _certificate_name, _order_name, _csr) -> None: method post_hook (line 488) | def post_hook(self, request_key, _order_name, csr, error) -> None: method success_hook (line 520) | def success_hook( FILE: examples/hooks/exception_test_hooks.py class Hooks (line 7) | class Hooks: method __init__ (line 10) | def __init__(self, logger) -> None: method __enter__ (line 17) | def __enter__(self): method __exit__ (line 21) | def __exit__(self, *args): method _config_load (line 24) | def _config_load(self): method pre_hook (line 40) | def pre_hook(self, certificate_name, order_name, _csr) -> None: method post_hook (line 46) | def post_hook(self, certificate_name, order_name, _csr, _error) -> None: method success_hook (line 52) | def success_hook( FILE: examples/hooks/skeleton_hooks.py class Hooks (line 6) | class Hooks: method __init__ (line 21) | def __init__(self, logger) -> None: method pre_hook (line 24) | def pre_hook(self, certificate_name, order_name, csr) -> None: method post_hook (line 30) | def post_hook(self, certificate_name, order_name, csr, error) -> None: method success_hook (line 36) | def success_hook( FILE: examples/soap/mock_soap_srv.py function arg_parse (line 34) | def arg_parse(): function _csr_get (line 61) | def _csr_get( function _csr_lookup (line 104) | def _csr_lookup(logger, soap_dic: Dict[str, str]) -> str: function _opensslcmd_pem2pkcs7_convert (line 122) | def _opensslcmd_pem2pkcs7_convert( function _opensslcmd_csr_extract (line 144) | def _opensslcmd_csr_extract(logger, pkcs7_file: str, csr_file: str) -> L... function _file_load_binary (line 165) | def _file_load_binary(logger, filename: str) -> List[str]: function _file_load (line 173) | def _file_load(logger, filename: str) -> List[str]: function _file_dump_binary (line 181) | def _file_dump_binary(logger, filename: str, data_: str): function _file_dump (line 188) | def _file_dump(logger, filename: str, data_: str): function _pem2pkcs7_convert (line 195) | def _pem2pkcs7_convert(logger, tmp_dir: str, pem: str) -> str: function _get_request_body (line 218) | def _get_request_body(environ: Dict[str, str]) -> str: function _config_load (line 231) | def _config_load(logger, config_file: str) -> Dict[str, str]: function _csr_extract (line 255) | def _csr_extract(logger, tmp_dir: str, csr: str) -> str: function request_process (line 278) | def request_process(logger, csr: str) -> bytes: function soap_srv (line 330) | def soap_srv(environ, start_response) -> List[str]: FILE: setup.py function glob_files (line 11) | def glob_files(pattern: str) -> t.List[str]: function update_and_copy_nginx_configs (line 18) | def update_and_copy_nginx_configs(): FILE: test/test_account.py class FakeDBStore (line 15) | class FakeDBStore(object): class TestAccountRepository (line 22) | class TestAccountRepository(unittest.TestCase): method setUp (line 25) | def setUp(self): method test_001_lookup_account_success (line 40) | def test_001_lookup_account_success(self): method test_002_lookup_account_exception (line 50) | def test_002_lookup_account_exception(self): method test_003_add_account_success (line 67) | def test_003_add_account_success(self): method test_004_add_account_exception (line 78) | def test_004_add_account_exception(self): method test_005_update_account_success (line 90) | def test_005_update_account_success(self): method test_006_update_account_exception (line 97) | def test_006_update_account_exception(self): method test_007_delete_account_success (line 111) | def test_007_delete_account_success(self): method test_008_delete_account_exception (line 116) | def test_008_delete_account_exception(self): method test_009_load_jwk_success (line 130) | def test_009_load_jwk_success(self): method test_010_load_jwk_exception (line 137) | def test_010_load_jwk_exception(self): class TestExternalAccountBinding (line 150) | class TestExternalAccountBinding(unittest.TestCase): method setUp (line 153) | def setUp(self): method test_001_get_kid_success (line 170) | def test_001_get_kid_success(self): method test_002_get_kid_invalid (line 178) | def test_002_get_kid_invalid(self): method test_003_compare_jwk_success (line 187) | def test_003_compare_jwk_success(self): method test_004_compare_jwk_mismatch (line 195) | def test_004_compare_jwk_mismatch(self): method test_005_compare_jwk_no_jwk (line 203) | def test_005_compare_jwk_no_jwk(self): method test_006_verify_signature_success (line 207) | def test_006_verify_signature_success(self): method test_007_verify_signature_failure (line 217) | def test_007_verify_signature_failure(self): method test_008_verify_signature_no_content (line 228) | def test_008_verify_signature_no_content(self): method test_009_verify_success (line 234) | def test_009_verify_success(self): method test_010_verify_signature_error (line 250) | def test_010_verify_signature_error(self): method test_011_verify_no_mac_key (line 268) | def test_011_verify_no_mac_key(self): method test_012_check_success (line 283) | def test_012_check_success(self): method test_013_check_jwk_mismatch (line 311) | def test_013_check_jwk_mismatch(self): method test_014_check_no_externalaccountbinding (line 335) | def test_014_check_no_externalaccountbinding(self): method test_016_verify_no_kid (line 352) | def test_016_verify_no_kid(self): class TestAccount (line 363) | class TestAccount(unittest.TestCase): method setUp (line 367) | def setUp(self): method test_017__enter_ (line 386) | def test_017__enter_(self): method test_018__enter_ (line 390) | def test_018__enter_(self): method test_001_create_account_success (line 394) | def test_001_create_account_success(self): method test_002_create_account_msg_check_failure (line 412) | def test_002_create_account_msg_check_failure(self): method test_003_create_account_onlyreturnexisting (line 430) | def test_003_create_account_onlyreturnexisting(self): method test_004__validate_contact_missing (line 455) | def test_004__validate_contact_missing(self): method test_005__validate_contact_invalid (line 461) | def test_005__validate_contact_invalid(self): method test_006__validate_contact_valid (line 468) | def test_006__validate_contact_valid(self): method test_007__check_tos_agreed (line 475) | def test_007__check_tos_agreed(self): method test_008__check_tos_not_agreed (line 482) | def test_008__check_tos_not_agreed(self): method test_009__check_tos_missing (line 489) | def test_009__check_tos_missing(self): method test_010__add_account_to_db_success_new (line 496) | def test_010__add_account_to_db_success_new(self): method test_011__add_account_to_db_success_existing (line 509) | def test_011__add_account_to_db_success_existing(self): method test_011__add_account_to_db_exception (line 522) | def test_011__add_account_to_db_exception(self): method test_012__parse_query_valid (line 543) | def test_012__parse_query_valid(self): method test_013__parse_query_invalid (line 558) | def test_013__parse_query_invalid(self): method test_014__onlyreturnexisting_acc_lookup_success (line 564) | def test_014__onlyreturnexisting_acc_lookup_success(self): method test_014__onlyreturnexisting_acc_lookup_failed (line 583) | def test_014__onlyreturnexisting_acc_lookup_failed(self): method test_015__onlyreturnexisting_no_jwk (line 600) | def test_015__onlyreturnexisting_no_jwk(self): method test_016__onlyreturnexisting_false (line 608) | def test_016__onlyreturnexisting_false(self): method test_017__onlyreturnexisting_missing (line 616) | def test_017__onlyreturnexisting_missing(self): method test_018__handle_deactivation_success (line 624) | def test_018__handle_deactivation_success(self): method test_018__handle_deactivation_fail (line 635) | def test_018__handle_deactivation_fail(self): method test_019__handle_deactivation_status_invalid (line 650) | def test_019__handle_deactivation_status_invalid(self): method test_020__deactivate_account_success (line 657) | def test_020__deactivate_account_success(self): method test_021__deactivate_account_failure (line 663) | def test_021__deactivate_account_failure(self): method test_022__deactivate_account_exception (line 671) | def test_022__deactivate_account_exception(self): method test_023__handle_contact_update_success (line 690) | def test_023__handle_contact_update_success(self): method test_024__handle_contact_update_failure (line 716) | def test_024__handle_contact_update_failure(self): method test_025__update_account_contacts_validation_failes (line 729) | def test_025__update_account_contacts_validation_failes(self): method test_025__update_account_contacts_success (line 743) | def test_025__update_account_contacts_success(self): method test_026__update_account_contacts_failure (line 754) | def test_026__update_account_contacts_failure(self): method test_027__update_account_contacts_exception (line 765) | def test_027__update_account_contacts_exception(self): method test_028__handle_key_change_success (line 781) | def test_028__handle_key_change_success(self): method test_029__handle_key_change_failure (line 794) | def test_029__handle_key_change_failure(self): method test_030__rollover_account_key_validation_success (line 804) | def test_030__rollover_account_key_validation_success(self): method test_030__rollover_account_key_validation_failure (line 815) | def test_030__rollover_account_key_validation_failure(self): method test_031__rollover_account_key_failure (line 830) | def test_031__rollover_account_key_failure(self): method test_032__rollover_account_key_exception (line 848) | def test_032__rollover_account_key_exception(self): method test_033__validate_key_change_success (line 864) | def test_033__validate_key_change_success(self): method test_034__validate_key_change_missing_jwk (line 875) | def test_034__validate_key_change_missing_jwk(self): method test_035__validate_key_change_key_exists (line 885) | def test_035__validate_key_change_key_exists(self): method test_036__validate_key_change_url_mismatch (line 900) | def test_036__validate_key_change_url_mismatch(self): method test_037__validate_key_change_missing_url (line 911) | def test_037__validate_key_change_missing_url(self): method test_038__validate_key_change_kid_account_mismatch (line 922) | def test_038__validate_key_change_kid_account_mismatch(self): method test_039__validate_key_change_missing_kid_account (line 933) | def test_039__validate_key_change_missing_kid_account(self): method test_040__load_configuration (line 944) | def test_040__load_configuration(self): method test_041_load_configuration_without_accountsection (line 1017) | def test_041_load_configuration_without_accountsection(self): method test_041__create_account_success (line 1042) | def test_041__create_account_success(self): method test_042__create_account_tos_check_fail (line 1060) | def test_042__create_account_tos_check_fail(self): method test_043__create_account_eab_check_fail (line 1074) | def test_043__create_account_eab_check_fail(self): method test_044__create_account_contact_check_fail (line 1088) | def test_044__create_account_contact_check_fail(self): method test_045__create_account_eab_kid_set (line 1105) | def test_045__create_account_eab_kid_set(self): method test_046__handle_key_change_success (line 1131) | def test_046__handle_key_change_success(self): method test_047__handle_key_change_check_fail (line 1154) | def test_047__handle_key_change_check_fail(self): method test_048__handle_key_change_rollover_fail (line 1170) | def test_048__handle_key_change_rollover_fail(self): method test_049__handle_key_change_url_missing (line 1193) | def test_049__handle_key_change_url_missing(self): method test_050__handle_account_query_valid (line 1205) | def test_050__handle_account_query_valid(self): method test_051__handle_account_query_invalid (line 1225) | def test_051__handle_account_query_invalid(self): method test_052__lookup_account_by_name_success (line 1240) | def test_052__lookup_account_by_name_success(self): method test_053__lookup_account_by_name_exception (line 1251) | def test_053__lookup_account_by_name_exception(self): method test_052__lookup_account_by_field_success (line 1263) | def test_052__lookup_account_by_field_success(self): method test_053__lookup_account_by_field_exception (line 1274) | def test_053__lookup_account_by_field_exception(self): method test_056__build_account_info_normal (line 1286) | def test_056__build_account_info_normal(self): method test_056__build_account_info_witheab (line 1301) | def test_056__build_account_info_witheab(self): method test_057__build_account_info_missing_fields (line 1318) | def test_057__build_account_info_missing_fields(self): method test_058__build_account_info_eab_kid_empty (line 1333) | def test_058__build_account_info_eab_kid_empty(self): method test_059__build_response_201 (line 1345) | def test_059__build_response_201(self): method test_060__build_response_200 (line 1363) | def test_060__build_response_200(self): method test_061__build_response_error (line 1381) | def test_061__build_response_error(self): method test_062__build_response_eab_binding (line 1394) | def test_062__build_response_eab_binding(self): method test_063_parse_request_error (line 1419) | def test_063_parse_request_error(self): method test_064_parse_request_deactivation (line 1433) | def test_064_parse_request_deactivation(self): method test_065_parse_request_contact_update (line 1450) | def test_065_parse_request_contact_update(self): method test_066_parse_request_key_change (line 1467) | def test_066_parse_request_key_change(self): method test_067_parse_request_account_query (line 1485) | def test_067_parse_request_account_query(self): method test_068_parse_request_unknown (line 1501) | def test_068_parse_request_unknown(self): method test_069_new_calls_create_account (line 1518) | def test_069_new_calls_create_account(self): method test_070_parse_calls_parse_request (line 1528) | def test_070_parse_calls_parse_request(self): FILE: test/test_acme_ca_handler.py class FakeDBStore (line 21) | class FakeDBStore(object): class TestACMEHandler (line 28) | class TestACMEHandler(unittest.TestCase): method setUp (line 29) | def setUp(self): method tearDown (line 42) | def tearDown(self): method _generate_full_jwk (line 46) | def _generate_full_jwk(self): method test_214__order_authorization_unexpected_status (line 53) | def test_214__order_authorization_unexpected_status(self): method test_200__synchronize_profiles_success (line 69) | def test_200__synchronize_profiles_success(self, mock_url_get): method test_201__synchronize_profiles_error (line 87) | def test_201__synchronize_profiles_error(self, mock_url_get): method test_202_load_profiles_outdated_sync (line 100) | def test_202_load_profiles_outdated_sync(self, mock_uts, mock_thread): method test_203_load_profiles_outdated_async (line 114) | def test_203_load_profiles_outdated_async(self, mock_uts, mock_thread): method test_204_load_profiles_up_to_date (line 128) | def test_204_load_profiles_up_to_date(self, mock_uts, mock_thread): method test_205__get_renewalinfo_endpoint_url_success (line 144) | def test_205__get_renewalinfo_endpoint_url_success(self, mock_url_get): method test_206__get_renewalinfo_endpoint_url_no_renewalinfo (line 153) | def test_206__get_renewalinfo_endpoint_url_no_renewalinfo(self, mock_u... method test_207__get_renewalinfo_endpoint_url_json_error (line 162) | def test_207__get_renewalinfo_endpoint_url_json_error(self, mock_url_g... method test_208__get_renewalinfo_endpoint_url_fetch_error (line 170) | def test_208__get_renewalinfo_endpoint_url_fetch_error(self, mock_url_... method test_209__get_renewalinfo_endpoint_url_exception (line 178) | def test_209__get_renewalinfo_endpoint_url_exception(self, mock_url_get): method test_210_lookup_renewalinfo_success (line 185) | def test_210_lookup_renewalinfo_success(self, mock_url_get): method test_211_lookup_renewalinfo_json_error (line 195) | def test_211_lookup_renewalinfo_json_error(self, mock_url_get): method test_212_lookup_renewalinfo_unexpected_response (line 204) | def test_212_lookup_renewalinfo_unexpected_response(self, mock_url_get): method test_213_lookup_renewalinfo_exception (line 213) | def test_213_lookup_renewalinfo_exception(self, mock_url_get): method setUp (line 220) | def setUp(self): method tearDown (line 233) | def tearDown(self): method _generate_full_jwk (line 237) | def _generate_full_jwk(self): method test_001___init__ (line 244) | def test_001___init__(self): method test_002___exit__ (line 248) | def test_002___exit__(self): method test_003__config_load (line 253) | def test_003__config_load(self, mock_load_cfg): method test_004__config_load (line 275) | def test_004__config_load(self, mock_load_cfg): method test_005__config_load (line 303) | def test_005__config_load(self, mock_load_cfg): method test_006__config_load (line 331) | def test_006__config_load(self, mock_load_cfg): method test_007__config_load (line 355) | def test_007__config_load(self, mock_load_cfg): method test_008__config_load (line 382) | def test_008__config_load(self, mock_load_cfg): method test_009__config_load (line 406) | def test_009__config_load(self, mock_load_cfg): method test_010__config_load (line 434) | def test_010__config_load(self, mock_load_cfg): method test_011__config_load (line 462) | def test_011__config_load(self, mock_load_cfg): method test_012__config_load (line 490) | def test_012__config_load(self, mock_load_cfg): method test_013__config_load (line 518) | def test_013__config_load(self, mock_load_cfg): method test_014__config_load (line 546) | def test_014__config_load(self, mock_load_cfg): method test_015__config_load (line 575) | def test_015__config_load(self, mock_load_cfg): method test_016__config_load (line 608) | def test_016__config_load(self, mock_load_cfg): method test_017__config_load (line 637) | def test_017__config_load(self, mock_load_cfg): method test_018__config_load (line 667) | def test_018__config_load(self, mock_load_cfg): method test_019__config_load (line 701) | def test_019__config_load(self, mock_load_cfg): method test_020__config_load (line 732) | def test_020__config_load(self, mock_load_cfg): method test_021__challenge_filter (line 762) | def test_021__challenge_filter(self): method test_022__challenge_filter (line 775) | def test_022__challenge_filter(self): method test_023__challenge_filter (line 792) | def test_023__challenge_filter(self): method test_024__challenge_filter (line 809) | def test_024__challenge_filter(self): method test_025__http_challenge_store (line 828) | def test_025__http_challenge_store(self): method test_026__http_challenge_store (line 834) | def test_026__http_challenge_store(self): method test_027__http_challenge_store (line 840) | def test_027__http_challenge_store(self): method test_028__challenge_info (line 846) | def test_028__challenge_info(self, mock_filter): method test_029__challenge_info (line 857) | def test_029__challenge_info(self, mock_filter): method test_030__challenge_info (line 872) | def test_030__challenge_info(self, mock_filter): method test_031__challenge_info (line 884) | def test_031__challenge_info(self, mock_filter): method test_032__challenge_info (line 896) | def test_032__challenge_info(self, mock_filter): method test_033__key_generate (line 908) | def test_033__key_generate(self, mock_key): method test_034__user_key_load (line 917) | def test_034__user_key_load(self, mock_file, mock_key, mock_json): method test_035__user_key_load (line 931) | def test_035__user_key_load(self, mock_file, mock_key, mock_json): method test_036__user_key_load (line 945) | def test_036__user_key_load(self, mock_file, mock_key, mock_json): method test_037__user_key_load (line 958) | def test_037__user_key_load(self, mock_file, mock_key, mock_json): method test_038__account_register (line 970) | def test_038__account_register(self, mock_messages): method test_039__account_register (line 992) | def test_039__account_register(self, mock_messages): method test_040__account_register (line 1014) | def test_040__account_register(self, mock_messages): method test_041__account_register (line 1036) | def test_041__account_register(self, mock_messages): method test_042__account_register (line 1060) | def test_042__account_register(self, mock_messages): method test_043__account_register (line 1076) | def test_043__account_register(self, mock_messages): method test_044__account_register (line 1092) | def test_044__account_register(self, mock_messages): method test_045__account_register (line 1110) | def test_045__account_register(self, mock_messages, mock_eab): method test_046__account_register (line 1129) | def test_046__account_register(self, mock_messages, mock_eab): method test_047__account_register (line 1151) | def test_047__account_register(self, mock_messages, mock_eab): method test_048__account_register (line 1173) | def test_048__account_register(self, mock_messages, mock_eab, mock_jwk... method test_049_acount_create (line 1194) | def test_049_acount_create(self, mock_newreg): method test_050_acount_create (line 1207) | def test_050_acount_create(self, mock_newreg): method test_051_acount_create (line 1224) | def test_051_acount_create(self, mock_newreg): method test_052_trigger (line 1240) | def test_052_trigger(self): method test_053_poll (line 1246) | def test_053_poll(self): method test_054_enroll (line 1259) | def test_054_enroll( method test_055_enroll (line 1278) | def test_055_enroll( method test_056_enroll (line 1307) | def test_056_enroll( method test_057_enroll (line 1325) | def test_057_enroll( method test_058_enroll (line 1349) | def test_058_enroll( method test_059_enroll (line 1424) | def test_059_enroll( method test_060_enroll (line 1496) | def test_060_enroll( method test_061_enroll (line 1554) | def test_061_enroll( method test_062_enroll (line 1630) | def test_062_enroll( method test_063_enroll (line 1653) | def test_063_enroll( method test_064_enroll (line 1685) | def test_064_enroll( method test_065_enroll (line 1723) | def test_065_enroll( method test_066__account_lookup (line 1772) | def test_066__account_lookup(self, mock_messages): method test_067__account_lookup (line 1789) | def test_067__account_lookup(self, mock_messages): method test_068__account_lookup (line 1807) | def test_068__account_lookup(self, mock_messages): method test_069__account_lookup (line 1825) | def test_069__account_lookup(self, mock_messages): method test_070_revoke (line 1852) | def test_070_revoke( method test_071_revoke (line 1889) | def test_071_revoke( method test_072_revoke (line 1926) | def test_072_revoke( method test_073_revoke (line 1965) | def test_073_revoke( method test_074_revoke (line 1994) | def test_074_revoke( method test_075_revoke (line 2021) | def test_075_revoke(self, mock_exists, mock_load): method test_076__zerossl_eab_get (line 2034) | def test_076__zerossl_eab_get(self, mock_post): method test_077__zerossl_eab_get (line 2047) | def test_077__zerossl_eab_get(self, mock_post): method test_078__zerossl_eab_get (line 2066) | def test_078__zerossl_eab_get(self, mock_post): method test_079__zerossl_eab_get (line 2084) | def test_079__zerossl_eab_get(self, mock_post): method test_080__zerossl_eab_get (line 2102) | def test_080__zerossl_eab_get(self, mock_post): method test_081__order_authorization (line 2120) | def test_081__order_authorization(self, mock_info): method test_082__order_authorization (line 2148) | def test_082__order_authorization(self, mock_info): method test_083__order_authorization (line 2165) | def test_083__order_authorization(self, mock_info): method test_084__order_authorization (line 2184) | def test_084__order_authorization(self, mock_info): method test_085_eab_profile_list_check (line 2196) | def test_085_eab_profile_list_check(self): method test_086_eab_profile_list_check (line 2209) | def test_086_eab_profile_list_check(self): method test_087_eab_profile_list_check (line 2224) | def test_087_eab_profile_list_check(self, mock_hiv): method test_088_eab_profile_list_check (line 2237) | def test_088_eab_profile_list_check(self, mock_hiv): method test_089_eab_profile_list_check (line 2251) | def test_089_eab_profile_list_check(self, mock_hiv): method test_090_eab_profile_list_check (line 2265) | def test_090_eab_profile_list_check(self, mock_hiv, mock_chk): method test_091_eab_profile_list_check (line 2283) | def test_091_eab_profile_list_check(self, mock_hiv, mock_chk): method test_092_eab_profile_list_check (line 2302) | def test_092_eab_profile_list_check(self, mock_hiv, mock_chk): method test_093_eab_profile_list_check (line 2322) | def test_093_eab_profile_list_check(self, mock_hiv, mock_chk): method test_094_account_to_keyfile (line 2340) | def test_094_account_to_keyfile(self, mock_file): method test_095_account_to_keyfile (line 2348) | def test_095_account_to_keyfile(self, mock_file): method test_096_account_to_keyfile (line 2356) | def test_096_account_to_keyfile(self, mock_file): method test_097_account_to_keyfile (line 2364) | def test_097_account_to_keyfile(self, mock_file): method test_098_accountname_get (line 2377) | def test_098_accountname_get(self): method test_099_accountname_get (line 2386) | def test_099_accountname_get(self): method test_100_accountname_get (line 2395) | def test_100_accountname_get(self): method test_101_accountname_get (line 2404) | def test_101_accountname_get(self): method test_102_accountname_get (line 2413) | def test_102_accountname_get(self): method test_103_order_new (line 2422) | def test_103_order_new(self): method test_104_order_new (line 2431) | def test_104_order_new(self): method test_105_order_new (line 2441) | def test_105_order_new(self): method test_106_revoke_or_fallback (line 2459) | def test_106_revoke_or_fallback(self, mock_cry_load, mock_ossl_load, m... method test_107_revoke_or_fallback (line 2471) | def test_107_revoke_or_fallback( method test_108_order_issue_success (line 2490) | def test_108_order_issue_success( method test_109_order_issue_success (line 2530) | def test_109_order_issue_success( method test_110_order_issue_success (line 2572) | def test_110_order_issue_success( method test_111_order_issue_success (line 2614) | def test_111_order_issue_success( method test_112_order_issue_no_fullchain (line 2656) | def test_112_order_issue_no_fullchain( method test_113_order_issue_invalid_order (line 2685) | def test_113_order_issue_invalid_order(self, mock_jwk, mock_order, moc... method test_114_order_authorization_http_challenge (line 2715) | def test_114_order_authorization_http_challenge( method test_115_order_authorization_dns_challenge (line 2751) | def test_115_order_authorization_dns_challenge( method test_116_order_authorization_sectigo_email_challenge (line 2790) | def test_116_order_authorization_sectigo_email_challenge( method test_117_order_authorization_no_challenge (line 2820) | def test_117_order_authorization_no_challenge( method test_118_get_dns_challenge_success (line 2834) | def test_118_get_dns_challenge_success(self, mock_jwk, mock_filter): method test_119_get_dns_challenge_no_challenge (line 2852) | def test_119_get_dns_challenge_no_challenge(self, mock_jwk): method test_120_set_environment_variables (line 2865) | def test_120_set_environment_variables(self): method test_121_unset_environment_variables (line 2885) | def test_121_unset_environment_variables(self): method test_122_unset_not_set_variable (line 2901) | def test_122_unset_not_set_variable(self): method test_123_dns_update_script_does_not_exist (line 2919) | def test_123_dns_update_script_does_not_exist(self, mock_exists): method test_124_dns_update_script_exists_and_acme_sh_script_missing (line 2933) | def test_124_dns_update_script_exists_and_acme_sh_script_missing(self,... method test_125_dns_validation_timeout_parsing (line 2953) | def test_125_dns_validation_timeout_parsing(self, mock_exists): method test_126_dns_update_script_variables_none (line 2972) | def test_126_dns_update_script_variables_none(self, mock_exists): method test_127_dns_validation_timeout_parsing (line 2990) | def test_127_dns_validation_timeout_parsing(self, mock_exists): method test_128_challenge_info_dns (line 3008) | def test_128_challenge_info_dns( method test_129_challenge_info_http (line 3033) | def test_129_challenge_info_http( method test_130_challenge_info_missing_authzr (line 3056) | def test_130_challenge_info_missing_authzr(self): method test_131_challenge_info_missing_user_key (line 3070) | def test_131_challenge_info_missing_user_key(self): method test_132_deprovision_calls_subprocess_and_env (line 3090) | def test_132_deprovision_calls_subprocess_and_env( method test_133_deprovision_calls_subprocess_and_env (line 3129) | def test_133_deprovision_calls_subprocess_and_env( method test_134_deprovision_no_records (line 3159) | def test_134_deprovision_no_records(self, mock_env_handle, mock_subpro... method test_135_deprovision_missing_scripts (line 3170) | def test_135_deprovision_missing_scripts(self): method test_136_dns_challenge_provision_success (line 3197) | def test_136_dns_challenge_provision_success( method test_137_dns_challenge_provision_success (line 3249) | def test_137_dns_challenge_provision_success( method test_138_dns_challenge_provision_success (line 3308) | def test_138_dns_challenge_provision_success( method test_139_dns_challenge_provision_timeout (line 3370) | def test_139_dns_challenge_provision_timeout( method test_140_existing_account_found (line 3411) | def test_140_existing_account_found(self, mock_directory, mock_reg, mo... method test_141_account_not_found_register_new (line 3432) | def test_141_account_not_found_register_new( method test_142_no_account_set_register_new (line 3464) | def test_142_no_account_set_register_new( method test_142_jwk_strip_minimal_fields (line 3487) | def test_142_jwk_strip_minimal_fields(self): method test_143_jwk_strip_non_rsa_key (line 3498) | def test_143_jwk_strip_non_rsa_key(self): method test_144_jwk_strip_missing_fields (line 3509) | def test_144_jwk_strip_missing_fields(self): method test_145_jwk_strip_invalid_jwk (line 3522) | def test_145_jwk_strip_invalid_jwk(self): method test_146_handler_check (line 3537) | def test_146_handler_check(self, mock_handler_check): FILE: test/test_acmechallenge.py class FakeDBStore (line 13) | class FakeDBStore(object): class TestACMEHandler (line 20) | class TestACMEHandler(unittest.TestCase): method setUp (line 25) | def setUp(self): method test_001__enter_ (line 39) | def test_001__enter_(self): method test_002__enter_ (line 43) | def test_002__enter_(self): method test_003_lookup (line 47) | def test_003_lookup(self): method test_004_lookup (line 52) | def test_004_lookup(self): method test_005_lookup (line 60) | def test_005_lookup(self): method test_006_lookup (line 68) | def test_006_lookup(self): FILE: test/test_asa_ca_handler.py class TestACMEHandler (line 16) | class TestACMEHandler(unittest.TestCase): method setUp (line 19) | def setUp(self): method test_001_default (line 30) | def test_001_default(self): method test_002__enter__ (line 35) | def test_002__enter__(self, mock_cfg): method test_003_poll (line 41) | def test_003_poll(self): method test_004_trigger (line 48) | def test_004_trigger(self): method test_005_config_load (line 55) | def test_005_config_load(self, mock_config_load): method test_006_config_load (line 83) | def test_006_config_load(self, mock_config_load): method test_007_config_load (line 111) | def test_007_config_load(self, mock_config_load): method test_008_config_load (line 139) | def test_008_config_load(self, mock_config_load): method test_009_config_load (line 167) | def test_009_config_load(self, mock_config_load): method test_010_config_load (line 188) | def test_010_config_load(self, mock_config_load): method test_011_config_load (line 220) | def test_011_config_load(self, mock_config_load): method test_012_config_load (line 252) | def test_012_config_load(self, mock_config_load): method test_013_config_load (line 288) | def test_013_config_load(self, mock_config_load): method test_014_config_load (line 321) | def test_014_config_load(self, mock_config_load): method test_015_config_load (line 353) | def test_015_config_load(self, mock_config_load): method test_016_config_load (line 385) | def test_016_config_load(self, mock_config_load): method test_017_config_load (line 417) | def test_017_config_load(self, mock_config_load): method test_018__api_post (line 449) | def test_018__api_post(self, mock_req): method test_019__api_post (line 460) | def test_019__api_post(self, mock_req): method test_020__api_post (line 477) | def test_020__api_post(self, mock_req): method test_021__api_post (line 486) | def test_021__api_post(self, mock_req): method test_022__api_get (line 501) | def test_022__api_get(self, mock_req): method test_023__api_get (line 512) | def test_023__api_get(self, mock_req): method test_024__api_get (line 529) | def test_024__api_get(self, mock_req): method test_025__issuers_list (line 542) | def test_025__issuers_list(self, mock_get): method test_026__profiles_list (line 548) | def test_026__profiles_list(self, mock_get): method test_027__certificates_list (line 555) | def test_027__certificates_list(self, mock_get): method test_028_cert_status_get (line 562) | def test_028_cert_status_get(self, mock_req): method test_029__csr_cn_get (line 573) | def test_029__csr_cn_get(self, mock_cn, mock_san): method test_030__csr_cn_get (line 582) | def test_030__csr_cn_get(self, mock_cn, mock_san): method test_031__csr_cn_get (line 597) | def test_031__csr_cn_get(self, mock_cn, mock_san): method test_032_issuer_verify (line 611) | def test_032_issuer_verify(self, mock_list): method test_033_issuer_verify (line 618) | def test_033_issuer_verify(self, mock_list): method test_034_issuer_verify (line 629) | def test_034_issuer_verify(self, mock_list): method test_035_profile_verify (line 641) | def test_035_profile_verify(self, mock_list): method test_036_profile_verify (line 648) | def test_036_profile_verify(self, mock_list): method test_037_profile_verify (line 662) | def test_037_profile_verify(self, mock_list): method test_038__validity_dates_get (line 675) | def test_038__validity_dates_get(self, mock_now, mock_utc): method test_039__pem_cert_chain_generate (line 685) | def test_039__pem_cert_chain_generate(self, mock_dec, mock_d2p, mock_b... method test_040__pem_cert_chain_generate (line 692) | def test_040__pem_cert_chain_generate(self): method test_041___issuer_chain_get (line 736) | def test_041___issuer_chain_get(self, mock_req, mock_pem): method test_042___issuer_chain_get (line 746) | def test_042___issuer_chain_get(self, mock_req, mock_pem): method test_043_enroll (line 765) | def test_043_enroll( method test_044_enroll (line 811) | def test_044_enroll( method test_045_enroll (line 859) | def test_045_enroll( method test_046_enroll (line 903) | def test_046_enroll( method test_047_enroll (line 945) | def test_047_enroll( method test_048_enroll (line 987) | def test_048_enroll( method test_049_enroll (line 1031) | def test_049_enroll( method test_050_revoke (line 1074) | def test_050_revoke(self, mock_ski, mock_post, mock_epr): method test_051_revoke (line 1087) | def test_051_revoke(self, mock_ski, mock_post, mock_epr): method test_052_revoke (line 1100) | def test_052_revoke(self, mock_ski, mock_post): method test_053_revoke (line 1114) | def test_053_revoke(self, mock_ski, mock_post): method test_054_revoke (line 1128) | def test_054_revoke(self, mock_ski, mock_post): method test_055_config_user_load (line 1141) | def test_055_config_user_load(self): method test_056_config_user_load (line 1149) | def test_056_config_user_load(self): method test_057_config_user_load (line 1162) | def test_057_config_user_load(self): method test_058_config_host_load (line 1172) | def test_058_config_host_load(self): method test_059_config_host_load (line 1180) | def test_059_config_host_load(self): method test_060_config_host_load (line 1193) | def test_060_config_host_load(self): method test_061_config_key_load (line 1203) | def test_061_config_key_load(self): method test_062_config_key_load (line 1211) | def test_062_config_key_load(self): method test_063_config_key_load (line 1224) | def test_063_config_key_load(self): method test_064_config_password_load (line 1234) | def test_064_config_password_load(self): method test_065_config_password_load (line 1242) | def test_065_config_password_load(self): method test_066_config_password_load (line 1255) | def test_066_config_password_load(self): method test_067_enrollment_dic_create (line 1270) | def test_067_enrollment_dic_create(self, mock_pkg, mock_ccg, mock_vdg): method test_068_handler_check (line 1286) | def test_068_handler_check(self, mock_handler_check): FILE: test/test_authorization.py class TestAuthorizationConfiguration (line 35) | class TestAuthorizationConfiguration(unittest.TestCase): method test_001_config_default_values (line 38) | def test_001_config_default_values(self): method test_002_config_custom_values (line 45) | def test_002_config_custom_values(self): class TestAuthorizationData (line 55) | class TestAuthorizationData(unittest.TestCase): method test_003_data_creation_required_fields (line 58) | def test_003_data_creation_required_fields(self): method test_004_data_creation_all_fields (line 71) | def test_004_data_creation_all_fields(self): method test_005_data_to_dict_basic (line 90) | def test_005_data_to_dict_basic(self, mock_uts_to_date): method test_006_data_to_dict_with_identifier (line 104) | def test_006_data_to_dict_with_identifier(self, mock_uts_to_date): method test_007_data_to_dict_with_wildcard (line 126) | def test_007_data_to_dict_with_wildcard(self, mock_uts_to_date): method test_008_data_to_dict_with_challenges (line 147) | def test_008_data_to_dict_with_challenges(self, mock_uts_to_date): class TestAuthorizationRepository (line 169) | class TestAuthorizationRepository(unittest.TestCase): method setUp (line 172) | def setUp(self): method test_009_repository_initialization (line 177) | def test_009_repository_initialization(self): method test_010_find_authorization_by_name_success (line 182) | def test_010_find_authorization_by_name_success(self): method test_011_find_authorization_by_name_with_field_list (line 196) | def test_011_find_authorization_by_name_with_field_list(self): method test_012_find_authorization_by_name_not_found (line 208) | def test_012_find_authorization_by_name_not_found(self): method test_013_find_authorization_by_name_empty_result (line 216) | def test_013_find_authorization_by_name_empty_result(self): method test_014_find_authorization_by_name_database_error (line 221) | def test_014_find_authorization_by_name_database_error(self): method test_015_update_authorization_expiry_success (line 236) | def test_015_update_authorization_expiry_success(self): method test_016_update_authorization_expiry_database_error (line 252) | def test_016_update_authorization_expiry_database_error(self): method test_017_search_expired_authorizations_success (line 269) | def test_017_search_expired_authorizations_success(self): method test_018_search_expired_authorizations_database_error (line 283) | def test_018_search_expired_authorizations_database_error(self): method test_019_mark_authorization_as_expired_success (line 298) | def test_019_mark_authorization_as_expired_success(self): method test_020_mark_authorization_as_expired_database_error (line 308) | def test_020_mark_authorization_as_expired_database_error(self): method test_021_mark_authorization_as_valid_success (line 323) | def test_021_mark_authorization_as_valid_success(self): method test_022_mark_authorization_as_valid_database_error (line 332) | def test_022_mark_authorization_as_valid_database_error(self): method test_023_mark_order_as_ready_success (line 347) | def test_023_mark_order_as_ready_success(self): method test_024_mark_order_as_ready_database_error (line 356) | def test_024_mark_order_as_ready_database_error(self): class TestAuthorizationBusinessLogic (line 370) | class TestAuthorizationBusinessLogic(unittest.TestCase): method setUp (line 373) | def setUp(self): method test_025_business_logic_initialization (line 381) | def test_025_business_logic_initialization(self): method test_026_extract_authorization_name_from_url (line 388) | def test_026_extract_authorization_name_from_url(self, mock_sanitize): method test_027_extract_authorization_name_from_url_custom_path (line 402) | def test_027_extract_authorization_name_from_url_custom_path(self, moc... method test_028_generate_authorization_token_and_expiry (line 418) | def test_028_generate_authorization_token_and_expiry( method test_029_enrich_authorization_with_identifier_info_empty (line 432) | def test_029_enrich_authorization_with_identifier_info_empty(self): method test_030_enrich_authorization_with_identifier_info_dict (line 442) | def test_030_enrich_authorization_with_identifier_info_dict(self): method test_031_enrich_authorization_with_identifier_info_list (line 458) | def test_031_enrich_authorization_with_identifier_info_list(self): method test_032_enrich_authorization_with_identifier_info_tnauthlist (line 476) | def test_032_enrich_authorization_with_identifier_info_tnauthlist(self): method test_033_enrich_authorization_with_identifier_info_wildcard (line 496) | def test_033_enrich_authorization_with_identifier_info_wildcard(self): method test_034_enrich_authorization_with_identifier_info_no_type_value (line 516) | def test_034_enrich_authorization_with_identifier_info_no_type_value(s... method test_035_extract_identifier_info_for_challenge_success (line 529) | def test_035_extract_identifier_info_for_challenge_success(self): method test_036_extract_identifier_info_for_challenge_no_identifier (line 540) | def test_036_extract_identifier_info_for_challenge_no_identifier(self): method test_037_extract_identifier_info_for_challenge_partial_identifier (line 551) | def test_037_extract_identifier_info_for_challenge_partial_identifier(... method test_038_is_authorization_eligible_for_expiry_valid (line 567) | def test_038_is_authorization_eligible_for_expiry_valid(self): method test_039_is_authorization_eligible_for_expiry_missing_name (line 575) | def test_039_is_authorization_eligible_for_expiry_missing_name(self): method test_040_is_authorization_eligible_for_expiry_missing_status (line 583) | def test_040_is_authorization_eligible_for_expiry_missing_status(self): method test_041_is_authorization_eligible_for_expiry_already_expired (line 591) | def test_041_is_authorization_eligible_for_expiry_already_expired(self): method test_042_is_authorization_eligible_for_expiry_zero_expires (line 599) | def test_042_is_authorization_eligible_for_expiry_zero_expires(self): class TestChallengeSetManager (line 608) | class TestChallengeSetManager(unittest.TestCase): method setUp (line 611) | def setUp(self): method test_043_challenge_manager_initialization (line 617) | def test_043_challenge_manager_initialization(self): method test_044_get_challenge_set_for_authorization_success (line 624) | def test_044_get_challenge_set_for_authorization_success( method test_045_get_challenge_set_for_authorization_with_none_values (line 656) | def test_045_get_challenge_set_for_authorization_with_none_values( class TestAuthorization (line 680) | class TestAuthorization(unittest.TestCase): method setUp (line 681) | def setUp(self): method tearDown (line 686) | def tearDown(self): method test_046_authorization_initialization_defaults (line 689) | def test_046_authorization_initialization_defaults(self): method test_047_authorization_initialization_custom_params (line 702) | def test_047_authorization_initialization_custom_params(self): method test_048_authorization_context_manager_enter (line 714) | def test_048_authorization_context_manager_enter( method test_049_authorization_context_manager_exit (line 731) | def test_049_authorization_context_manager_exit(self): method test_050_load_configuration_empty (line 738) | def test_050_load_configuration_empty(self, mock_load_config, mock_eab... method test_051_load_configuration_success (line 754) | def test_051_load_configuration_success(self, mock_load_config, mock_e... method test_052_load_configuration_invalid_validity (line 771) | def test_052_load_configuration_invalid_validity(self, mock_load_config): method test_053_load_configuration_empty_config (line 789) | def test_053_load_configuration_empty_config( method test_054_get_authorization_details_not_found (line 801) | def test_054_get_authorization_details_not_found(self): method test_055_get_authorization_details_success_minimal (line 815) | def test_055_get_authorization_details_success_minimal(self, mock_uts_... method test_056_get_authorization_details_success_with_details (line 859) | def test_056_get_authorization_details_success_with_details(self, mock... method test_057_get_authorization_details_challenge_error (line 908) | def test_057_get_authorization_details_challenge_error(self): method test_058_expire_invalid_authorizations_default_timestamp (line 951) | def test_058_expire_invalid_authorizations_default_timestamp(self, moc... method test_059_expire_invalid_authorizations_custom_timestamp (line 974) | def test_059_expire_invalid_authorizations_custom_timestamp(self): method test_060_expire_invalid_authorizations_search_error (line 996) | def test_060_expire_invalid_authorizations_search_error(self): method test_061_expire_invalid_authorizations_not_eligible (line 1015) | def test_061_expire_invalid_authorizations_not_eligible(self): method test_062_expire_invalid_authorizations_expire_error (line 1035) | def test_062_expire_invalid_authorizations_expire_error(self): method test_063_handle_get_request_success (line 1065) | def test_063_handle_get_request_success(self): method test_064_handle_get_request_not_found (line 1080) | def test_064_handle_get_request_not_found(self): method test_065_handle_get_request_none_result (line 1098) | def test_065_handle_get_request_none_result(self): method test_066_handle_get_request_authorization_error (line 1116) | def test_066_handle_get_request_authorization_error(self): method test_067_handle_post_request_success_with_expiry_check (line 1146) | def test_067_handle_post_request_success_with_expiry_check(self): method test_068_handle_post_request_expiry_check_disabled (line 1179) | def test_068_handle_post_request_expiry_check_disabled(self): method test_069_handle_post_request_invalidate_error (line 1203) | def test_069_handle_post_request_invalidate_error(self): method test_070_handle_post_request_no_url (line 1238) | def test_070_handle_post_request_no_url(self): method test_071_handle_post_request_message_check_failure (line 1297) | def test_071_handle_post_request_message_check_failure(self): method test_072_handle_post_request_missing_url (line 1317) | def test_072_handle_post_request_missing_url(self): method test_073_handle_post_request_authorization_lookup_failed (line 1350) | def test_073_handle_post_request_authorization_lookup_failed(self): method test_074_handle_post_request_authorization_error (line 1388) | def test_074_handle_post_request_authorization_error(self): method test_075_handle_post_request_authorization_details_valid (line 1428) | def test_075_handle_post_request_authorization_details_valid(self): method test_076_new_get_backward_compatibility (line 1468) | def test_076_new_get_backward_compatibility(self): method test_077_new_post_backward_compatibility (line 1476) | def test_077_new_post_backward_compatibility(self): method test_078_invalidate_backward_compatibility (line 1486) | def test_078_invalidate_backward_compatibility(self): method test_079_load_configuration_prevalidated_domainlist_success (line 1499) | def test_079_load_configuration_prevalidated_domainlist_success( method test_080_apply_domain_whitelist_else_branch (line 1518) | def test_080_apply_domain_whitelist_else_branch(self): method test_081_apply_eab_and_domain_whitelist_always_calls_domain_whitelist (line 1562) | def test_081_apply_eab_and_domain_whitelist_always_calls_domain_whitel... method test_082_load_configuration_prevalidated_domainlist_invalid_json (line 1592) | def test_082_load_configuration_prevalidated_domainlist_invalid_json( method test_083_eab_profile_prevalidated_domainlist_applied (line 1612) | def test_083_eab_profile_prevalidated_domainlist_applied(self): method test_084_eab_profile_no_prevalidated_domainlist (line 1631) | def test_084_eab_profile_no_prevalidated_domainlist(self): method test_085_eab_profile_handler_exception (line 1648) | def test_085_eab_profile_handler_exception(self): method test_086_domain_whitelist_dns_match (line 1666) | def test_086_domain_whitelist_dns_match(self): method test_087_domain_whitelist_dns_no_match (line 1683) | def test_087_domain_whitelist_dns_no_match(self): method test_088_domain_whitelist_not_set (line 1696) | def test_088_domain_whitelist_not_set(self): method test_089_domain_whitelist_non_dns (line 1708) | def test_089_domain_whitelist_non_dns(self): class TestAuthorizationExceptions (line 1721) | class TestAuthorizationExceptions(unittest.TestCase): method test_090_authorization_error (line 1724) | def test_090_authorization_error(self): method test_091_authorization_not_found_error (line 1730) | def test_091_authorization_not_found_error(self): method test_092_authorization_expired_error (line 1737) | def test_092_authorization_expired_error(self): method test_093_configuration_error (line 1744) | def test_093_configuration_error(self): method test_094_authorization_error (line 1751) | def test_094_authorization_error(self): method test_095_authorization_not_found_error (line 1757) | def test_095_authorization_not_found_error(self): method test_096_authorization_expired_error (line 1764) | def test_096_authorization_expired_error(self): method test_097_configuration_error (line 1771) | def test_097_configuration_error(self): class TestAuthorizationRepositoryLogging (line 1779) | class TestAuthorizationRepositoryLogging(unittest.TestCase): method setUp (line 1782) | def setUp(self): method test_098_authorization_expiry_logs_error (line 1789) | def test_098_authorization_expiry_logs_error(self): method test_099_authorization_as_valid_logs_critical (line 1797) | def test_099_authorization_as_valid_logs_critical(self): method test_100_order_as_ready_logs_critical (line 1805) | def test_100_order_as_ready_logs_critical(self): method test_101_authorization_as_expired_logs_critical (line 1813) | def test_101_authorization_as_expired_logs_critical(self): FILE: test/test_certificate.py class FakeDBStore (line 11) | class FakeDBStore(object): class TestCertificateLogger (line 18) | class TestCertificateLogger(unittest.TestCase): method setUp (line 19) | def setUp(self): method test_001_log_issuance_success_json (line 36) | def test_001_log_issuance_success_json(self, mock_san, mock_cn, mock_s... method test_001_log_issuance_success_text (line 56) | def test_001_log_issuance_success_text(self, mock_san, mock_cn, mock_s... method test_002_log_revocation_success_json (line 77) | def test_002_log_revocation_success_json(self, mock_san, mock_cn, mock... method test_002_log_revocation_success_text (line 95) | def test_002_log_revocation_success_text(self, mock_san, mock_cn, mock... method test_003_log_issuance_db_error (line 114) | def test_003_log_issuance_db_error(self, mock_san, mock_cn, mock_serial): method test_004_log_revocation_db_error (line 128) | def test_004_log_revocation_db_error(self, mock_san, mock_cn, mock_ser... method test_005_log_issuance_text_format (line 140) | def test_005_log_issuance_text_format(self, mock_san, mock_cn, mock_se... method test_006_log_issuance_with_reusage_and_kid (line 160) | def test_006_log_issuance_with_reusage_and_kid( method test_007_log_revocation_text_format (line 182) | def test_007_log_revocation_text_format(self, mock_san, mock_cn, mock_... method test_008_log_as_json (line 197) | def test_008_log_as_json(self): method test_009_log_issuance_as_text (line 202) | def test_009_log_issuance_as_text(self): method test_010_log_revocation_as_text (line 221) | def test_010_log_revocation_as_text(self): class TestCertificate (line 241) | class TestCertificate(unittest.TestCase): method setUp (line 242) | def setUp(self): method test_011_load_hooks_configuration_success (line 279) | def test_011_load_hooks_configuration_success(self): method test_012_load_hooks_configuration_failure (line 287) | def test_012_load_hooks_configuration_failure(self): method test_013_load_hooks_configuration_hooks_exception (line 296) | def test_013_load_hooks_configuration_hooks_exception(self): method test_014_load_configuration (line 308) | def test_014_load_configuration(self): method test_015_load_configuration_no_ca_handler_logs_critical (line 328) | def test_015_load_configuration_no_ca_handler_logs_critical(self): method test_016_load_and_validate_identifiers_tnauth (line 339) | def test_016_load_and_validate_identifiers_tnauth(self): method test_017_load_and_validate_identifiers_sans (line 353) | def test_017_load_and_validate_identifiers_sans(self): method test_018_validate_csr_against_order_success (line 365) | def test_018_validate_csr_against_order_success(self): method test_019_validate_csr_against_order_failure (line 375) | def test_019_validate_csr_against_order_failure(self): method test_020_process_certificate_enrollment_reuse (line 385) | def test_020_process_certificate_enrollment_reuse(self): method test_021_process_certificate_enrollment_new (line 397) | def test_021_process_certificate_enrollment_new(self): method test_022_get_certificate_renewal_info (line 406) | def test_022_get_certificate_renewal_info(self): method test_023_store_certificate_and_update_order_success (line 413) | def test_023_store_certificate_and_update_order_success(self): method test_024_certificate_and_update_order_error_handling (line 424) | def test_024_certificate_and_update_order_error_handling(self): method test_025_check_identifier_match (line 444) | def test_025_check_identifier_match(self): method test_026_validate_identifiers_against_sans (line 449) | def test_026_validate_identifiers_against_sans(self): method test_027_validate_identifiers_against_sans_unknown (line 458) | def test_027_validate_identifiers_against_sans_unknown(self): method test_028_validate_identifiers_against_nosans (line 472) | def test_028_validate_identifiers_against_nosans(self): method test_029_check_tnauth_identifier_match (line 484) | def test_029_check_tnauth_identifier_match(self): method test_030_validate_identifiers_against_tnauthlist (line 490) | def test_030_validate_identifiers_against_tnauthlist(self): method test_031_validate_identifiers_against_tnauthlist_tnauthlist_and_not_identifier_dic (line 498) | def test_031_validate_identifiers_against_tnauthlist_tnauthlist_and_no... method test_032_validate_identifiers_against_tnauthlist_identifiers_and_tnauthlist (line 509) | def test_032_validate_identifiers_against_tnauthlist_identifiers_and_t... method test_033_validate_identifiers_against_tnauthlist_else_branch (line 523) | def test_033_validate_identifiers_against_tnauthlist_else_branch(self): method test_034_get_certificate_info_success (line 532) | def test_034_get_certificate_info_success(self): method test_035_update_order_status (line 537) | def test_035_update_order_status(self): method test_036_update_order_status_exception (line 541) | def test_036_update_order_status_exception(self): method test_037_validate_revocation_reason (line 550) | def test_037_validate_revocation_reason(self): method test_038_validate_revocation_request_success (line 554) | def test_038_validate_revocation_request_success(self): method test_039_store_certificate_in_database_success (line 564) | def test_039_store_certificate_in_database_success(self): method test_040_store_certificate_error_success (line 577) | def test_040_store_certificate_error_success(self): method test_041_check_for_tnauth_identifiers (line 582) | def test_041_check_for_tnauth_identifiers(self): method test_042_certlist_search (line 587) | def test_042_certlist_search(self): method test_043_cleanup (line 594) | def test_043_cleanup(self): method test_044_cleanup (line 602) | def test_044_cleanup(self): method test_045_update_certificate_dates (line 612) | def test_045_update_certificate_dates(self): method test_046_dates_update (line 630) | def test_046_dates_update(self): method test_047_validate_input_parameters_all_valid (line 647) | def test_047_validate_input_parameters_all_valid(self): method test_048_validate_input_parameters_some_invalid (line 652) | def test_048_validate_input_parameters_some_invalid(self): method test_049_create_error_response (line 659) | def test_049_create_error_response(self): method test_050_validate_certificate_account_ownership_success (line 663) | def test_050_validate_certificate_account_ownership_success(self): method test_051_validate_certificate_account_ownership_db_error (line 669) | def test_051_validate_certificate_account_ownership_db_error(self): method test_052_validate_certificate_authorization_tnauthlist (line 680) | def test_052_validate_certificate_authorization_tnauthlist(self): method test_053_validate_certificate_authorization_sans (line 694) | def test_053_validate_certificate_authorization_sans(self): method test_054_certificate_authorization_json_decode_error (line 706) | def test_054_certificate_authorization_json_decode_error(self): method test_055_certificate_authorization_tnauthlist_cert_extensions_get_exception (line 721) | def test_055_certificate_authorization_tnauthlist_cert_extensions_get_... method test_056_certificate_authorization_debug_log (line 744) | def test_056_certificate_authorization_debug_log(self): method test_057_validate_order_authorization_success (line 757) | def test_057_validate_order_authorization_success(self): method test_058_validate_order_authorization_failure (line 764) | def test_058_validate_order_authorization_failure(self): method test_059_validate_order_authorization_db_error (line 771) | def test_059_validate_order_authorization_db_error(self): method test_060_check_certificate_reusability_found (line 780) | def test_060_check_certificate_reusability_found(self): method test_061_check_certificate_reusability_db_error (line 795) | def test_061_check_certificate_reusability_db_error(self): method test_062_check_certificate_reusability_none_found (line 806) | def test_062_check_certificate_reusability_none_found(self): method test_063_handle_enrollment_error (line 812) | def test_063_handle_enrollment_error(self): method test_064_enrollment_error_poll_identifier (line 817) | def test_064_enrollment_error_poll_identifier(self): method test_065_execute_pre_enrollment_hooks (line 826) | def test_065_execute_pre_enrollment_hooks(self): method test_066_pre_enrollment_hooks_with_hooks (line 833) | def test_066_pre_enrollment_hooks_with_hooks(self): method test_067_execute_post_enrollment_hooks (line 841) | def test_067_execute_post_enrollment_hooks(self): method test_068_post_enrollment_hooks_with_error (line 854) | def test_068_post_enrollment_hooks_with_error(self): method test_069_handle_processing_certificate (line 869) | def test_069_handle_processing_certificate(self): method test_070_handle_valid_certificate (line 875) | def test_070_handle_valid_certificate(self): method test_071_handle_valid_certificate_db_error (line 885) | def test_071_handle_valid_certificate_db_error(self): method test_072_determine_certificate_response_valid (line 897) | def test_072_determine_certificate_response_valid(self): method test_073_determine_certificate_response_processing (line 911) | def test_073_determine_certificate_response_processing(self): method test_074_determine_certificate_response_invalid (line 925) | def test_074_determine_certificate_response_invalid(self): method test_075_validate_input_parameters_invalid (line 929) | def test_075_validate_input_parameters_invalid(self): method test_076_poll_certificate_status_success (line 943) | def test_076_poll_certificate_status_success(self): method test_077_poll_certificate_status_failure (line 956) | def test_077_poll_certificate_status_failure(self): method test_078_poll_certificate_status_failure (line 969) | def test_078_poll_certificate_status_failure(self): method test_079_store_certificate_signing_request_success (line 989) | def test_079_store_certificate_signing_request_success(self): method test_080_store_certificate_signing_request_failure (line 997) | def test_080_store_certificate_signing_request_failure(self): method test_081_store_certificate_signing_request_exception (line 1004) | def test_081_store_certificate_signing_request_exception(self): method test_082_handle_successful_certificate_poll_db_error (line 1019) | def test_082_handle_successful_certificate_poll_db_error(self): method test_083_handle_failed_certificate_poll_db_error (line 1033) | def test_083_handle_failed_certificate_poll_db_error(self): method test_084_handle_failed_certificate_poll_order_update_error (line 1046) | def test_084_handle_failed_certificate_poll_order_update_error(self): method test_085_enroll_and_store_legacy (line 1057) | def test_085_enroll_and_store_legacy(self): method test_086_new_get_legacy (line 1067) | def test_086_new_get_legacy(self): method test_087_new_post_legacy (line 1075) | def test_087_new_post_legacy(self): method test_088_revoke_legacy (line 1083) | def test_088_revoke_legacy(self): method test_089_poll_legacy (line 1091) | def test_089_poll_legacy(self): method test_090_store_csr_legacy (line 1099) | def test_090_store_csr_legacy(self): method test_091_validate_certificate_account_ownership_exception (line 1107) | def test_091_validate_certificate_account_ownership_exception(self): method test_092_validate_certificate_authorization_exception (line 1120) | def test_092_validate_certificate_authorization_exception(self): method test_093_validate_order_authorization_exception (line 1134) | def test_093_validate_order_authorization_exception(self): method test_094_check_certificate_reusability_exception (line 1144) | def test_094_check_certificate_reusability_exception(self): method test_095_process_certificate_enrollment_exception (line 1156) | def test_095_process_certificate_enrollment_exception(self): method test_096_store_certificate_and_update_order_exception (line 1167) | def test_096_store_certificate_and_update_order_exception(self): method test_097_dates_update (line 1185) | def test_097_dates_update(self): method test_098_update_certificate_dates_with_dates (line 1203) | def test_098_update_certificate_dates_with_dates(self): method test_099_update_certificate_dates_zero_dates (line 1219) | def test_099_update_certificate_dates_zero_dates(self): method test_100_handle_enrollment_thread_execution_success (line 1238) | def test_100_handle_enrollment_thread_execution_success(self): method test_101_handle_enrollment_thread_execution_timeout (line 1250) | def test_101_handle_enrollment_thread_execution_timeout(self): method test_102_handle_enrollment_thread_execution_exception (line 1262) | def test_102_handle_enrollment_thread_execution_exception(self): method test_103_parse_enrollment_result_valid_tuple (line 1273) | def test_103_parse_enrollment_result_valid_tuple(self): method test_104_parse_enrollment_result_invalid_format (line 1278) | def test_104_parse_enrollment_result_invalid_format(self): method test_105_process_certificate_enrollment_request_invalid_input (line 1283) | def test_105_process_certificate_enrollment_request_invalid_input(self): method test_106_process_certificate_enrollment_request_csr_validation_error (line 1298) | def test_106_process_certificate_enrollment_request_csr_validation_err... method test_107_process_certificate_enrollment_request_csr_validation_failed (line 1313) | def test_107_process_certificate_enrollment_request_csr_validation_fai... method test_108_process_certificate_enrollment_request_enrollment_success (line 1326) | def test_108_process_certificate_enrollment_request_enrollment_success... method test_109_process_certificate_enrollment_request_unexpected_error (line 1340) | def test_109_process_certificate_enrollment_request_unexpected_error(s... method test_110_determine_certificate_response_no_cert_info (line 1353) | def test_110_determine_certificate_response_no_cert_info(self): method test_111_determine_certificate_response_valid_order (line 1358) | def test_111_determine_certificate_response_valid_order(self): method test_112_determine_certificate_response_processing_order (line 1370) | def test_112_determine_certificate_response_processing_order(self): method test_113_determine_certificate_response_invalid_order (line 1379) | def test_113_determine_certificate_response_invalid_order(self): method test_114_handle_valid_certificate_with_cert (line 1386) | def test_114_handle_valid_certificate_with_cert(self): method test_115_and_validate_identifiers_json_decode_error (line 1393) | def test_115_and_validate_identifiers_json_decode_error(self): method test_116_and_validate_identifiers_tnauthlist_extension_error (line 1404) | def test_116_and_validate_identifiers_tnauthlist_extension_error(self): method test_117_and_validate_identifiers_san_extraction_error (line 1423) | def test_117_and_validate_identifiers_san_extraction_error(self): method test_118_handle_valid_certificate_no_cert (line 1439) | def test_118_handle_valid_certificate_no_cert(self): method test_119_handle_processing_certificate (line 1445) | def test_119_handle_processing_certificate(self): method test_120_get_certificate_details_invalid_url (line 1453) | def test_120_get_certificate_details_invalid_url(self): method test_121_get_certificate_details_manager_error (line 1461) | def test_121_get_certificate_details_manager_error(self): method test_122_get_certificate_details_success (line 1473) | def test_122_get_certificate_details_success(self): method test_123_get_certificate_details_unexpected_error (line 1487) | def test_123_get_certificate_details_unexpected_error(self): method test_124_validate_certificate_request_message_success (line 1500) | def test_124_validate_certificate_request_message_success(self): method test_125_validate_certificate_request_message_error (line 1510) | def test_125_validate_certificate_request_message_error(self): method test_126_prepare_certificate_response_success (line 1518) | def test_126_prepare_certificate_response_success(self): method test_127_prepare_certificate_response_with_dict_data (line 1530) | def test_127_prepare_certificate_response_with_dict_data(self): method test_128_prepare_certificate_response_error (line 1542) | def test_128_prepare_certificate_response_error(self): method test_129_process_certificate_request_invalid_content (line 1554) | def test_129_process_certificate_request_invalid_content(self): method test_130_process_certificate_request_message_validation_error (line 1564) | def test_130_process_certificate_request_message_validation_error(self): method test_131_process_certificate_request_success_with_url (line 1578) | def test_131_process_certificate_request_success_with_url(self): method test_132_process_certificate_request_success_with_url (line 1596) | def test_132_process_certificate_request_success_with_url(self): method test_133_process_certificate_request_missing_url (line 1616) | def test_133_process_certificate_request_missing_url(self): method test_134_process_certificate_request_get_details_error (line 1630) | def test_134_process_certificate_request_get_details_error(self): method test_135_process_certificate_request_unexpected_error (line 1654) | def test_135_process_certificate_request_unexpected_error(self): method test_136_validate_revocation_message_success (line 1669) | def test_136_validate_revocation_message_success(self): method test_137_validate_revocation_message_error (line 1679) | def test_137_validate_revocation_message_error(self): method test_138_process_certificate_revocation_validation_error (line 1687) | def test_138_process_certificate_revocation_validation_error(self): method test_139_process_certificate_revocation_success (line 1695) | def test_139_process_certificate_revocation_success(self): method test_140_process_certificate_revocation_with_logging (line 1708) | def test_140_process_certificate_revocation_with_logging(self): method test_141_process_certificate_revocation_logging_error (line 1724) | def test_141_process_certificate_revocation_logging_error(self): method test_142_process_certificate_revocation_exception (line 1744) | def test_142_process_certificate_revocation_exception(self): method test_143_revoke_certificate_invalid_content (line 1754) | def test_143_revoke_certificate_invalid_content(self): method test_144_revoke_certificate_message_validation_error (line 1764) | def test_144_revoke_certificate_message_validation_error(self): method test_145_revoke_certificate_success (line 1778) | def test_145_revoke_certificate_success(self): method test_146_revoke_certificate_unexpected_error (line 1796) | def test_146_revoke_certificate_unexpected_error(self): method test_147_process_enrollment_and_store_certificate_success (line 1811) | def test_147_process_enrollment_and_store_certificate_success(self): method test_148_process_enrollment_and_store_certificate_enrollment_error (line 1835) | def test_148_process_enrollment_and_store_certificate_enrollment_error... method test_149_process_enrollment_and_store_certificate_pre_hook_error (line 1856) | def test_149_process_enrollment_and_store_certificate_pre_hook_error(s... method test_150_process_enrollment_and_store_certificate_post_hook_error (line 1866) | def test_150_process_enrollment_and_store_certificate_post_hook_error(... method test_151_process_enrollment_and_store_certificate_store_error (line 1890) | def test_151_process_enrollment_and_store_certificate_store_error(self): method test_152_process_enrollment_and_store_certificate_logger_exception (line 1908) | def test_152_process_enrollment_and_store_certificate_logger_exception... method test_153_get_certificate_info_success (line 1932) | def test_153_get_certificate_info_success(self): method test_154_get_certificate_info_db_error (line 1942) | def test_154_get_certificate_info_db_error(self): method test_155_process_certificate_request_code_200_no_url (line 1953) | def test_155_process_certificate_request_code_200_no_url(self): method test_156_store_certificate_signing_request_unexpected_exception (line 1974) | def test_156_store_certificate_signing_request_unexpected_exception(se... method test_157_poll_certificate_status_unexpected_exception (line 2001) | def test_157_poll_certificate_status_unexpected_exception(self): method test_158_handle_successful_certificate_poll_order_update_exception (line 2012) | def test_158_handle_successful_certificate_poll_order_update_exception... method test_159_process_certificate_request_get_certificate_details_exception (line 2030) | def test_159_process_certificate_request_get_certificate_details_excep... method test_160_process_certificate_request_outer_exception (line 2047) | def test_160_process_certificate_request_outer_exception(self): method test_161_process_certificate_request_url_missing (line 2062) | def test_161_process_certificate_request_url_missing(self): method test_162_process_certificate_revocation_logger_warning (line 2077) | def test_162_process_certificate_revocation_logger_warning(self): method test_163_revoke_certificate_payload_missing_certificate (line 2099) | def test_163_revoke_certificate_payload_missing_certificate(self): method test_164_revoke_certificate_outer_exception (line 2114) | def test_164_revoke_certificate_outer_exception(self): method test_165_store_certificate_signing_request_unexpected_exception (line 2129) | def test_165_store_certificate_signing_request_unexpected_exception(se... method test_166_poll_certificate_status_unexpected_exception (line 2145) | def test_166_poll_certificate_status_unexpected_exception(self): method test_167_store_certificate_in_database_exception (line 2160) | def test_167_store_certificate_in_database_exception( method test_168_store_certificate_error_exception (line 2176) | def test_168_store_certificate_error_exception(self): method test_169_check_tnauth_identifier_match_true (line 2188) | def test_169_check_tnauth_identifier_match_true(self): method test_170_check_tnauth_identifier_match_false (line 2196) | def test_170_check_tnauth_identifier_match_false(self): method test_171_check_identifier_match_true (line 2204) | def test_171_check_identifier_match_true(self): method test_172_check_identifier_match_false (line 2214) | def test_172_check_identifier_match_false(self): method test_173_validate_revocation_request_unauthorized_forced (line 2224) | def test_173_validate_revocation_request_unauthorized_forced(self): method test_174_validate_revocation_request_unauthorized_minimal (line 2245) | def test_174_validate_revocation_request_unauthorized_minimal(self): method test_175_validate_revocation_request_bad_reason (line 2261) | def test_175_validate_revocation_request_bad_reason(self): method test_176_validate_revocation_request_no_reason (line 2273) | def test_176_validate_revocation_request_no_reason(self): method test_177_validate_revocation_request_unauthorized (line 2288) | def test_177_validate_revocation_request_unauthorized(self): method test_178_validate_revocation_request_success (line 2309) | def test_178_validate_revocation_request_success(self): method test_179_validate_revocation_request_nocert (line 2324) | def test_179_validate_revocation_request_nocert(self): method test_180_validate_csr_against_order_order_lookup_exception (line 2348) | def test_180_validate_csr_against_order_order_lookup_exception(self): method test_181_store_certificate_and_update_order_success_hook (line 2365) | def test_181_store_certificate_and_update_order_success_hook(self): method test_182_store_certificate_and_update_order_success_hook_exception (line 2386) | def test_182_store_certificate_and_update_order_success_hook_exception... method test_183_store_certificate_and_update_order_success_hook_exception_ignore (line 2404) | def test_183_store_certificate_and_update_order_success_hook_exception... method test_184_execute_pre_enrollment_hooks_exception (line 2423) | def test_184_execute_pre_enrollment_hooks_exception(self): method test_185_handle_enrollment_error_no_poll_identifier (line 2438) | def test_185_handle_enrollment_error_no_poll_identifier(self): method test_186_handle_enrollment_error_with_poll_identifier (line 2456) | def test_186_handle_enrollment_error_with_poll_identifier(self): method test_187_handle_enrollment_error_rejected_identifier (line 2471) | def test_187_handle_enrollment_error_rejected_identifier(self): method test_188_handle_enrollment_error_exception (line 2501) | def test_188_handle_enrollment_error_exception(self): method test_189_validate_certificate_authorization_sans_exception (line 2520) | def test_189_validate_certificate_authorization_sans_exception(self): method test_190_enter_calls_load_configuration_and_returns_self (line 2540) | def test_190_enter_calls_load_configuration_and_returns_self(self): method test_191_validate_certificate_authorization_cn2san_add (line 2547) | def test_191_validate_certificate_authorization_cn2san_add(self): method test_192_validate_certificate_authorization_sans_exception (line 2565) | def test_192_validate_certificate_authorization_sans_exception(self): method test_193_handle_enrollment_thread_execution_async_mode (line 2585) | def test_193_handle_enrollment_thread_execution_async_mode(self): method test_194_check_certificate_reusability_reused_values (line 2599) | def test_194_check_certificate_reusability_reused_values(self): method test_195_process_enrollment_and_store_certificate_log_exception (line 2617) | def test_195_process_enrollment_and_store_certificate_log_exception(se... method test_196_load_configuration_defaults (line 2642) | def test_196_load_configuration_defaults(self): method test_197_load_configuration_full_config (line 2659) | def test_197_load_configuration_full_config(self): method test_198_configuration_partial_config (line 2689) | def test_198_configuration_partial_config(self): method test_199_configuration_directory_url_prefix (line 2705) | def test_199_configuration_directory_url_prefix(self): method test_200_load_configuration_type_conversion_and_fallback (line 2717) | def test_200_load_configuration_type_conversion_and_fallback(self): method test_201_load_configuration_logging (line 2744) | def test_201_load_configuration_logging(self): method test_202_cert_operations_log_config_applied_to_logger (line 2754) | def test_202_cert_operations_log_config_applied_to_logger(self): method test_203_cert_operations_log_with_context_manager (line 2772) | def test_203_cert_operations_log_with_context_manager(self): FILE: test/test_certificate_business_logic.py class TestCertificateBusinessLogic (line 12) | class TestCertificateBusinessLogic(unittest.TestCase): method setUp (line 13) | def setUp(self): method test_001_validate_csr_valid (line 31) | def test_001_validate_csr_valid(self, mock_csr_load): method test_002_validate_csr_empty (line 39) | def test_002_validate_csr_empty(self, mock_csr_load): method test_003_validate_csr_invalid_format (line 46) | def test_003_validate_csr_invalid_format(self, mock_csr_load): method test_004_validate_csr_exception (line 54) | def test_004_validate_csr_exception(self, mock_csr_load): method test_005_calculate_certificate_dates_valid (line 62) | def test_005_calculate_certificate_dates_valid(self, mock_cert_dates_g... method test_006_calculate_certificate_dates_exception (line 69) | def test_006_calculate_certificate_dates_exception(self, mock_cert_dat... method test_007_generate_certificate_name (line 76) | def test_007_generate_certificate_name(self, mock_generate_random_stri... method test_008_validate_certificate_data_empty (line 81) | def test_008_validate_certificate_data_empty(self): method test_009_validate_certificate_data_pem (line 84) | def test_009_validate_certificate_data_pem(self): method test_010_validate_certificate_data_other (line 88) | def test_010_validate_certificate_data_other(self): method test_011_validate_certificate_data_exception (line 91) | def test_011_validate_certificate_data_exception(self): method test_012_extract_certificate_info (line 102) | def test_012_extract_certificate_info( method test_013_extract_certificate_info_exception (line 122) | def test_013_extract_certificate_info_exception(self, mock_serial): method test_014_sanitize_certificate_name (line 127) | def test_014_sanitize_certificate_name(self, mock_string_sanitize): method test_015_sanitize_certificate_name_exception (line 136) | def test_015_sanitize_certificate_name_exception(self, mock_string_san... method test_016_format_certificate_response_with_cert (line 140) | def test_016_format_certificate_response_with_cert(self): method test_017_format_certificate_response_without_cert (line 149) | def test_017_format_certificate_response_without_cert(self): FILE: test/test_certificate_manager.py class TestCertificateManager (line 14) | class TestCertificateManager(unittest.TestCase): method setUp (line 15) | def setUp(self): method test_001_search_certificates_no_cert_field_skips_validation (line 44) | def test_001_search_certificates_no_cert_field_skips_validation(self): method test_002_search_certificates_with_cert_filters_invalid (line 55) | def test_002_search_certificates_with_cert_filters_invalid(self): method test_003_search_certificates_repo_returns_none_treated_as_error (line 70) | def test_003_search_certificates_repo_returns_none_treated_as_error(se... method test_004_search_certificates_repo_raises_exception (line 78) | def test_004_search_certificates_repo_raises_exception(self): method test_005_get_certificate_info_with_cert_enhances_info (line 87) | def test_005_get_certificate_info_with_cert_enhances_info(self): method test_006_get_certificate_info_without_cert_no_enhancement (line 108) | def test_006_get_certificate_info_without_cert_no_enhancement(self): method test_007_store_certificate_only_csr_and_order (line 118) | def test_007_store_certificate_only_csr_and_order(self): method test_008_store_certificate_with_header_info (line 132) | def test_008_store_certificate_with_header_info(self): method test_009_store_certificate_with_certificate_data_logs_when_enabled (line 148) | def test_009_store_certificate_with_certificate_data_logs_when_enabled... method test_010_store_certificate_failure_paths (line 168) | def test_010_store_certificate_failure_paths(self): method test_011_update_certificate_dates_specific_name_success (line 182) | def test_011_update_certificate_dates_specific_name_success(self): method test_012_update_certificate_dates_list_mixed_results (line 194) | def test_012_update_certificate_dates_list_mixed_results(self): method test_013_update_certificate_dates_calc_exception_counts_error (line 211) | def test_013_update_certificate_dates_calc_exception_counts_error(self): method test_014_update_certificate_dates_top_level_exception (line 222) | def test_014_update_certificate_dates_top_level_exception(self): method test_015_update_certificate_dates_no_certificates (line 228) | def test_015_update_certificate_dates_no_certificates(self): method test_016_cleanup_certificates_exception_returns_empty (line 235) | def test_016_cleanup_certificates_exception_returns_empty(self): method test_017_check_account_authorization_authorized (line 242) | def test_017_check_account_authorization_authorized(self, mock_b64): method test_018_check_account_authorization_unauthorized (line 250) | def test_018_check_account_authorization_unauthorized(self, mock_b64): method test_019_check_account_authorization_error (line 257) | def test_019_check_account_authorization_error(self, mock_b64): method test_020_prepare_certificate_response_delegates_to_business_logic (line 264) | def test_020_prepare_certificate_response_delegates_to_business_logic(... method test_021_update_order_status_success_with_certificate (line 277) | def test_021_update_order_status_success_with_certificate(self): method test_022_update_order_status_failure_on_exception (line 285) | def test_022_update_order_status_failure_on_exception(self): method test_023_get_certificate_by_order_enhances_with_info (line 291) | def test_023_get_certificate_by_order_enhances_with_info(self): method test_024_get_certificate_by_order_exception_returns_empty (line 300) | def test_024_get_certificate_by_order_exception_returns_empty(self): method test_025_validate_and_store_csr_validation_fails (line 306) | def test_025_validate_and_store_csr_validation_fails(self): method test_026_validate_and_store_csr_stores_and_returns_name (line 312) | def test_026_validate_and_store_csr_stores_and_returns_name(self): method test_027_validate_and_store_csr_stores_with_headerinfo_and_returns_name (line 324) | def test_027_validate_and_store_csr_stores_with_headerinfo_and_returns... method test_028_validate_and_store_csr_store_fails_returns_name (line 338) | def test_028_validate_and_store_csr_store_fails_returns_name(self): method test_029_validate_and_store_csr_exception_returns_generated_name (line 347) | def test_029_validate_and_store_csr_exception_returns_generated_name(s... method test_030_init_without_config_uses_defaults (line 356) | def test_030_init_without_config_uses_defaults(self): method test_031_cleanup_certificates_purge_and_mark (line 372) | def test_031_cleanup_certificates_purge_and_mark(self): method test_032_check_invalidation_various_cases (line 434) | def test_032_check_invalidation_various_cases(self): method test_033_assume_expirydate_various_cases (line 451) | def test_033_assume_expirydate_various_cases(self): method test_034_get_expiredate_various_cases (line 469) | def test_034_get_expiredate_various_cases(self): method test_035_assume_expirydate_csr_present_but_no_created_at (line 487) | def test_035_assume_expirydate_csr_present_but_no_created_at(self): method test_036_cleanup_certificates_repository_exception (line 493) | def test_036_cleanup_certificates_repository_exception(self): method test_037_cleanup_certificates_loop_body_exception (line 500) | def test_037_cleanup_certificates_loop_body_exception(self): FILE: test/test_certificate_repository.py class TestCertificateRepository (line 14) | class TestCertificateRepository(unittest.TestCase): method setUp (line 15) | def setUp(self): method test_001_search_no_vlist_success (line 27) | def test_001_search_no_vlist_success(self): method test_002_search_with_vlist_success (line 33) | def test_002_search_with_vlist_success(self): method test_003_search_exception_returns_none (line 41) | def test_003_search_exception_returns_none(self): method test_004_get_certificate_info_success (line 48) | def test_004_get_certificate_info_success(self): method test_005_get_certificate_info_exception_returns_empty (line 54) | def test_005_get_certificate_info_exception_returns_empty(self): method test_006_get_certificate_info_none_from_db_passes_through (line 59) | def test_006_get_certificate_info_none_from_db_passes_through(self): method test_007_add_certificate_success (line 66) | def test_007_add_certificate_success(self): method test_008_add_certificate_exception_returns_false (line 71) | def test_008_add_certificate_exception_returns_false(self): method test_009_delete_certificate_success (line 76) | def test_009_delete_certificate_success(self): method test_010_delete_certificate_exception_returns_false (line 81) | def test_010_delete_certificate_exception_returns_false(self): method test_011_get_account_check_result_success (line 87) | def test_011_get_account_check_result_success(self): method test_012_get_account_check_result_exception_returns_none (line 92) | def test_012_get_account_check_result_exception_returns_none(self): method test_013_update_order_success_true (line 97) | def test_013_update_order_success_true(self): method test_014_update_order_exception_returns_false (line 104) | def test_014_update_order_exception_returns_false(self): method test_015_get_orders_by_account_success_list (line 110) | def test_015_get_orders_by_account_success_list(self): method test_016_get_orders_by_account_empty_to_list (line 115) | def test_016_get_orders_by_account_empty_to_list(self): method test_017_get_orders_by_account_exception_returns_empty (line 120) | def test_017_get_orders_by_account_exception_returns_empty(self): method test_018_get_certificate_by_order_success (line 126) | def test_018_get_certificate_by_order_success(self): method test_019_get_certificate_by_order_exception_returns_empty (line 131) | def test_019_get_certificate_by_order_exception_returns_empty(self): method test_020_store_certificate_operation_log_success (line 137) | def test_020_store_certificate_operation_log_success(self): method test_021_store_certificate_operation_log_exception_returns_false (line 143) | def test_021_store_certificate_operation_log_exception_returns_false(s... method test_022_certificate_account_check_success (line 149) | def test_022_certificate_account_check_success(self): method test_023_certificate_account_check_exception_returns_none (line 154) | def test_023_certificate_account_check_exception_returns_none(self): method test_024_certificate_lookup_with_vlist_success (line 159) | def test_024_certificate_lookup_with_vlist_success(self): method test_025_certificate_lookup_without_vlist_success (line 165) | def test_025_certificate_lookup_without_vlist_success(self): method test_026_certificate_lookup_exception_returns_empty (line 172) | def test_026_certificate_lookup_exception_returns_empty(self): method test_027_certificate_add_success_returns_id (line 177) | def test_027_certificate_add_success_returns_id(self): method test_028_certificate_add_exception_returns_none (line 182) | def test_028_certificate_add_exception_returns_none(self): method test_029_certificate_delete_success (line 187) | def test_029_certificate_delete_success(self): method test_030_certificate_delete_exception_returns_false (line 192) | def test_030_certificate_delete_exception_returns_false(self): method test_031_order_lookup_with_vlist_success (line 197) | def test_031_order_lookup_with_vlist_success(self): method test_032_order_lookup_without_vlist_success (line 203) | def test_032_order_lookup_without_vlist_success(self): method test_033_order_lookup_exception_returns_empty (line 210) | def test_033_order_lookup_exception_returns_empty(self): method test_034_order_update_success (line 215) | def test_034_order_update_success(self): method test_035_order_update_exception_returns_false (line 220) | def test_035_order_update_exception_returns_false(self): method test_036_search_expired_certificates_returns_results (line 225) | def test_036_search_expired_certificates_returns_results(self): method test_037_search_expired_certificates_returns_empty (line 240) | def test_037_search_expired_certificates_returns_empty(self): method test_038_search_expired_certificates_raises_exception (line 249) | def test_038_search_expired_certificates_raises_exception(self): FILE: test/test_certifier_handler.py class TestACMEHandler (line 16) | class TestACMEHandler(unittest.TestCase): method setUp (line 19) | def setUp(self): method test_001_default (line 31) | def test_001_default(self): method test_002_ca_get (line 36) | def test_002_ca_get(self, mock_get): method test_003_ca_get (line 47) | def test_003_ca_get(self, mock_get): method test_004_config_load (line 63) | def test_004_config_load(self, mock_load_cfg): method test_005_config_load (line 79) | def test_005_config_load(self, mock_load_cfg): method test_006_config_load (line 100) | def test_006_config_load(self, mock_load_cfg): method test_007_config_load (line 121) | def test_007_config_load(self, mock_load_cfg): method test_008_config_load (line 146) | def test_008_config_load(self, mock_load_cfg): method test_009_config_load (line 172) | def test_009_config_load(self, mock_load_cfg): method test_010_config_load (line 194) | def test_010_config_load(self, mock_load_cfg): method test_011_config_load (line 217) | def test_011_config_load(self, mock_load_cfg): method test_012_config_load (line 245) | def test_012_config_load(self, mock_load_cfg): method test_013_config_load (line 269) | def test_013_config_load(self, mock_load_cfg): method test_014_config_load (line 293) | def test_014_config_load(self, mock_load_cfg): method test_015_config_load (line 318) | def test_015_config_load(self, mock_load_cfg): method test_016_config_load (line 329) | def test_016_config_load(self, mock_load_cfg): method test_017_config_load (line 345) | def test_017_config_load(self, mock_load_cfg): method test_018_config_load (line 361) | def test_018_config_load(self, mock_load_cfg): method test_019_config_load (line 372) | def test_019_config_load(self, mock_load_cfg): method test_020_config_load (line 388) | def test_020_config_load(self, mock_load_cfg): method test_021_config_load (line 408) | def test_021_config_load(self, mock_load_cfg, mock_json, mock_url): method test_022_config_load (line 424) | def test_022_config_load(self, mock_load_cfg, mock_json, mock_url, moc... method test_023_config_load (line 446) | def test_023_config_load(self, mock_load_cfg, mock_json, mock_url, moc... method test_024_config_load (line 468) | def test_024_config_load(self, mock_load_cfg): method test_025_config_load (line 480) | def test_025_config_load(self, mock_load_cfg): method test_026_config_load (line 496) | def test_026_config_load(self, mock_load_cfg): method test_027_config_load (line 508) | def test_027_config_load(self, mock_load_cfg): method test_028_auth_set (line 516) | def test_028_auth_set(self): method test_029_auth_set (line 523) | def test_029_auth_set(self): method test_030_auth_set (line 535) | def test_030_auth_set(self): method test_031__api_post (line 548) | def test_031__api_post(self, mock_req): method test_032__api_post (line 556) | def test_032__api_post(self, mock_post): method test_033__ca_get (line 569) | def test_033__ca_get(self, mock_req): method test_034__api_post (line 578) | def test_034__api_post(self): method test_035__ca_get (line 589) | def test_035__ca_get(self, mock_req): method test_036__api_post (line 598) | def test_036__api_post(self, mock_get): method test_037__ca_get_properties (line 617) | def test_037__ca_get_properties(self, mock_caget): method test_038__ca_get_properties (line 626) | def test_038__ca_get_properties(self, mock_caget): method test_039__ca_get_properties (line 635) | def test_039__ca_get_properties(self, mock_caget): method test_040__ca_get_properties (line 644) | def test_040__ca_get_properties(self, mock_caget): method test_041__ca_get_properties (line 653) | def test_041__ca_get_properties(self, mock_caget): method test_042__ca_get_properties (line 662) | def test_042__ca_get_properties(self, mock_caget): method test_043__ca_get_properties (line 673) | def test_043__ca_get_properties(self, mock_caget): method test_044__ca_get_properties (line 683) | def test_044__ca_get_properties(self, mock_caget): method test_045__cert_get (line 698) | def test_045__cert_get(self, mock_caget): method test_046__cert_get (line 705) | def test_046__cert_get(self, mock_caget, mock_post): method test_047__cert_get (line 714) | def test_047__cert_get(self, mock_caget, mock_post): method test_048__cert_get (line 723) | def test_048__cert_get(self, mock_caget, mock_post): method test_049__cert_get (line 733) | def test_049__cert_get(self, mock_caget, mock_post): method test_050__cert_get (line 746) | def test_050__cert_get(self, mock_caget, mock_post, mock_ecl): method test_051__cert_get (line 757) | def test_051__cert_get(self, mock_caget, mock_post, mock_ecl): method test_052__cert_get_properties (line 767) | def test_052__cert_get_properties(self, mock_req): method test_053__cert_get_properties (line 779) | def test_053__cert_get_properties(self, mock_get): method test_054_poll (line 798) | def test_054_poll(self): method test_055_poll (line 806) | def test_055_poll(self, mock_poll): method test_056__loop_poll (line 820) | def test_056__loop_poll(self): method test_057__loop_poll (line 829) | def test_057__loop_poll(self, mock_get, mock_sleep): method test_058__loop_poll (line 844) | def test_058__loop_poll(self, mock_get, mock_sleep): method test_059__loop_poll (line 858) | def test_059__loop_poll(self, mock_get): method test_060__loop_poll (line 873) | def test_060__loop_poll(self, mock_get, mock_sleep): method test_061__loop_poll (line 889) | def test_061__loop_poll(self, mock_get, mock_sleep): method test_062__loop_poll (line 916) | def test_062__loop_poll(self, mock_get, mock_chain): method test_063_enroll (line 936) | def test_063_enroll(self, mock_certget): method test_064_enroll (line 944) | def test_064_enroll(self, mock_certget): method test_065_enroll (line 953) | def test_065_enroll(self, mock_certget): method test_066_enroll (line 961) | def test_066_enroll(self, mock_certget): method test_067_enroll (line 974) | def test_067_enroll(self, mock_certget, mock_chain): method test_068_enroll (line 988) | def test_068_enroll(self, mock_certget, mock_loop): method test_069_enroll (line 1000) | def test_069_enroll(self, mock_certget, mock_loop, mock_prof): method test_070_enroll (line 1014) | def test_070_enroll(self, mock_certget, mock_loop, mock_prof): method test_071_enroll (line 1030) | def test_071_enroll(self, mock_certget, mock_loop, mock_prof): method test_072_enroll (line 1044) | def test_072_enroll(self, mock_certget, mock_loop, mock_prof): method test_073_revoke (line 1060) | def test_073_revoke(self, mock_getca): method test_074_revoke (line 1069) | def test_074_revoke(self, mock_getca): method test_075_revoke (line 1079) | def test_075_revoke(self, mock_getca, mock_serial): method test_076_revoke (line 1095) | def test_076_revoke(self, mock_getca, mock_serial, mock_getcert): method test_077_revoke (line 1112) | def test_077_revoke(self, mock_getca, mock_serial, mock_getcert): method test_078_revoke (line 1129) | def test_078_revoke(self, mock_getca, mock_serial, mock_getcert): method test_079_revoke (line 1146) | def test_079_revoke(self, mock_getca, mock_serial, mock_getcert): method test_080_revoke (line 1165) | def test_080_revoke( method test_081_revoke (line 1184) | def test_081_revoke( method test_082_revoke (line 1203) | def test_082_revoke(self, mock_getca, mock_serial, mock_getcert, mock_... method test_083_revoke (line 1221) | def test_083_revoke(self, mock_getca, mock_serial, mock_getcert, mock_... method test_084_trigger (line 1239) | def test_084_trigger(self): method test_085_trigger (line 1250) | def test_085_trigger(self, mock_b64dec, mock_b64enc, mock_p2d, mock_ca... method test_086_trigger (line 1265) | def test_086_trigger( method test_087_trigger (line 1285) | def test_087_trigger( method test_088_trigger (line 1315) | def test_088_trigger( method test_089_trigger (line 1344) | def test_089_trigger( method test_090__pem_cert_chain_generate (line 1364) | def test_090__pem_cert_chain_generate(self): method test_091__pem_cert_chain_generate (line 1369) | def test_091__pem_cert_chain_generate(self): method test_092__pem_cert_chain_generate (line 1374) | def test_092__pem_cert_chain_generate(self): method test_093__pem_cert_chain_generate (line 1383) | def test_093__pem_cert_chain_generate(self, mock_get): method test_094__pem_cert_chain_generate (line 1392) | def test_094__pem_cert_chain_generate(self, mock_get): method test_095__pem_cert_chain_generate (line 1406) | def test_095__pem_cert_chain_generate(self, mock_get): method test_096__pem_cert_chain_generate (line 1420) | def test_096__pem_cert_chain_generate(self, mock_get): method test_097__pem_cert_chain_generate (line 1439) | def test_097__pem_cert_chain_generate(self, mock_get): method test_098__pem_cert_chain_generate (line 1471) | def test_098__pem_cert_chain_generate(self, mock_get): method test_099__enter__ (line 1484) | def test_099__enter__(self): method test_100_request_poll (line 1489) | def test_100_request_poll(self, mock_get): method test_101_request_poll (line 1500) | def test_101_request_poll(self, mock_get): method test_102_request_poll (line 1509) | def test_102_request_poll(self, mock_get): method test_103_request_poll (line 1518) | def test_103_request_poll(self, mock_get): method test_104_request_poll (line 1533) | def test_104_request_poll(self, mock_get): method test_105_request_poll (line 1551) | def test_105_request_poll(self, mock_get, mock_pemgen): method test_106_csr_check (line 1565) | def test_106_csr_check(self, mock_eab): method test_107_csr_check (line 1573) | def test_107_csr_check(self, mock_eab): method test_108_handler_check (line 1581) | def test_108_handler_check(self, mock_handler_check): FILE: test/test_challenge.py class TestChallengeConfiguration (line 9) | class TestChallengeConfiguration(unittest.TestCase): method setUpClass (line 11) | def setUpClass(cls): method tearDownClass (line 25) | def tearDownClass(cls): method test_001_configuration_defaults (line 32) | def test_001_configuration_defaults(self): class TestDatabaseChallengeRepository (line 49) | class TestDatabaseChallengeRepository(unittest.TestCase): method setUp (line 50) | def setUp(self): method test_002_find_challenges_by_authorization_success (line 87) | def test_002_find_challenges_by_authorization_success(self): method test_003_find_challenges_by_authorization_db_error (line 96) | def test_003_find_challenges_by_authorization_db_error(self): method test_004_get_challengeinfo_by_challengename_success (line 111) | def test_004_get_challengeinfo_by_challengename_success(self): method test_005_get_challengeinfo_by_challengename_db_error (line 116) | def test_005_get_challengeinfo_by_challengename_db_error(self): method test_006_get_challenge_by_name_success (line 131) | def test_006_get_challenge_by_name_success(self): method test_007_get_challenge_by_name_db_error (line 149) | def test_007_get_challenge_by_name_db_error(self): method test_008_create_challenge_success (line 163) | def test_008_create_challenge_success(self): method test_009_create_challenge_db_error (line 172) | def test_009_create_challenge_db_error(self): method test_010_update_challenge_success (line 191) | def test_010_update_challenge_success(self): method test_011_update_challenge_db_error (line 196) | def test_011_update_challenge_db_error(self): method test_012_update_authorization_status_success (line 211) | def test_012_update_authorization_status_success(self): method test_013_update_authorization_status_db_error (line 216) | def test_013_update_authorization_status_db_error(self): method test_014_get_account_jwk_success (line 231) | def test_014_get_account_jwk_success(self): method test_015_get_account_jwk_none (line 238) | def test_015_get_account_jwk_none(self): class TestChallenge (line 243) | class TestChallenge(unittest.TestCase): method setUp (line 244) | def setUp(self): method test_016_create_error_response (line 312) | def test_016_create_error_response(self): method test_017_create_success_response (line 317) | def test_017_create_success_response(self): method test_018_extract_challenge_name_from_url (line 322) | def test_018_extract_challenge_name_from_url(self): method test_019_get_challenge_validation_details_success (line 329) | def test_019_get_challenge_validation_details_success(self): method test_020_get_challenge_validation_details_no_challenge (line 342) | def test_020_get_challenge_validation_details_no_challenge(self): method test_021_get_challenge_validation_details_no_pubkey (line 346) | def test_021_get_challenge_validation_details_no_pubkey(self): method test_022_get_challenge_validation_details_exception (line 351) | def test_022_get_challenge_validation_details_exception(self): method test_023_handle_challenge_validation_request_valid (line 360) | def test_023_handle_challenge_validation_request_valid(self): method test_024_handle_challenge_validation_request_tnauthlist (line 374) | def test_024_handle_challenge_validation_request_tnauthlist(self): method test_025_handle_challenge_validation_request_tnauthlist_fail (line 389) | def test_025_handle_challenge_validation_request_tnauthlist_fail(self): method test_026_handle_validation_disabled (line 403) | def test_026_handle_validation_disabled(self): method test_027_handle_validation_disabled_invalid (line 414) | def test_027_handle_validation_disabled_invalid(self): method test_028_load_address_check_configuration (line 422) | def test_028_load_address_check_configuration(self): method test_029_load_dns_configuration (line 440) | def test_029_load_dns_configuration(self): method test_030_load_dns_configuration_fail (line 451) | def test_030_load_dns_configuration_fail(self): method test_031_load_proxy_configuration (line 472) | def test_031_load_proxy_configuration(self): method test_032_load_proxy_configuration_fail (line 477) | def test_032_load_proxy_configuration_fail(self): method test_033_load_configuration (line 487) | def test_033_load_configuration(self): method test_034_load_configuration_without_challengesection (line 509) | def test_034_load_configuration_without_challengesection(self): method test_035_load_configuration_with_source_address_check (line 527) | def test_035_load_configuration_with_source_address_check(self): method test_036_ensure_components_initialized (line 549) | def test_036_ensure_components_initialized(self): method test_037_perform_challenge_validation_success (line 557) | def test_037_perform_challenge_validation_success(self): method test_038_perform_challenge_validation_disabled (line 564) | def test_038_perform_challenge_validation_disabled(self): method test_039_perform_challenge_validation_exception (line 570) | def test_039_perform_challenge_validation_exception(self): method test_040_perform_source_address_validation_disabled (line 587) | def test_040_perform_source_address_validation_disabled(self): method test_041_perform_source_address_validation_not_found (line 593) | def test_041_perform_source_address_validation_not_found(self): method test_042_perform_source_address_validation_success (line 601) | def test_042_perform_source_address_validation_success(self): method test_043_perform_source_address_validation_fail (line 613) | def test_043_perform_source_address_validation_fail(self): method test_044_perform_source_address_validation_validator_not_available (line 629) | def test_044_perform_source_address_validation_validator_not_available... method test_045_perform_source_address_validation_exception (line 643) | def test_045_perform_source_address_validation_exception(self): method test_046_perform_validation_with_retry_success (line 659) | def test_046_perform_validation_with_retry_success(self): method test_047_perform_validation_with_retry_invalid (line 668) | def test_047_perform_validation_with_retry_invalid(self): method test_048_start_async_validation (line 677) | def test_048_start_async_validation(self): method test_049_update_challenge_state_from_validation_invalid (line 686) | def test_049_update_challenge_state_from_validation_invalid(self): method test_050_update_challenge_state_from_validation_success (line 695) | def test_050_update_challenge_state_from_validation_success(self): method test_051_update_challenge_state_from_validation_inconclusive (line 704) | def test_051_update_challenge_state_from_validation_inconclusive(self): method test_052_validate_tnauthlist_payload_success (line 712) | def test_052_validate_tnauthlist_payload_success(self): method test_053_validate_tnauthlist_payload_missing_atc (line 720) | def test_053_validate_tnauthlist_payload_missing_atc(self): method test_054_validate_tnauthlist_payload_missing_spc (line 736) | def test_054_validate_tnauthlist_payload_missing_spc(self): method test_055_process_challenge_request_success (line 752) | def test_055_process_challenge_request_success(self): method test_056_process_challenge_request_error (line 774) | def test_056_process_challenge_request_error(self): method test_057_retrieve_challenge_set_success (line 784) | def test_057_retrieve_challenge_set_success(self): method test_058_retrieve_challenge_set_exception (line 793) | def test_058_retrieve_challenge_set_exception(self): method test_059_challengeset_get_and_parse (line 814) | def test_059_challengeset_get_and_parse(self): method test_060_context_manager (line 824) | def test_060_context_manager(self): method test_061_create_challenge_special_types (line 830) | def test_061_create_challenge_special_types(self): method test_062_update_challenge_with_all_fields (line 846) | def test_062_update_challenge_with_all_fields(self): method test_063_get_account_jwk_exception (line 860) | def test_063_get_account_jwk_exception(self): method test_064_get_challengeinfo_by_challengename_none_result (line 884) | def test_064_get_challengeinfo_by_challengename_none_result(self): method test_065_get_challenge_by_name_none_result (line 896) | def test_065_get_challenge_by_name_none_result(self): method test_066_execute_challenge_validation_unsupported_type (line 906) | def test_066_execute_challenge_validation_unsupported_type(self): method test_067_execute_challenge_validation_no_details (line 926) | def test_067_execute_challenge_validation_no_details(self): method test_068_extract_challenge_name_from_url_with_suffix (line 933) | def test_068_extract_challenge_name_from_url_with_suffix(self): method test_069_handle_challenge_validation_request_email_address (line 946) | def test_069_handle_challenge_validation_request_email_address(self): method test_070_load_address_check_configuration_deprecated (line 975) | def test_070_load_address_check_configuration_deprecated(self): method test_071_load_configuration_validation_timeout_error (line 989) | def test_071_load_configuration_validation_timeout_error(self): method test_072_load_configuration_email_identifier_no_address (line 1015) | def test_072_load_configuration_email_identifier_no_address(self): method test_073_load_configuration_with_url_prefix (line 1042) | def test_073_load_configuration_with_url_prefix(self): method test_074_create_challenge_sectigo_email (line 1072) | def test_074_create_challenge_sectigo_email(self): method test_075_create_challenge_email_reply (line 1100) | def test_075_create_challenge_email_reply(self): method test_076_update_challenge_with_individual_fields (line 1125) | def test_076_update_challenge_with_individual_fields(self): method test_077_handle_challenge_validation_request_with_validated_flag (line 1156) | def test_077_handle_challenge_validation_request_with_validated_flag(s... method test_078_load_configuration_with_email_identifier_and_address (line 1193) | def test_078_load_configuration_with_email_identifier_and_address(self): method test_079_initialize_business_logic_components (line 1222) | def test_079_initialize_business_logic_components(self): method test_080_process_challenge_request_message_check_failure (line 1239) | def test_080_process_challenge_request_message_check_failure(self): method test_081_process_challenge_request_url_missing_in_protected (line 1269) | def test_081_process_challenge_request_url_missing_in_protected(self): method test_082_process_challenge_request_empty_challenge_name_extraction (line 1300) | def test_082_process_challenge_request_empty_challenge_name_extraction... method test_083_process_challenge_request_nonexistent_challenge_name (line 1333) | def test_083_process_challenge_request_nonexistent_challenge_name(self): method test_084_execute_challenge_validation_full_context_creation (line 1375) | def test_084_execute_challenge_validation_full_context_creation(self): method test_085_handle_challenge_validation_request_email_address_response_building (line 1412) | def test_085_handle_challenge_validation_request_email_address_respons... method test_086_handle_challenge_validation_request_validated_flag_response_building (line 1446) | def test_086_handle_challenge_validation_request_validated_flag_respon... method test_087_get_eab_kid_from_challenge_success (line 1480) | def test_087_get_eab_kid_from_challenge_success(self): method test_088_get_eab_kid_from_challenge_no_eab_kid (line 1503) | def test_088_get_eab_kid_from_challenge_no_eab_kid(self): method test_089_get_eab_kid_from_challenge_empty_eab_kid (line 1517) | def test_089_get_eab_kid_from_challenge_empty_eab_kid(self): method test_090_get_eab_kid_from_challenge_missing_key (line 1531) | def test_090_get_eab_kid_from_challenge_missing_key(self): method test_091_get_eab_kid_from_challenge_exception (line 1545) | def test_091_get_eab_kid_from_challenge_exception(self): method test_092_get_challenge_profile_settings_success (line 1566) | def test_092_get_challenge_profile_settings_success(self): method test_093_get_challenge_profile_settings_defaults (line 1587) | def test_093_get_challenge_profile_settings_defaults(self): method test_094_get_challenge_profile_settings_no_challenge_section (line 1600) | def test_094_get_challenge_profile_settings_no_challenge_section(self): method test_095_get_challenge_profile_settings_kid_not_found (line 1613) | def test_095_get_challenge_profile_settings_kid_not_found(self): method test_096_apply_eab_profile_settings_validation_disable (line 1623) | def test_096_apply_eab_profile_settings_validation_disable(self): method test_097_apply_eab_profile_settings_forward_address_check (line 1648) | def test_097_apply_eab_profile_settings_forward_address_check(self): method test_098_apply_eab_profile_settings_reverse_address_check (line 1673) | def test_098_apply_eab_profile_settings_reverse_address_check(self): method test_099_apply_eab_profile_settings_all_settings (line 1698) | def test_099_apply_eab_profile_settings_all_settings(self): method test_100_apply_eab_profile_settings_no_settings (line 1737) | def test_100_apply_eab_profile_settings_no_settings(self): method test_101_check_challenge_validation_eabprofile_disabled (line 1757) | def test_101_check_challenge_validation_eabprofile_disabled(self): method test_102_check_challenge_validation_eabprofile_no_handler (line 1771) | def test_102_check_challenge_validation_eabprofile_no_handler(self): method test_103_check_challenge_validation_eabprofile_no_eab_kid (line 1785) | def test_103_check_challenge_validation_eabprofile_no_eab_kid(self): method test_104_check_challenge_validation_eabprofile_success (line 1801) | def test_104_check_challenge_validation_eabprofile_success(self): method test_105_check_challenge_validation_eabprofile_no_challenge_section (line 1854) | def test_105_check_challenge_validation_eabprofile_no_challenge_sectio... method test_106_check_challenge_validation_eabprofile_kid_not_in_profile (line 1885) | def test_106_check_challenge_validation_eabprofile_kid_not_in_profile(... method test_107_check_challenge_validation_eabprofile_exception (line 1918) | def test_107_check_challenge_validation_eabprofile_exception(self): method test_108_check_challenge_validation_eabprofile_exception_during_get_eab_kid (line 1952) | def test_108_check_challenge_validation_eabprofile_exception_during_ge... method test_109_get_challenge_details_success (line 1972) | def test_109_get_challenge_details_success(self): method test_110_get_challenge_details_challenge_not_found (line 2004) | def test_110_get_challenge_details_challenge_not_found(self): method test_111_get_challenge_details_with_none_validated (line 2021) | def test_111_get_challenge_details_with_none_validated(self): method test_112_get_challenge_details_valid_status (line 2053) | def test_112_get_challenge_details_valid_status(self): method test_113_get_challenge_details_invalid_status (line 2085) | def test_113_get_challenge_details_invalid_status(self): method test_114_get_challenge_details_processing_status (line 2117) | def test_114_get_challenge_details_processing_status(self): method test_115_get_challenge_details_tls_alpn_challenge (line 2149) | def test_115_get_challenge_details_tls_alpn_challenge(self): method test_116_get_challenge_details_empty_challenge_name (line 2181) | def test_116_get_challenge_details_empty_challenge_name(self): method test_117_get_challenge_details_repository_exception (line 2196) | def test_117_get_challenge_details_repository_exception(self): method test_118_get_challenge_details_extract_url_exception (line 2232) | def test_118_get_challenge_details_extract_url_exception(self): method test_119_get_challenge_details_special_characters_in_url (line 2246) | def test_119_get_challenge_details_special_characters_in_url(self): method test_120_get_challenge_details_long_challenge_name (line 2278) | def test_120_get_challenge_details_long_challenge_name(self): method test_121_get_challenge_details_logs_debug_message (line 2310) | def test_121_get_challenge_details_logs_debug_message(self): method test_122_perform_validation_with_retry_dns_challenge_success_first_attempt (line 2336) | def test_122_perform_validation_with_retry_dns_challenge_success_first... method test_123_perform_validation_with_retry_dns_challenge_success_after_retries (line 2353) | def test_123_perform_validation_with_retry_dns_challenge_success_after... method test_124_perform_validation_with_retry_dns_challenge_invalid_first_attempt (line 2387) | def test_124_perform_validation_with_retry_dns_challenge_invalid_first... method test_125_perform_validation_with_retry_dns_challenge_max_retries_reached (line 2405) | def test_125_perform_validation_with_retry_dns_challenge_max_retries_r... method test_126_perform_validation_with_retry_email_challenge_max_retries_reached (line 2434) | def test_126_perform_validation_with_retry_email_challenge_max_retries... method test_127_perform_validation_with_retry_http_challenge_single_attempt (line 2465) | def test_127_perform_validation_with_retry_http_challenge_single_attem... method test_128_perform_validation_with_retry_tls_challenge_single_attempt (line 2491) | def test_128_perform_validation_with_retry_tls_challenge_single_attemp... method test_129_perform_validation_with_retry_dns_challenge_fourth_attempt_no_sleep (line 2510) | def test_129_perform_validation_with_retry_dns_challenge_fourth_attemp... method test_130_perform_validation_with_retry_preserves_dns_validation_pause_timer (line 2537) | def test_130_perform_validation_with_retry_preserves_dns_validation_pa... method test_131_get_legacy_api_calls_get_challenge_details (line 2557) | def test_131_get_legacy_api_calls_get_challenge_details(self): method test_132_get_legacy_api_logs_debug_message (line 2572) | def test_132_get_legacy_api_logs_debug_message(self): method test_133_get_legacy_api_handles_404_response (line 2584) | def test_133_get_legacy_api_handles_404_response(self): method test_134_get_legacy_api_handles_error_response (line 2597) | def test_134_get_legacy_api_handles_error_response(self): method test_135_get_legacy_api_passes_through_all_response_types (line 2614) | def test_135_get_legacy_api_passes_through_all_response_types(self): method test_136_start_async_validation_sync_mode (line 2638) | def test_136_start_async_validation_sync_mode(self, mock_thread_class): method test_137_start_async_validation_async_mode (line 2670) | def test_137_start_async_validation_async_mode(self, mock_thread_class): method test_138_start_async_validation_empty_payload (line 2704) | def test_138_start_async_validation_empty_payload(self, mock_thread_cl... method test_139_start_async_validation_complex_payload (line 2727) | def test_139_start_async_validation_complex_payload(self, mock_thread_... method test_140_start_async_validation_different_timeout_values (line 2754) | def test_140_start_async_validation_different_timeout_values( method test_141_start_async_validation_thread_target_arguments (line 2781) | def test_141_start_async_validation_thread_target_arguments( method test_142_start_async_validation_logging_behavior (line 2816) | def test_142_start_async_validation_logging_behavior(self, mock_thread... FILE: test/test_challenge_business_logic.py class TestChallengeInfo (line 15) | class TestChallengeInfo(unittest.TestCase): method setUp (line 18) | def setUp(self): method test_001_challenge_info_creation_basic (line 24) | def test_001_challenge_info_creation_basic(self): method test_002_challenge_info_creation_with_validated (line 47) | def test_002_challenge_info_creation_with_validated(self): method test_003_challenge_info_equality (line 64) | def test_003_challenge_info_equality(self): method test_004_challenge_info_inequality (line 90) | def test_004_challenge_info_inequality(self): class TestChallengeCreationRequest (line 117) | class TestChallengeCreationRequest(unittest.TestCase): method setUp (line 120) | def setUp(self): method test_005_creation_request_basic (line 126) | def test_005_creation_request_basic(self): method test_006_creation_request_with_value (line 138) | def test_006_creation_request_with_value(self): method test_007_creation_request_custom_expiry (line 149) | def test_007_creation_request_custom_expiry(self): method test_008_creation_request_email_challenge (line 160) | def test_008_creation_request_email_challenge(self): class TestChallengeUpdateRequest (line 175) | class TestChallengeUpdateRequest(unittest.TestCase): method setUp (line 178) | def setUp(self): method test_009_update_request_basic (line 184) | def test_009_update_request_basic(self): method test_010_update_request_status_only (line 194) | def test_010_update_request_status_only(self): method test_011_update_request_full (line 203) | def test_011_update_request_full(self): method test_012_update_request_partial (line 219) | def test_012_update_request_partial(self): class MockChallengeRepository (line 231) | class MockChallengeRepository: method __init__ (line 234) | def __init__(self): method find_challenges_by_authorization (line 239) | def find_challenges_by_authorization(self, authorization_name: str): method get_challenge_by_name (line 243) | def get_challenge_by_name(self, name: str): method get_challengeinfo_by_challengename (line 251) | def get_challengeinfo_by_challengename(self, name: str, vlist=None): method create_challenge (line 262) | def create_challenge(self, request): method update_challenge (line 267) | def update_challenge(self, request): method update_authorization_status (line 271) | def update_authorization_status(self, challenge_name: str, status: str): method get_account_jwk (line 275) | def get_account_jwk(self, challenge_name: str): class TestChallengeStateManager (line 280) | class TestChallengeStateManager(unittest.TestCase): method setUp (line 283) | def setUp(self): method test_013_state_manager_initialization (line 291) | def test_013_state_manager_initialization(self): method test_014_transition_to_processing_success (line 296) | def test_014_transition_to_processing_success(self): method test_015_transition_to_processing_failure (line 311) | def test_015_transition_to_processing_failure(self): method test_016_transition_to_valid_success (line 320) | def test_016_transition_to_valid_success(self): method test_017_transition_to_valid_with_defaults (line 347) | def test_017_transition_to_valid_with_defaults(self): method test_018_transition_to_valid_challenge_update_failure (line 359) | def test_018_transition_to_valid_challenge_update_failure(self): method test_019_transition_to_valid_authorization_update_failure (line 369) | def test_019_transition_to_valid_authorization_update_failure(self): method test_020_transition_to_invalid_success (line 377) | def test_020_transition_to_invalid_success(self): method test_021_transition_to_invalid_with_defaults (line 398) | def test_021_transition_to_invalid_with_defaults(self): method test_022_transition_to_invalid_challenge_failure (line 407) | def test_022_transition_to_invalid_challenge_failure(self): method test_023_transition_to_invalid_authorization_failure (line 415) | def test_023_transition_to_invalid_authorization_failure(self): method test_024_update_key_authorization_success (line 423) | def test_024_update_key_authorization_success(self): method test_025_update_key_authorization_failure (line 439) | def test_025_update_key_authorization_failure(self): method test_026_update_key_authorization_empty_string (line 449) | def test_026_update_key_authorization_empty_string(self): method test_027_logger_debug_calls (line 457) | def test_027_logger_debug_calls(self): method test_028_transition_with_none_challenge_name (line 471) | def test_028_transition_with_none_challenge_name(self): method test_029_transition_with_empty_challenge_name (line 476) | def test_029_transition_with_empty_challenge_name(self): method test_030_update_key_authorization_with_none (line 481) | def test_030_update_key_authorization_with_none(self): method test_031_state_manager_repository_exception_handling (line 489) | def test_031_state_manager_repository_exception_handling(self): method test_032_transition_to_valid_large_timestamp (line 497) | def test_032_transition_to_valid_large_timestamp(self): class TestChallengeFactory (line 510) | class TestChallengeFactory(unittest.TestCase): method setUp (line 513) | def setUp(self): method test_033_factory_initialization (line 527) | def test_033_factory_initialization(self): method test_034_create_standard_challenge_set_dns_identifier (line 535) | def test_034_create_standard_challenge_set_dns_identifier(self): method test_035_create_standard_challenge_set_ip_identifier (line 559) | def test_035_create_standard_challenge_set_ip_identifier(self): method test_036_create_standard_challenge_set_repository_failure (line 575) | def test_036_create_standard_challenge_set_repository_failure(self): method test_037_create_email_reply_challenge_success (line 588) | def test_037_create_email_reply_challenge_success(self): method test_038_create_email_reply_challenge_no_sender (line 604) | def test_038_create_email_reply_challenge_no_sender(self): method test_039_create_email_reply_challenge_repository_failure (line 616) | def test_039_create_email_reply_challenge_repository_failure(self): method test_040_create_tkauth_challenge_success (line 629) | def test_040_create_tkauth_challenge_success(self): method test_041_create_tkauth_challenge_repository_failure (line 641) | def test_041_create_tkauth_challenge_repository_failure(self): method test_042_create_single_challenge_http (line 651) | def test_042_create_single_challenge_http(self): method test_043_create_single_challenge_sectigo_email (line 665) | def test_043_create_single_challenge_sectigo_email(self): method test_044_create_single_challenge_email (line 681) | def test_044_create_single_challenge_email(self): method test_045_create_single_challenge_repository_failure (line 733) | def test_045_create_single_challenge_repository_failure(self): method test_046_factory_without_email_address (line 743) | def test_046_factory_without_email_address(self): method test_047_logger_debug_calls_in_factory (line 756) | def test_047_logger_debug_calls_in_factory(self): method test_048_email_challenge_creation_basic (line 765) | def test_048_email_challenge_creation_basic(self): method test_049_create_single_challenge_invalid_type (line 779) | def test_049_create_single_challenge_invalid_type(self): method test_050_create_standard_challenge_set_empty_types (line 792) | def test_050_create_standard_challenge_set_empty_types(self): method test_051_factory_email_challenge_without_email_address (line 808) | def test_051_factory_email_challenge_without_email_address(self): class MockConfig (line 830) | class MockConfig: method __init__ (line 833) | def __init__(self, **kwargs): class TestChallengeService (line 840) | class TestChallengeService(unittest.TestCase): method setUp (line 843) | def setUp(self): method test_052_service_initialization (line 866) | def test_052_service_initialization(self): method test_053_get_challenge_set_with_existing_challenges (line 873) | def test_053_get_challenge_set_with_existing_challenges(self): method test_054_get_challenge_set_create_new_standard (line 906) | def test_054_get_challenge_set_create_new_standard(self): method test_055_get_challenge_set_email_identifier (line 930) | def test_055_get_challenge_set_email_identifier(self): method test_056_get_challenge_set_email_identifier_no_config (line 959) | def test_056_get_challenge_set_email_identifier_no_config(self): method test_057_get_challenge_set_tnauthlist_identifier (line 977) | def test_057_get_challenge_set_tnauthlist_identifier(self): method test_058_get_challenge_set_sectigo_simulation (line 1004) | def test_058_get_challenge_set_sectigo_simulation(self): method test_059_format_existing_challenges_basic (line 1031) | def test_059_format_existing_challenges_basic(self): method test_060_format_existing_challenges_email_reply (line 1068) | def test_060_format_existing_challenges_email_reply(self): method test_061_create_new_challenge_set_empty_config (line 1092) | def test_061_create_new_challenge_set_empty_config(self): method test_062_get_challenge_set_email_challenge_failure (line 1113) | def test_062_get_challenge_set_email_challenge_failure(self): method test_063_get_challenge_set_tkauth_challenge_failure (line 1132) | def test_063_get_challenge_set_tkauth_challenge_failure(self): method test_064_logger_debug_calls_in_service (line 1149) | def test_064_logger_debug_calls_in_service(self): method test_065_sectigo_challenge_creation_failure (line 1161) | def test_065_sectigo_challenge_creation_failure(self): method test_066_email_identifier_edge_cases (line 1180) | def test_066_email_identifier_edge_cases(self): method test_067_service_repository_exception_handling (line 1213) | def test_067_service_repository_exception_handling(self): method test_068_format_existing_challenges_empty_list (line 1226) | def test_068_format_existing_challenges_empty_list(self): method test_069_format_existing_challenges_no_url (line 1235) | def test_069_format_existing_challenges_no_url(self): method test_069_1_format_existing_challenges_with_valid_json_validation_error (line 1257) | def test_069_1_format_existing_challenges_with_valid_json_validation_e... method test_069_2_format_existing_challenges_with_invalid_json_validation_error (line 1289) | def test_069_2_format_existing_challenges_with_invalid_json_validation... method test_069_3_format_existing_challenges_with_empty_validation_error (line 1322) | def test_069_3_format_existing_challenges_with_empty_validation_error(... method test_069_3_2_format_existing_challenges_with_whitespace_validation_error (line 1348) | def test_069_3_2_format_existing_challenges_with_whitespace_validation... method test_069_4_format_existing_challenges_with_none_validation_error (line 1381) | def test_069_4_format_existing_challenges_with_none_validation_error(s... method test_069_5_format_existing_challenges_multiple_errors (line 1407) | def test_069_5_format_existing_challenges_multiple_errors(self): method test_070_create_new_challenge_set_all_types_enabled (line 1473) | def test_070_create_new_challenge_set_all_types_enabled(self): method test_071_get_challenge_set_mixed_case_id_types (line 1513) | def test_071_get_challenge_set_mixed_case_id_types(self): FILE: test/test_challenge_error_handling.py class TestErrorCategory (line 36) | class TestErrorCategory(unittest.TestCase): method test_001_error_category_values (line 39) | def test_001_error_category_values(self): method test_002_error_category_completeness (line 52) | def test_002_error_category_completeness(self): method test_003_error_category_enum_behavior (line 67) | def test_003_error_category_enum_behavior(self): class TestErrorSeverity (line 81) | class TestErrorSeverity(unittest.TestCase): method test_001_error_severity_values (line 84) | def test_001_error_severity_values(self): method test_002_error_severity_completeness (line 91) | def test_002_error_severity_completeness(self): method test_003_error_severity_enum_behavior (line 97) | def test_003_error_severity_enum_behavior(self): class TestErrorDetail (line 104) | class TestErrorDetail(unittest.TestCase): method test_001_error_detail_creation_minimal (line 107) | def test_001_error_detail_creation_minimal(self): method test_002_error_detail_creation_full (line 122) | def test_002_error_detail_creation_full(self): method test_003_error_detail_dataclass_behavior (line 141) | def test_003_error_detail_dataclass_behavior(self): class TestChallengeError (line 168) | class TestChallengeError(unittest.TestCase): method test_001_challenge_error_minimal_creation (line 171) | def test_001_challenge_error_minimal_creation(self): method test_002_challenge_error_full_creation (line 184) | def test_002_challenge_error_full_creation(self): method test_003_challenge_error_inheritance (line 204) | def test_003_challenge_error_inheritance(self): method test_004_challenge_error_none_details (line 214) | def test_004_challenge_error_none_details(self): class TestValidationError (line 220) | class TestValidationError(unittest.TestCase): method test_001_validation_error_creation (line 223) | def test_001_validation_error_creation(self): method test_002_validation_error_with_kwargs (line 232) | def test_002_validation_error_with_kwargs(self): class TestNetworkError (line 247) | class TestNetworkError(unittest.TestCase): method test_001_network_error_creation (line 250) | def test_001_network_error_creation(self): method test_002_network_error_with_kwargs (line 259) | def test_002_network_error_with_kwargs(self): class TestDatabaseError (line 270) | class TestDatabaseError(unittest.TestCase): method test_001_database_error_creation (line 273) | def test_001_database_error_creation(self): method test_002_database_error_with_kwargs (line 282) | def test_002_database_error_with_kwargs(self): class TestConfigurationError (line 295) | class TestConfigurationError(unittest.TestCase): method test_001_configuration_error_creation (line 298) | def test_001_configuration_error_creation(self): method test_002_configuration_error_with_kwargs (line 307) | def test_002_configuration_error_with_kwargs(self): class TestAuthenticationError (line 321) | class TestAuthenticationError(unittest.TestCase): method test_001_authentication_error_creation (line 324) | def test_001_authentication_error_creation(self): method test_002_authentication_error_with_kwargs (line 335) | def test_002_authentication_error_with_kwargs(self): class TestMalformedRequestError (line 350) | class TestMalformedRequestError(unittest.TestCase): method test_001_malformed_request_error_creation (line 353) | def test_001_malformed_request_error_creation(self): method test_002_malformed_request_error_with_kwargs (line 362) | def test_002_malformed_request_error_with_kwargs(self): class TestTimeoutError (line 375) | class TestTimeoutError(unittest.TestCase): method test_001_timeout_error_creation (line 378) | def test_001_timeout_error_creation(self): method test_002_timeout_error_with_kwargs (line 387) | def test_002_timeout_error_with_kwargs(self): class TestUnsupportedChallengeTypeError (line 401) | class TestUnsupportedChallengeTypeError(unittest.TestCase): method test_001_unsupported_challenge_type_error_creation (line 404) | def test_001_unsupported_challenge_type_error_creation(self): method test_002_unsupported_challenge_type_error_empty_supported_types (line 425) | def test_002_unsupported_challenge_type_error_empty_supported_types(se... class TestDNSResolutionError (line 436) | class TestDNSResolutionError(unittest.TestCase): method test_001_dns_resolution_error_basic (line 439) | def test_001_dns_resolution_error_basic(self): method test_002_dns_resolution_error_with_dns_servers (line 456) | def test_002_dns_resolution_error_with_dns_servers(self): class TestHTTPChallengeError (line 468) | class TestHTTPChallengeError(unittest.TestCase): method test_001_http_challenge_error_creation (line 471) | def test_001_http_challenge_error_creation(self): method test_002_http_challenge_error_empty_responses (line 496) | def test_002_http_challenge_error_empty_responses(self): class TestDNSChallengeError (line 504) | class TestDNSChallengeError(unittest.TestCase): method test_001_dns_challenge_error_creation (line 507) | def test_001_dns_challenge_error_creation(self): method test_002_dns_challenge_error_empty_found_records (line 534) | def test_002_dns_challenge_error_empty_found_records(self): class TestTLSALPNChallengeError (line 541) | class TestTLSALPNChallengeError(unittest.TestCase): method test_001_tls_alpn_challenge_error_creation (line 544) | def test_001_tls_alpn_challenge_error_creation(self): class TestErrorHandler (line 567) | class TestErrorHandler(unittest.TestCase): method setUp (line 570) | def setUp(self): method test_001_error_handler_initialization (line 576) | def test_001_error_handler_initialization(self): method test_002_handle_challenge_error (line 581) | def test_002_handle_challenge_error(self): method test_003_handle_generic_exception (line 594) | def test_003_handle_generic_exception(self): method test_004_handle_error_without_context (line 608) | def test_004_handle_error_without_context(self): method test_005_log_error_critical_severity (line 618) | def test_005_log_error_critical_severity(self): method test_006_log_error_high_severity (line 636) | def test_006_log_error_high_severity(self): method test_007_log_error_medium_severity (line 652) | def test_007_log_error_medium_severity(self): method test_008_log_error_low_severity (line 668) | def test_008_log_error_low_severity(self): method test_009_log_error_debug_mode (line 684) | def test_009_log_error_debug_mode(self): method test_010_log_error_without_details (line 705) | def test_010_log_error_without_details(self): method test_011_create_acme_error_response_validation_error (line 722) | def test_011_create_acme_error_response_validation_error(self): method test_012_create_acme_error_response_network_error (line 740) | def test_012_create_acme_error_response_network_error(self): method test_013_create_acme_error_response_malformed_request (line 757) | def test_013_create_acme_error_response_malformed_request(self): method test_014_create_acme_error_response_authentication_error (line 774) | def test_014_create_acme_error_response_authentication_error(self): method test_015_create_acme_error_response_timeout_error (line 791) | def test_015_create_acme_error_response_timeout_error(self): method test_016_create_acme_error_response_server_errors (line 808) | def test_016_create_acme_error_response_server_errors(self): method test_017_create_acme_error_response_without_suggestion (line 833) | def test_017_create_acme_error_response_without_suggestion(self): class TestErrorRecovery (line 851) | class TestErrorRecovery(unittest.TestCase): method setUp (line 854) | def setUp(self): method test_001_error_recovery_initialization (line 859) | def test_001_error_recovery_initialization(self): method test_002_should_retry_network_errors (line 863) | def test_002_should_retry_network_errors(self): method test_003_should_retry_timeout_errors (line 877) | def test_003_should_retry_timeout_errors(self): method test_004_should_retry_database_errors (line 891) | def test_004_should_retry_database_errors(self): method test_005_should_not_retry_validation_errors (line 905) | def test_005_should_not_retry_validation_errors(self): method test_006_should_not_retry_malformed_requests (line 917) | def test_006_should_not_retry_malformed_requests(self): method test_007_should_not_retry_authentication_errors (line 928) | def test_007_should_not_retry_authentication_errors(self): method test_008_should_not_retry_unknown_errors (line 939) | def test_008_should_not_retry_unknown_errors(self): method test_009_should_not_retry_configuration_errors (line 950) | def test_009_should_not_retry_configuration_errors(self): method test_010_get_retry_delay_exponential_backoff (line 961) | def test_010_get_retry_delay_exponential_backoff(self): method test_011_get_retry_delay_max_cap (line 969) | def test_011_get_retry_delay_max_cap(self): method test_012_get_retry_delay_zero_attempts (line 979) | def test_012_get_retry_delay_zero_attempts(self): FILE: test/test_challenge_registry_setup.py class MockConfig (line 14) | class MockConfig: method __init__ (line 17) | def __init__(self, **kwargs): class TestChallengeRegistrySetup (line 24) | class TestChallengeRegistrySetup(unittest.TestCase): method setUp (line 27) | def setUp(self): method test_001_create_challenge_validator_registry_basic (line 42) | def test_001_create_challenge_validator_registry_basic(self): method test_002_create_challenge_validator_registry_email_support (line 156) | def test_002_create_challenge_validator_registry_email_support(self): method test_003_create_challenge_validator_registry_all_enabled (line 233) | def test_003_create_challenge_validator_registry_all_enabled(self): method test_004_create_challenge_validator_registry_none_config (line 354) | def test_004_create_challenge_validator_registry_none_config(self): method test_005_create_challenge_validator_registry_registry_exception (line 413) | def test_005_create_challenge_validator_registry_registry_exception(se... method test_006_create_custom_registry_basic (line 469) | def test_006_create_custom_registry_basic(self): method test_007_create_custom_registry_empty_validators (line 534) | def test_007_create_custom_registry_empty_validators(self): method test_008_create_custom_registry_none_validator_classes (line 582) | def test_008_create_custom_registry_none_validator_classes(self): method test_009_create_custom_registry_validator_exception (line 614) | def test_009_create_custom_registry_validator_exception(self): method test_010_create_custom_registry_registration_exception (line 652) | def test_010_create_custom_registry_registration_exception(self): method test_011_create_challenge_validator_registry_tnauthlist_support (line 694) | def test_011_create_challenge_validator_registry_tnauthlist_support(se... method test_012_create_challenge_validator_registry_forward_address_check (line 771) | def test_012_create_challenge_validator_registry_forward_address_check... method test_013_create_challenge_validator_registry_reverse_address_check (line 847) | def test_013_create_challenge_validator_registry_reverse_address_check... method test_014_create_challenge_validator_registry_both_address_checks (line 919) | def test_014_create_challenge_validator_registry_both_address_checks(s... method test_015_create_custom_registry_with_config (line 988) | def test_015_create_custom_registry_with_config(self): method test_016_create_custom_registry_get_supported_types_exception (line 1033) | def test_016_create_custom_registry_get_supported_types_exception(self): method test_017_create_custom_registry_mixed_validator_types (line 1075) | def test_017_create_custom_registry_mixed_validator_types(self): method test_018_create_challenge_validator_registry_validator_exception (line 1135) | def test_018_create_challenge_validator_registry_validator_exception(s... method test_019_create_challenge_validator_registry_missing_config_attributes (line 1193) | def test_019_create_challenge_validator_registry_missing_config_attrib... method test_020_create_challenge_validator_registry_registration_exception (line 1254) | def test_020_create_challenge_validator_registry_registration_exceptio... FILE: test/test_challenge_validators.py class TestValidationResult (line 35) | class TestValidationResult(unittest.TestCase): method test_001_validation_result_creation_minimal (line 38) | def test_001_validation_result_creation_minimal(self): method test_002_validation_result_creation_full (line 47) | def test_002_validation_result_creation_full(self): method test_003_validation_result_dataclass_behavior (line 59) | def test_003_validation_result_dataclass_behavior(self): class TestChallengeContext (line 73) | class TestChallengeContext(unittest.TestCase): method test_001_challenge_context_creation_minimal (line 76) | def test_001_challenge_context_creation_minimal(self): method test_002_challenge_context_creation_full (line 98) | def test_002_challenge_context_creation_full(self): method test_003_challenge_context_dataclass_behavior (line 127) | def test_003_challenge_context_dataclass_behavior(self): class TestChallengeValidationExceptions (line 159) | class TestChallengeValidationExceptions(unittest.TestCase): method test_001_challenge_validation_error (line 162) | def test_001_challenge_validation_error(self): method test_002_validation_timeout_error (line 174) | def test_002_validation_timeout_error(self): method test_003_invalid_challenge_type_error (line 182) | def test_003_invalid_challenge_type_error(self): class TestChallengeValidator (line 191) | class TestChallengeValidator(unittest.TestCase): method setUp (line 194) | def setUp(self): method test_001_challenge_validator_abstract (line 198) | def test_001_challenge_validator_abstract(self): method test_002_challenge_validator_validate_challenge_success (line 203) | def test_002_challenge_validator_validate_challenge_success(self): method test_003_challenge_validator_validate_challenge_exception (line 231) | def test_003_challenge_validator_validate_challenge_exception(self): class TestChallengeValidatorRegistry (line 262) | class TestChallengeValidatorRegistry(unittest.TestCase): method setUp (line 265) | def setUp(self): method test_001_registry_initialization (line 270) | def test_001_registry_initialization(self): method test_002_register_validator (line 275) | def test_002_register_validator(self): method test_003_get_validator_existing (line 290) | def test_003_get_validator_existing(self): method test_004_get_validator_non_existing (line 303) | def test_004_get_validator_non_existing(self): method test_005_get_supported_types_empty (line 310) | def test_005_get_supported_types_empty(self): method test_006_get_supported_types_with_validators (line 317) | def test_006_get_supported_types_with_validators(self): method test_007_is_supported_true (line 330) | def test_007_is_supported_true(self): method test_008_is_supported_false (line 342) | def test_008_is_supported_false(self): method test_009_validate_challenge_success (line 349) | def test_009_validate_challenge_success(self): method test_010_validate_challenge_unsupported_type (line 373) | def test_010_validate_challenge_unsupported_type(self): method test_011_register_multiple_validators_same_type (line 389) | def test_011_register_multiple_validators_same_type(self): class TestHttpChallengeValidator (line 407) | class TestHttpChallengeValidator(unittest.TestCase): method setUp (line 410) | def setUp(self): method test_001_get_challenge_type (line 415) | def test_001_get_challenge_type(self): method test_002_perform_validation_import_error (line 420) | def test_002_perform_validation_import_error(self): method test_003_perform_validation_dns_success (line 455) | def test_003_perform_validation_dns_success( method test_004_perform_validation_dns_resolution_failed (line 494) | def test_004_perform_validation_dns_resolution_failed(self, mock_fqdn_... method test_005_perform_validation_ip_success (line 519) | def test_005_perform_validation_ip_success( method test_006_perform_validation_invalid_ip (line 546) | def test_006_perform_validation_invalid_ip(self, mock_ip_validate): method test_007_perform_validation_unsupported_authorization_type (line 568) | def test_007_perform_validation_unsupported_authorization_type(self): method test_008_perform_validation_http_request_failed (line 591) | def test_008_perform_validation_http_request_failed( method test_009_perform_validation_response_mismatch (line 628) | def test_009_perform_validation_response_mismatch( method test_010_perform_validation_with_proxy (line 658) | def test_010_perform_validation_with_proxy( class TestDnsChallengeValidator (line 696) | class TestDnsChallengeValidator(unittest.TestCase): method setUp (line 699) | def setUp(self): method test_001_get_challenge_type (line 704) | def test_001_get_challenge_type(self): method test_002_perform_validation_import_error (line 709) | def test_002_perform_validation_import_error(self): method test_003_perform_validation_basic_functionality (line 743) | def test_003_perform_validation_basic_functionality( method test_004_perform_validation_success (line 767) | def test_004_perform_validation_success( method test_005_perform_validation_hash_not_found (line 805) | def test_005_perform_validation_hash_not_found( method test_006_perform_validation_wildcard_domain (line 838) | def test_006_perform_validation_wildcard_domain( method test_007_perform_validation_with_dns_servers (line 868) | def test_007_perform_validation_with_dns_servers( method test_008_handle_wildcard_domain_with_wildcard (line 896) | def test_008_handle_wildcard_domain_with_wildcard(self): method test_009_handle_wildcard_domain_without_wildcard (line 901) | def test_009_handle_wildcard_domain_without_wildcard(self): method test_010_handle_wildcard_domain_subdomain_wildcard (line 906) | def test_010_handle_wildcard_domain_subdomain_wildcard(self): method test_011_perform_validation_empty_dns_records (line 914) | def test_011_perform_validation_empty_dns_records( class TestTlsAlpnChallengeValidator (line 938) | class TestTlsAlpnChallengeValidator(unittest.TestCase): method setUp (line 941) | def setUp(self): method test_001_get_challenge_type (line 946) | def test_001_get_challenge_type(self): method test_002_perform_validation_import_error (line 951) | def test_002_perform_validation_import_error(self): method test_003_perform_validation_basic_functionality (line 987) | def test_003_perform_validation_basic_functionality( method test_003_perform_validation_dns_success (line 1026) | def test_003_perform_validation_dns_success( method test_004_perform_validation_dns_resolution_failed (line 1072) | def test_004_perform_validation_dns_resolution_failed(self, mock_fqdn_... method test_005_perform_validation_ip_success (line 1098) | def test_005_perform_validation_ip_success( method test_006_perform_validation_invalid_ip (line 1137) | def test_006_perform_validation_invalid_ip(self, mock_ip_validate): method test_007_perform_validation_unsupported_authorization_type (line 1158) | def test_007_perform_validation_unsupported_authorization_type(self): method test_008_perform_validation_cert_retrieval_failed (line 1182) | def test_008_perform_validation_cert_retrieval_failed( method test_009_perform_validation_cert_validation_failed (line 1222) | def test_009_perform_validation_cert_validation_failed( method test_010_validate_certificate_extensions_success (line 1264) | def test_010_validate_certificate_extensions_success( method test_011_validate_certificate_extensions_fqdn_not_in_san (line 1295) | def test_011_validate_certificate_extensions_fqdn_not_in_san( method test_012_validate_certificate_extensions_extension_not_found (line 1312) | def test_012_validate_certificate_extensions_extension_not_found( method test_013_validate_certificate_extensions_basic_functionality (line 1330) | def test_013_validate_certificate_extensions_basic_functionality( method test_014_validate_certificate_extensions_import_error (line 1346) | def test_014_validate_certificate_extensions_import_error(self): method test_015_perform_validation_with_proxy_servers (line 1376) | def test_015_perform_validation_with_proxy_servers( class TestEmailReplyChallengeValidator (line 1431) | class TestEmailReplyChallengeValidator(unittest.TestCase): method setUp (line 1434) | def setUp(self): method test_001_get_challenge_type (line 1439) | def test_001_get_challenge_type(self): method test_002_perform_validation_import_error (line 1444) | def test_002_perform_validation_import_error(self): method test_003_perform_validation_basic_functionality (line 1476) | def test_003_perform_validation_basic_functionality(self, mock_email_h... method test_004_perform_validation_success (line 1498) | def test_004_perform_validation_success( method test_005_perform_validation_no_email_received (line 1528) | def test_005_perform_validation_no_email_received( method test_006_perform_validation_email_missing_body (line 1557) | def test_006_perform_validation_email_missing_body( method test_007_perform_validation_keyauth_mismatch (line 1587) | def test_007_perform_validation_keyauth_mismatch( method test_007_generate_email_keyauth (line 1618) | def test_007_generate_email_keyauth( method test_008_filter_email_matching_subject (line 1641) | def test_008_filter_email_matching_subject(self): method test_009_filter_email_non_matching_subject (line 1650) | def test_009_filter_email_non_matching_subject(self): method test_010_filter_email_missing_subject (line 1659) | def test_010_filter_email_missing_subject(self): method test_011_extract_email_keyauth_valid_format (line 1668) | def test_011_extract_email_keyauth_valid_format(self): method test_012_extract_email_keyauth_multiline_response (line 1682) | def test_012_extract_email_keyauth_multiline_response(self): method test_013_extract_email_keyauth_no_match (line 1699) | def test_013_extract_email_keyauth_no_match(self): method test_014_extract_email_keyauth_empty_body (line 1707) | def test_014_extract_email_keyauth_empty_body(self): method test_015_extract_email_keyauth_none_body (line 1713) | def test_015_extract_email_keyauth_none_body(self): class TestTkauthChallengeValidator (line 1720) | class TestTkauthChallengeValidator(unittest.TestCase): method setUp (line 1723) | def setUp(self): method test_001_get_challenge_type (line 1728) | def test_001_get_challenge_type(self): method test_002_perform_validation_success (line 1733) | def test_002_perform_validation_success(self): class TestSourceAddressValidator (line 1753) | class TestSourceAddressValidator(unittest.TestCase): method setUp (line 1756) | def setUp(self): method test_001_get_challenge_type (line 1763) | def test_001_get_challenge_type(self): method test_002_perform_validation_import_error (line 1768) | def test_002_perform_validation_import_error(self): method test_003_perform_validation_basic_functionality (line 1802) | def test_003_perform_validation_basic_functionality( method test_004_perform_validation_no_source_address (line 1823) | def test_004_perform_validation_no_source_address(self): method test_005_perform_validation_both_checks_success (line 1844) | def test_005_perform_validation_both_checks_success( method test_006_perform_validation_forward_check_failed (line 1878) | def test_006_perform_validation_forward_check_failed(self, mock_forward): method test_007_perform_validation_reverse_check_failed (line 1906) | def test_007_perform_validation_reverse_check_failed( method test_008_perform_validation_forward_only (line 1938) | def test_008_perform_validation_forward_only(self): method test_009_perform_forward_check_success (line 1967) | def test_009_perform_forward_check_success(self, mock_fqdn_resolve): method test_010_perform_forward_check_failure (line 1978) | def test_010_perform_forward_check_failure(self, mock_fqdn_resolve): method test_011_perform_forward_check_exception (line 1992) | def test_011_perform_forward_check_exception(self, mock_fqdn_resolve): method test_012_perform_reverse_check_success (line 2002) | def test_012_perform_reverse_check_success(self, mock_ptr_resolve): method test_013_perform_reverse_check_failure (line 2017) | def test_013_perform_reverse_check_failure(self, mock_ptr_resolve): method test_014_perform_reverse_check_exception (line 2029) | def test_014_perform_reverse_check_exception(self, mock_ptr_resolve): method test_015_domain_matches_exact (line 2038) | def test_015_domain_matches_exact(self): method test_016_domain_matches_subdomain (line 2043) | def test_016_domain_matches_subdomain(self): method test_017_domain_matches_no_match (line 2048) | def test_017_domain_matches_no_match(self): method test_018_domain_matches_case_insensitive (line 2053) | def test_018_domain_matches_case_insensitive(self): method test_019_domain_matches_trailing_dots (line 2058) | def test_019_domain_matches_trailing_dots(self): method test_020_perform_validation_context_options_override (line 2063) | def test_020_perform_validation_context_options_override(self): method test_021_perform_forward_check_dns_error_logging (line 2098) | def test_021_perform_forward_check_dns_error_logging(self, mock_fqdn_r... method test_022_domain_matches_empty_resolved_domain (line 2114) | def test_022_domain_matches_empty_resolved_domain(self): FILE: test/test_cli.py class FakeDBStore (line 16) | class FakeDBStore(object): class TestACMEHandler (line 23) | class TestACMEHandler(unittest.TestCase): method setUp (line 30) | def setUp(self, mock_arg, mock_lcfg): method test_001_always_pass (line 58) | def test_001_always_pass(self): method test_002_help_print (line 63) | def test_002_help_print(self, mock_cliprint): method test_003_prompt_get (line 68) | def test_003_prompt_get(self): method test_004_prompt_get (line 72) | def test_004_prompt_get(self): method test_005_intro_print (line 78) | def test_005_intro_print(self, mock_cliprint): method test_006_exec_cmd (line 86) | def test_006_exec_cmd(self, mock_cliprint, mock_help_print, mock_cmdchk): method test_007_exec_cmd (line 97) | def test_007_exec_cmd(self, mock_cliprint, mock_help_print, mock_cmdchk): method test_008_exec_cmd (line 108) | def test_008_exec_cmd(self, mock_cliprint, mock_help_print, mock_cmdchk): method test_009_cli_print (line 118) | def test_009_cli_print(self, mock_datetime, mock_print): method test_010_cli_print (line 126) | def test_010_cli_print(self, mock_datetime, mock_print): method test_011_cli_print (line 135) | def test_011_cli_print(self, mock_datetime, mock_print): method test_012_cli_print (line 145) | def test_012_cli_print(self, mock_datetime, mock_print): method test_013_cli_print (line 155) | def test_013_cli_print(self, mock_datetime, mock_print): method test_014_cli_print (line 165) | def test_014_cli_print(self, mock_datetime, mock_print): method test_015_cli_print (line 175) | def test_015_cli_print(self, mock_datetime, mock_print): method test_016_command_check (line 184) | def test_016_command_check(self, mock_help_print): method test_017_command_check (line 191) | def test_017_command_check(self, mock_help_print): method test_018_command_check (line 198) | def test_018_command_check(self, mock_server_set): method test_019_command_check (line 206) | def test_019_command_check(self, mock_help_print, mock_cli_print): method test_020_command_check (line 215) | def test_020_command_check(self, mock_help_print, mock_cli_print): method test_021_command_check (line 224) | def test_021_command_check(self, mock_keyops): method test_022_command_check (line 231) | def test_022_command_check(self, mock_quit): method test_023_command_check (line 238) | def test_023_command_check(self, mock_quit): method test_024_command_check (line 245) | def test_024_command_check(self, mock_cfg): method test_025_command_check (line 252) | def test_025_command_check(self, mock_report): method test_026_command_check (line 261) | def test_026_command_check(self, mock_report, mock_cli): method test_027_command_check (line 272) | def test_027_command_check(self, mock_report, mock_message, mock_cert,... method test_028_command_check (line 286) | def test_028_command_check(self, mock_report, mock_message, mock_cert,... method test_029_command_check (line 300) | def test_029_command_check(self, mock_report, mock_message, mock_cert,... method test_030_server_set (line 312) | def test_030_server_set(self, mock_cli_print, mock_is_url): method test_031_server_set (line 323) | def test_031_server_set(self, mock_cli_print, mock_is_url): method test_032_server_set (line 335) | def test_032_server_set(self, mock_cli_print, mock_is_url): method test_033_key_operations (line 347) | def test_033_key_operations(self, mock_load, mock_gen, mock_print): method test_034_key_operations (line 358) | def test_034_key_operations(self, mock_load, mock_gen, mock_print): method test_035_key_operations (line 369) | def test_035_key_operations(self, mock_load, mock_gen, mock_print): method test_036_key_operations (line 380) | def test_036_key_operations(self, mock_load, mock_gen, mock_print): method test_037_key_generate (line 393) | def test_037_key_generate( method test_038_key_operations (line 408) | def test_038_key_operations(self, mock_load, mock_gen, mock_print): method test_039_key_operations (line 420) | def test_039_key_operations(self, mock_load, mock_gen, mock_print): method test_038_key_generate (line 433) | def test_038_key_generate(self, mock_fd, mock_jwk, mock_json_dump): method test_039_isurl (line 447) | def test_039_isurl(self): method test_040_isurl (line 452) | def test_040_isurl(self): method test_041_isurl (line 457) | def test_041_isurl(self): method test_042_isurl (line 462) | def test_042_isurl(self): method test_043_isurl (line 467) | def test_043_isurl(self): method test_044_message_operations (line 475) | def test_044_message_operations(self, mock_sign, mock_send, mock_print): method test_045_message_operations (line 486) | def test_045_message_operations(self, mock_sign, mock_send, mock_print): method test_046_message_operations (line 497) | def test_046_message_operations(self, mock_sign, mock_send, mock_print): method test_047_msgops_sign (line 507) | def test_047_msgops_sign(self, mock_add_sig, mock_serialize): method test_048_msgops_send (line 515) | def test_048_msgops_send(self, mock_post): method test_049__csv_dump (line 522) | def test_049__csv_dump(self, mock_csv): method test_050_helper_generate_random_string (line 527) | def test_050_helper_generate_random_string(self): method test_051_helper_generate_random_string (line 531) | def test_051_helper_generate_random_string(self): method test_052__file_dump (line 536) | def test_052__file_dump(self): method test_053__file_load (line 541) | def test_053__file_load(self): method test_054__load_cfg (line 548) | def test_054__load_cfg(self, mock_check, mock_sleep): method test_055__load_cfg (line 557) | def test_055__load_cfg(self, mock_check, mock_sleep): method test_056__load_cfg (line 566) | def test_056__load_cfg(self, mock_check, mock_sleep): method test_057__load_cfg (line 575) | def test_057__load_cfg(self, mock_check, mock_sleep): method test_058__quit (line 582) | def test_058__quit(self, mock_exit): method test_059_keyops_load (line 590) | def test_059_keyops_load(self, mock_exists, mock_fload, mock_json): method test_060_keyops_load (line 603) | def test_060_keyops_load(self, mock_exists, mock_fload, mock_json): method test_061_config_ops (line 614) | def test_061_config_ops(self, mock_print): method test_062_certificate_operations (line 619) | def test_062_certificate_operations(self): method test_063_report_operations (line 628) | def test_063_report_operations( method test_064_report_operations (line 644) | def test_064_report_operations( method test_065_report_operations (line 660) | def test_065_report_operations( method test_066_report_operations (line 676) | def test_066_report_operations( method test_067_report_operations (line 696) | def test_067_report_operations( method test_068_report_operations (line 716) | def test_068_report_operations( method test_069_report_operations (line 736) | def test_069_report_operations( method test_070_report_operations (line 756) | def test_070_report_operations( method test_071_start (line 773) | def test_071_start(self, mock_input, mock_intro): method test_162_logger_setup (line 780) | def test_162_logger_setup(self): method test_163_logger_setup (line 784) | def test_163_logger_setup(self): FILE: test/test_cmp_ca_handler.py class TestACMEHandler (line 18) | class TestACMEHandler(unittest.TestCase): method setUp (line 21) | def setUp(self): method tearDown (line 30) | def tearDown(self): method test_001_default (line 34) | def test_001_default(self): method test_002_config_load (line 39) | def test_002_config_load(self, mock_load_cfg): method test_003_config_load (line 48) | def test_003_config_load(self, mock_load_cfg): method test_004_config_load (line 58) | def test_004_config_load(self, mock_load_cfg): method test_005_config_load (line 68) | def test_005_config_load(self, mock_load_cfg): method test_006_config_load (line 78) | def test_006_config_load(self, mock_load_cfg): method test_007_config_load (line 88) | def test_007_config_load(self, mock_load_cfg): method test_008_config_load (line 99) | def test_008_config_load(self, mock_load_cfg): method test_009_config_load (line 109) | def test_009_config_load(self, mock_load_cfg): method test_010_config_load (line 119) | def test_010_config_load(self, mock_load_cfg): method test_011_config_load (line 129) | def test_011_config_load(self, mock_load_cfg): method test_012_config_load (line 139) | def test_012_config_load(self, mock_load_cfg): method test_013_config_load (line 149) | def test_013_config_load(self, mock_load_cfg): method test_014_config_load (line 159) | def test_014_config_load(self, mock_load_cfg): method test_015_config_load (line 169) | def test_015_config_load(self, mock_load_cfg): method test_016_config_load (line 179) | def test_016_config_load(self, mock_load_cfg): method test_017_config_load (line 189) | def test_017_config_load(self, mock_load_cfg): method test_018_config_load (line 202) | def test_018_config_load(self, mock_load_cfg): method test_019_config_load (line 216) | def test_019_config_load(self, mock_load_cfg): method test_020_config_load (line 226) | def test_020_config_load(self, mock_load_cfg): method test_021_config_load (line 241) | def test_021_config_load(self, mock_load_cfg): method test_022_config_load (line 259) | def test_022_config_load(self, mock_load_cfg): method test_023_config_load (line 269) | def test_023_config_load(self, mock_load_cfg): method test_024_config_load (line 284) | def test_024_config_load(self, mock_load_cfg): method test_025__config_load (line 301) | def test_025__config_load(self, mock_load_cfg): method test_026__config_load (line 312) | def test_026__config_load(self, mock_load_cfg): method test_027_poll (line 322) | def test_027_poll(self): method test_028_trigger (line 329) | def test_028_trigger(self): method test_029_revoke (line 335) | def test_029_revoke(self): method test_030__enter__ (line 347) | def test_030__enter__(self, mock_load): method test_031__enter__ (line 353) | def test_031__enter__(self, mock_load): method test_032_tmp_dir_delete (line 361) | def test_032_tmp_dir_delete(self, mock_exists, mock_remove): method test_033_tmp_dir_delete (line 369) | def test_033_tmp_dir_delete(self, mock_exists, mock_remove): method test_034_certs_bundle (line 377) | def test_034_certs_bundle(self, mock_exists): method test_035_certs_bundle (line 384) | def test_035_certs_bundle(self, mock_exists): method test_036_certs_bundle (line 391) | def test_036_certs_bundle(self, mock_exists): method test_037_certs_bundle (line 398) | def test_037_certs_bundle(self, mock_exists): method test_038_certs_bundle (line 405) | def test_038_certs_bundle(self, mock_exists): method test_039_certs_bundle (line 416) | def test_039_certs_bundle(self, mock_exists): method test_040_certs_bundle (line 431) | def test_040_certs_bundle(self, mock_exists): method test_041_certs_bundle (line 441) | def test_041_certs_bundle(self, mock_exists): method test_042_opensslcmd_build (line 446) | def test_042_opensslcmd_build(self): method test_043_opensslcmd_build (line 468) | def test_043_opensslcmd_build(self): method test_044_opensslcmd_build (line 495) | def test_044_opensslcmd_build(self): method test_045_opensslcmd_build (line 518) | def test_045_opensslcmd_build(self): method test_046_opensslcmd_build (line 541) | def test_046_opensslcmd_build(self): method test_047_opensslcmd_build (line 565) | def test_047_opensslcmd_build(self): method test_048_opensslcmd_build (line 589) | def test_048_opensslcmd_build(self): method test_049_enroll (line 618) | def test_049_enroll(self): method test_050_enroll (line 630) | def test_050_enroll( method test_051_enroll (line 663) | def test_051_enroll( method test_052_enroll (line 693) | def test_052_enroll( method test_053__file_save (line 717) | def test_053__file_save(self, mock_op): FILE: test/test_digicert.py class FakeDBStore (line 18) | class FakeDBStore(object): class TestACMEHandler (line 25) | class TestACMEHandler(unittest.TestCase): method setUp (line 28) | def setUp(self): method test_001_default (line 42) | def test_001_default(self): method test_002__enter__ (line 47) | def test_002__enter__(self, mock_cfg): method test_003__enter__ (line 54) | def test_003__enter__(self, mock_cfg): method test_004_poll (line 61) | def test_004_poll(self): method test_005_trigger (line 68) | def test_005_trigger(self): method test_006__api_post (line 75) | def test_006__api_post(self, mock_req): method test_007__api_post (line 86) | def test_007__api_post(self, mock_req): method test_008__api_post (line 103) | def test_008__api_post(self, mock_req): method test_009__api_post (line 112) | def test_009__api_post(self, mock_req): method test_010__api_get (line 126) | def test_010__api_get(self, mock_req): method test_011__api_get (line 137) | def test_011__api_get(self, mock_req): method test_012__api_get (line 154) | def test_012__api_get(self, mock_req): method test_013__api_put (line 166) | def test_013__api_put(self, mock_req): method test_014__api_put (line 177) | def test_014__api_put(self, mock_req): method test_015__api_put (line 194) | def test_015__api_put(self, mock_req): method test_016__api_put (line 203) | def test_016__api_put(self, mock_req): method test_017__config_check (line 216) | def test_017__config_check(self): method test_018__config_check (line 224) | def test_018__config_check(self): method test_019__config_check (line 233) | def test_019__config_check(self): method test_020_config_load (line 243) | def test_020_config_load(self, mock_load, mock_eab, mock_hdl): method test_021_config_load (line 269) | def test_021_config_load(self, mock_load, mock_eab, mock_hdl): method test_022_config_load (line 293) | def test_022_config_load(self, mock_load, mock_eab, mock_hdl): method test_023_config_load (line 319) | def test_023_config_load(self, mock_load, mock_eab, mock_hdl): method test_024_config_load (line 345) | def test_024_config_load(self, mock_load, mock_eab, mock_hdl): method test_025_config_load (line 371) | def test_025_config_load(self, mock_load, mock_eab, mock_hdl): method test_026_config_load (line 397) | def test_026_config_load(self, mock_load, mock_eab, mock_hdl): method test_027_config_load (line 428) | def test_027_config_load(self, mock_load, mock_eab, mock_hdl): method test_028_config_load (line 454) | def test_028_config_load(self, mock_load, mock_eab, mock_hdl): method test_029_config_load (line 480) | def test_029_config_load(self, mock_load, mock_eab, mock_hdl): method test_030_config_load (line 511) | def test_030_config_load(self, mock_load, mock_eab, mock_hdl): method test_031_config_load (line 537) | def test_031_config_load(self, mock_load, mock_eab, mock_hdl): method test_032_config_load (line 563) | def test_032_config_load(self, mock_load, mock_eab, mock_hdl): method test_033_config_load (line 589) | def test_033_config_load(self, mock_load, mock_eab, mock_hdl): method test_034_config_load (line 615) | def test_034_config_load(self, mock_load, mock_eab, mock_hdl): method test_035_order_send (line 640) | def test_035_order_send(self, mock_post, mock_orgid): method test_036_order_send (line 649) | def test_036_order_send(self, mock_post, mock_orgid): method test_037_order_send (line 659) | def test_037_order_send(self, mock_post, mock_orgid): method test_038_order_send (line 671) | def test_038_order_send(self, mock_post, mock_orgid): method test_039_order_send (line 684) | def test_039_order_send(self, mock_post, mock_orgid): method test_040_order_send (line 696) | def test_040_order_send(self, mock_post, mock_orgid): method test_041_order_send (line 711) | def test_041_order_send(self, mock_post, mock_orgid, mock_ecl): method test_042_order_send (line 727) | def test_042_order_send(self, mock_post, mock_orgid, mock_ecl): method test_043_order_response_parse (line 743) | def test_043_order_response_parse(self, mock_b64, mock_pem2der): method test_044_order_response_parse (line 757) | def test_044_order_response_parse(self, mock_b64, mock_pem2der): method test_045_order_response_parse (line 775) | def test_045_order_response_parse(self, mock_b64, mock_pem2der): method test_046_order_response_parse (line 794) | def test_046_order_response_parse(self, mock_b64, mock_pem2der): method test_047_organiation_id_get (line 812) | def test_047_organiation_id_get(self, mock_get): method test_048_organiation_id_get (line 822) | def test_048_organiation_id_get(self, mock_get): method test_049_organiation_id_get (line 838) | def test_049_organiation_id_get(self, mock_get): method test_050_csr_check (line 854) | def test_050_csr_check(self, mock_ehichk): method test_051_csr_check (line 860) | def test_051_csr_check(self, mock_ehichk): method test_052_enroll (line 870) | def test_052_enroll( method test_053_enroll (line 893) | def test_053_enroll( method test_054_enroll (line 916) | def test_054_enroll( method test_055_enroll (line 940) | def test_055_enroll( method test_056_enroll (line 972) | def test_056_enroll( method test_057_revoke (line 991) | def test_057_revoke(self, mock_serial, mock_put, mock_cfgchk): method test_058_revoke (line 1001) | def test_058_revoke(self, mock_serial, mock_put, mock_cfgchk): method test_059_revoke (line 1011) | def test_059_revoke(self, mock_serial, mock_put): method test_060_revoke (line 1022) | def test_060_revoke(self, mock_serial, mock_put): method test_061_handler_check (line 1029) | def test_061_handler_check(self, mock_handler_check): FILE: test/test_directory.py class TestDirectory (line 16) | class TestDirectory(unittest.TestCase): method setUp (line 17) | def setUp(self): method test_001_context_manager (line 39) | def test_001_context_manager(self): method test_002_load_configuration (line 45) | def test_002_load_configuration(self): method test_003_parse_directory_empty (line 72) | def test_003_parse_directory_empty(self): method test_003_parse_directory_section_sets_config (line 85) | def test_003_parse_directory_section_sets_config(self): method test_004_parse_caaidentities_json (line 100) | def test_004_parse_caaidentities_json(self): method test_005_parse_caaidentities_fallback (line 105) | def test_005_parse_caaidentities_fallback(self): method test_006_parse_caaidentities_error (line 110) | def test_006_parse_caaidentities_error(self): method test_007_parse_booleans (line 117) | def test_007_parse_booleans(self): method test_008_parse_booleans_error (line 125) | def test_008_parse_booleans_error(self): method test_009_parse_eab_and_profiles (line 132) | def test_009_parse_eab_and_profiles(self): method test_010_load_ca_handler_success (line 141) | def test_010_load_ca_handler_success(self): method test_011_load_ca_handler_failure (line 151) | def test_011_load_ca_handler_failure(self): method test_012_build_meta_information (line 158) | def test_012_build_meta_information(self): method test_013_build_meta_information_suppress (line 175) | def test_013_build_meta_information_suppress(self): method test_014_build_directory_response_db_check_ok (line 184) | def test_014_build_directory_response_db_check_ok(self): method test_015_build_directory_response_db_check_nok (line 194) | def test_015_build_directory_response_db_check_nok(self): method test_016_build_directory_response_db_exception (line 206) | def test_016_build_directory_response_db_exception(self): method test_017_build_directory_response_random_key (line 218) | def test_017_build_directory_response_random_key(self): method test_018_get_directory_response_success (line 227) | def test_018_get_directory_response_success(self): method test_019_get_directory_response_error (line 234) | def test_019_get_directory_response_error(self): method test_020_get_directory_response_no_handler (line 240) | def test_020_get_directory_response_no_handler(self): method test_021_directory_get (line 245) | def test_021_directory_get(self): method test_022_servername_get (line 252) | def test_022_servername_get(self): method test_023_parse_directory_section_calls_parse_caaidentities (line 256) | def test_023_parse_directory_section_calls_parse_caaidentities(self): method test_024_repository_get_db_version_success (line 279) | def test_024_repository_get_db_version_success(self): method test_025_repository_get_db_version_exception (line 286) | def test_025_repository_get_db_version_exception(self): method test_026_get_directory_response_profiles_sync_load_profiles (line 295) | def test_026_get_directory_response_profiles_sync_load_profiles(self): method test_027_get_directory_response_no_cahandler (line 320) | def test_027_get_directory_response_no_cahandler(self): method test_028_profile_list_get_success (line 327) | def test_028_profile_list_get_success(self): method test_029_profile_list_get_success (line 334) | def test_029_profile_list_get_success(self): method test_030_profile_list_get_db_exception (line 342) | def test_030_profile_list_get_db_exception(self): method test_031_profile_list_get_json_error (line 351) | def test_031_profile_list_get_json_error(self): method test_032_profile_list_set_success (line 361) | def test_032_profile_list_set_success(self): method test_033_profile_list_set_db_exception (line 368) | def test_033_profile_list_set_db_exception(self): method test_034_parse_cahandler_section_profiles_sync_exception (line 377) | def test_034_parse_cahandler_section_profiles_sync_exception(self): method test_035_parse_cahandler_section_sets_acme_url (line 390) | def test_035_parse_cahandler_section_sets_acme_url(self): method test_036_parse_cahandler_section_profiles_sync_disabled (line 402) | def test_036_parse_cahandler_section_profiles_sync_disabled(self): method test_037_parse_cahandler_section_profiles_sync_enabled_profiles_configured (line 415) | def test_037_parse_cahandler_section_profiles_sync_enabled_profiles_co... method test_038_parse_cahandler_section_profiles_sync_enabled_no_acme_url (line 439) | def test_038_parse_cahandler_section_profiles_sync_enabled_no_acme_url... method test_039_parse_cahandler_section_profiles_sync_interval_set (line 457) | def test_039_parse_cahandler_section_profiles_sync_interval_set(self): method test_040_parse_cahandler_section_profiles_sync_interval_error (line 481) | def test_040_parse_cahandler_section_profiles_sync_interval_error(self): FILE: test/test_django_update.py class TestDjangoUpdate (line 16) | class TestDjangoUpdate(unittest.TestCase): method setUp (line 19) | def setUp(self): method tearDown (line 25) | def tearDown(self): method test_001_imports_and_setup (line 31) | def test_001_imports_and_setup(self): method test_002_setup_django_success (line 41) | def test_002_setup_django_success(self, mock_print): method test_003_setup_django_import_error (line 69) | def test_003_setup_django_import_error(self, mock_print): method test_004_setup_django_general_error (line 85) | def test_004_setup_django_general_error(self, mock_print): method test_005_run_migrations_success (line 105) | def test_005_run_migrations_success(self, mock_print): method test_006_run_migrations_error (line 128) | def test_006_run_migrations_error(self, mock_print): method test_007_update_status_fields_success (line 147) | def test_007_update_status_fields_success(self, mock_print): method test_008_update_status_fields_partial_error (line 171) | def test_008_update_status_fields_partial_error(self, mock_print): method test_009_update_db_version_success (line 200) | def test_009_update_db_version_success(self, mock_print): method test_010_update_db_version_error (line 217) | def test_010_update_db_version_error(self, mock_print): method test_011_main_all_success (line 241) | def test_011_main_all_success( method test_012_main_setup_failure (line 268) | def test_012_main_setup_failure( method test_013_main_partial_failures (line 289) | def test_013_main_partial_failures( method test_014_main_entry_point (line 313) | def test_014_main_entry_point(self, mock_exit, mock_main): method test_015_main_entry_point_with_error (line 329) | def test_015_main_entry_point_with_error(self, mock_exit, mock_main): method test_016_status_list_completeness (line 343) | def test_016_status_list_completeness(self): method test_017_update_status_fields_print_messages (line 362) | def test_017_update_status_fields_print_messages(self, mock_print): method test_018_update_db_version_print_messages (line 376) | def test_018_update_db_version_print_messages(self, mock_print): method test_019_global_variables_initialization (line 391) | def test_019_global_variables_initialization(self): method test_020_setup_django_sets_globals (line 403) | def test_020_setup_django_sets_globals(self, mock_print): FILE: test/test_eabfile_handler.py class TestACMEHandler (line 17) | class TestACMEHandler(unittest.TestCase): method setUp (line 20) | def setUp(self): method test_001_default (line 31) | def test_001_default(self): method test_002__enter__ (line 36) | def test_002__enter__(self, mock_cfg): method test_003_config_load (line 43) | def test_003_config_load(self, mock_load_cfg): method test_004_config_load (line 51) | def test_004_config_load(self, mock_load_cfg): method test_005_config_load (line 60) | def test_005_config_load(self, mock_load_cfg): method test_006_config_load (line 69) | def test_006_config_load(self, mock_load_cfg): method test_007_mac_key_get (line 77) | def test_007_mac_key_get(self): method test_008_mac_key_get (line 82) | def test_008_mac_key_get(self): method test_009_mac_key_get (line 89) | def test_009_mac_key_get(self, mock_csv): method test_010_mac_key_get (line 97) | def test_010_mac_key_get(self, mock_csv): method test_011_mac_key_get (line 105) | def test_011_mac_key_get(self, mock_csv): method test_012_mac_key_get (line 113) | def test_012_mac_key_get(self, mock_csv): method test_013_mac_key_get (line 124) | def test_013_mac_key_get(self, mock_csv): method test_014_mac_key_get (line 135) | def test_014_mac_key_get(self, mock_csv): method test_015_mac_key_get (line 143) | def test_015_mac_key_get(self, mock_csv): method test_016_mac_key_get (line 151) | def test_016_mac_key_get(self, mock_csv): FILE: test/test_eabjson_handler.py class TestACMEHandler (line 17) | class TestACMEHandler(unittest.TestCase): method setUp (line 20) | def setUp(self): method test_001_default (line 31) | def test_001_default(self): method test_002__enter__ (line 36) | def test_002__enter__(self, mock_cfg): method test_003_config_load (line 43) | def test_003_config_load(self, mock_load_cfg): method test_004_config_load (line 51) | def test_004_config_load(self, mock_load_cfg): method test_005_config_load (line 60) | def test_005_config_load(self, mock_load_cfg): method test_006_config_load (line 69) | def test_006_config_load(self, mock_load_cfg): method test_007_mac_key_get (line 77) | def test_007_mac_key_get(self): method test_008_mac_key_get (line 82) | def test_008_mac_key_get(self): method test_009_mac_key_get (line 89) | def test_009_mac_key_get(self, mock_json): method test_010_mac_key_get (line 97) | def test_010_mac_key_get(self, mock_json): method test_011_mac_key_get (line 105) | def test_011_mac_key_get(self, mock_json): method test_012_mac_key_get (line 113) | def test_012_mac_key_get(self, mock_json): FILE: test/test_eabkid_profile_handler.py class TestACMEHandler (line 17) | class TestACMEHandler(unittest.TestCase): method setUp (line 20) | def setUp(self): method test_001_default (line 31) | def test_001_default(self): method test_002__enter__ (line 36) | def test_002__enter__(self, mock_cfg): method test_003_config_load (line 43) | def test_003_config_load(self, mock_load_cfg): method test_004_config_load (line 51) | def test_004_config_load(self, mock_load_cfg): method test_005_config_load (line 60) | def test_005_config_load(self, mock_load_cfg): method test_006_config_load (line 69) | def test_006_config_load(self, mock_load_cfg): method test_007_mac_key_get (line 77) | def test_007_mac_key_get(self): method test_008_mac_key_get (line 82) | def test_008_mac_key_get(self): method test_009_mac_key_get (line 89) | def test_009_mac_key_get(self, mock_json): method test_010_mac_key_get (line 97) | def test_010_mac_key_get(self, mock_json): method test_011_mac_key_get (line 105) | def test_011_mac_key_get(self, mock_json): method test_012_mac_key_get (line 113) | def test_012_mac_key_get(self, mock_json): method test_013_mac_key_get (line 126) | def test_013_mac_key_get(self, mock_json): method test_014_wllist_check (line 132) | def test_014_wllist_check(self): method test_015_wllist_check (line 138) | def test_015_wllist_check(self): method test_016_wllist_check (line 144) | def test_016_wllist_check(self): method test_017_wllist_check (line 150) | def test_017_wllist_check(self): method test_018_wllist_check (line 156) | def test_018_wllist_check(self): method test_019_wllist_check (line 162) | def test_019_wllist_check(self): method test_020_wllist_check (line 168) | def test_020_wllist_check(self): method test_021_wllist_check (line 174) | def test_021_wllist_check(self): method test_022_wllist_check (line 180) | def test_022_wllist_check(self): method test_023_wllist_check (line 186) | def test_023_wllist_check(self): method test_024_wllist_check (line 192) | def test_024_wllist_check(self): method test_025_wllist_check (line 198) | def test_025_wllist_check(self): method test_026_wllist_check (line 204) | def test_026_wllist_check(self): method test_027_wllist_check (line 210) | def test_027_wllist_check(self): method test_028_wllist_check (line 216) | def test_028_wllist_check(self): method test_029_chk_san_lists_get (line 223) | def test_029_chk_san_lists_get(self, mock_san): method test_030_chk_san_lists_get (line 232) | def test_030_chk_san_lists_get(self, mock_san): method test_031_chk_san_lists_get (line 246) | def test_031_chk_san_lists_get(self, mock_san): method test_032_cn_add (line 253) | def test_032_cn_add(self, mock_cnget): method test_033_cn_add (line 263) | def test_033_cn_add(self, mock_cnget): method test_034_key_file_load (line 271) | def test_034_key_file_load(self): method test_035_key_file_load (line 277) | def test_035_key_file_load(self): method test_036_key_file_load (line 290) | def test_036_key_file_load(self): method test_037_key_file_load (line 300) | def test_037_key_file_load(self): method test_038_key_file_load (line 316) | def test_038_key_file_load(self, mock_load): method test_039_allowed_domains_check (line 327) | def test_039_allowed_domains_check(self, mock_san, mock_cn, mock_wlc): method test_040_allowed_domains_check (line 339) | def test_040_allowed_domains_check(self, mock_san, mock_cn, mock_wlc): method test_041_allowed_domains_check (line 352) | def test_041_allowed_domains_check(self, mock_san, mock_cn, mock_wlc): method test_042_eab_profile_get (line 363) | def test_042_eab_profile_get(self, mock_prof): method test_043_eab_profile_get (line 380) | def test_043_eab_profile_get(self, mock_prof): method test_044_eab_profile_get (line 395) | def test_044_eab_profile_get(self, mock_prof): method test_045_eab_profile_get (line 410) | def test_045_eab_profile_get(self, mock_prof): method test_046_eab_profile_get (line 425) | def test_046_eab_profile_get(self, mock_prof): FILE: test/test_eabsql_handler.py class TestEABHandler (line 15) | class TestEABHandler(unittest.TestCase): method setUp (line 18) | def setUp(self): method test_001_default (line 41) | def test_001_default(self): method test_002__enter__ (line 46) | def test_002__enter__(self, mock_config_load): method test_003_config_load (line 53) | def test_003_config_load(self, mock_config_load): method test_004_config_load (line 65) | def test_004_config_load(self, mock_load_config_load): method test_005_config_load (line 78) | def test_005_config_load(self, mock_config_load): method test_006_config_load (line 91) | def test_006_config_load(self, mock_config_load): method test_007_config_load (line 104) | def test_007_config_load(self, mock_config_load): method test_008_mac_key_get (line 122) | def test_008_mac_key_get(self): method test_009_allowed_domains_check (line 129) | def test_009_allowed_domains_check(self, mock_san, mock_cn, mock_wlc): method test_010_allowed_domains_check (line 141) | def test_010_allowed_domains_check(self, mock_san, mock_cn, mock_wlc): method test_011_allowed_domains_check (line 154) | def test_011_allowed_domains_check(self, mock_san, mock_cn, mock_wlc): method test_012_eab_profile_get (line 165) | def test_012_eab_profile_get(self, mock_key_file_load): method test_013_eab_profile_get (line 182) | def test_013_eab_profile_get(self, mock_key_file_load): method test_014_eab_profile_get (line 197) | def test_014_eab_profile_get(self, mock_key_file_load): method test_015_eab_profile_get (line 212) | def test_015_eab_profile_get(self, mock_key_file_load): method test_016_eab_profile_get (line 227) | def test_016_eab_profile_get(self, mock_prof): method test_017_chk_san_lists_get_empty (line 243) | def test_017_chk_san_lists_get_empty(self): method test_018_chk_san_lists_get_value (line 249) | def test_018_chk_san_lists_get_value(self, mock_csr_san_get): method test_019_chk_san_lists_get_value (line 256) | def test_019_chk_san_lists_get_value(self, mock_csr_san_get): method test_021_cn_add_cn_not_in_sans (line 271) | def test_021_cn_add_cn_not_in_sans(self, mock_csr_cn_get): method test_022_cn_add_cn_already_in_sans (line 280) | def test_022_cn_add_cn_already_in_sans(self, mock_csr_cn_get): method test_023_cn_add_no_cn (line 289) | def test_023_cn_add_no_cn(self, mock_csr_cn_get): method test_024_list_regex_check_match (line 295) | def test_024_list_regex_check_match(self): method test_025_list_regex_check_no_match (line 300) | def test_025_list_regex_check_no_match(self): method test_026_list_regex_check_wildcard (line 305) | def test_026_list_regex_check_wildcard(self): method test_027_wllist_check_match (line 312) | def test_027_wllist_check_match(self): method test_028_wllist_check_empty_list (line 317) | def test_028_wllist_check_empty_list(self): method test_029_wllist_check_toggle (line 322) | def test_029_wllist_check_toggle(self): method test_030_wllist_check_no_match (line 329) | def test_030_wllist_check_no_match(self): method test_031_key_file_load_no_db_params (line 334) | def test_031_key_file_load_no_db_params(self): method test_032_key_file_load_mssql (line 344) | def test_032_key_file_load_mssql(self, mock_load_mssql): method test_033_key_file_load_postgres (line 357) | def test_033_key_file_load_postgres(self, mock_load_postgres): method test_034_key_file_load_error (line 371) | def test_034_key_file_load_error(self, mock_postgres, mock_mssql): method test_035_load_mssql_profiles_success (line 384) | def test_035_load_mssql_profiles_success(self, mock_connect): method test_036_load_mssql_profiles_empty (line 404) | def test_036_load_mssql_profiles_empty(self, mock_connect): method test_037_load_mssql_profiles_exception (line 415) | def test_037_load_mssql_profiles_exception(self, mock_connect): method test_038_load_postgres_profiles_success (line 424) | def test_038_load_postgres_profiles_success(self, mock_connect): method test_039_load_postgres_profiles_empty (line 440) | def test_039_load_postgres_profiles_empty(self, mock_connect): method test_040_load_postgres_profiles_exception (line 454) | def test_040_load_postgres_profiles_exception(self, mock_connect): method test_041_mac_key_get_valid (line 463) | def test_041_mac_key_get_valid(self, mock_key_file_load): method test_042_mac_key_get_missing_key (line 474) | def test_042_mac_key_get_missing_key(self, mock_key_file_load): method test_043_mac_key_get_missing_db_params (line 484) | def test_043_mac_key_get_missing_db_params(self): method test_044_mac_key_get_exception (line 496) | def test_044_mac_key_get_exception(self, mock_key_file_load): method test_045_eab_kid_get_exception (line 508) | def test_045_eab_kid_get_exception(self): FILE: test/test_ejbca_handler.py class TestACMEHandler (line 15) | class TestACMEHandler(unittest.TestCase): method setUp (line 18) | def setUp(self): method test_001_default (line 28) | def test_001_default(self): method test_002__config_server_load (line 32) | def test_002__config_server_load(self): method test_003__config_server_load (line 41) | def test_003__config_server_load(self): method test_004__config_server_load (line 49) | def test_004__config_server_load(self): method test_005__config_server_load (line 58) | def test_005__config_server_load(self): method test_006__config_server_load (line 67) | def test_006__config_server_load(self): method test_007__config_server_load (line 76) | def test_007__config_server_load(self): method test_008__config_server_load (line 85) | def test_008__config_server_load(self): method test_009__config_server_load (line 99) | def test_009__config_server_load(self): method test_010__config_server_load (line 108) | def test_010__config_server_load(self): method test_011__config_auth_load (line 117) | def test_011__config_auth_load(self): method test_012__config_auth_load (line 132) | def test_012__config_auth_load(self): method test_013__config_auth_load (line 147) | def test_013__config_auth_load(self): method test_014__config_auth_load (line 162) | def test_014__config_auth_load(self): method test_015__config_auth_load (line 171) | def test_015__config_auth_load(self): method test_016__config_auth_load (line 180) | def test_016__config_auth_load(self): method test_017__config_auth_load (line 194) | def test_017__config_auth_load(self): method test_018__config_auth_load (line 209) | def test_018__config_auth_load(self): method test_019__config_auth_load (line 225) | def test_019__config_auth_load(self, mock_sess): method test_020__config_cainfo_load (line 241) | def test_020__config_cainfo_load(self): method test_021__config_cainfo_load (line 250) | def test_021__config_cainfo_load(self): method test_022__config_cainfo_load (line 259) | def test_022__config_cainfo_load(self): method test_023__config_cainfo_load (line 268) | def test_023__config_cainfo_load(self): method test_024_config_load (line 281) | def test_024_config_load( method test_025_config_load (line 322) | def test_025_config_load( method test_026_config_load (line 360) | def test_026_config_load( method test_027_config_load (line 398) | def test_027_config_load( method test_028_config_load (line 436) | def test_028_config_load( method test_029_config_load (line 474) | def test_029_config_load( method test_030_config_load (line 492) | def test_030_config_load( method test_031_config_authuser_load (line 527) | def test_031_config_authuser_load(self): method test_032_config_authuser_load (line 535) | def test_032_config_authuser_load(self): method test_033_config_authuser_load (line 548) | def test_033_config_authuser_load(self): method test_034_config_authuser_load (line 559) | def test_034_config_authuser_load(self): method test_035_config_enrollmentcode_load (line 569) | def test_035_config_enrollmentcode_load(self): method test_036_config_enrollmentcode_load (line 577) | def test_036_config_enrollmentcode_load(self): method test_037_config_enrollmentcode_load (line 590) | def test_037_config_enrollmentcode_load(self): method test_038_config_enrollmentcode_load (line 601) | def test_038_config_enrollmentcode_load(self): method test_039_config_session_load (line 611) | def test_039_config_session_load(self): method test_040_config_session_load (line 619) | def test_040_config_session_load(self): method test_041_config_session_load (line 632) | def test_041_config_session_load(self): method test_042_config_session_load (line 648) | def test_042_config_session_load(self): method test_043_config_session_load (line 657) | def test_043_config_session_load(self, mock_pkcs12, mock_session): method test_044_config_session_load (line 672) | def test_044_config_session_load(self, mock_pkcs12, mock_session): method test_045__api_post (line 687) | def test_045__api_post(self): method test_046__api_post (line 696) | def test_046__api_post(self): method test_047__api_put (line 708) | def test_047__api_put(self): method test_048__api_put (line 717) | def test_048__api_put(self): method test_049__enter (line 730) | def test_049__enter(self, mock_cfgload): method test_050__enter (line 736) | def test_050__enter(self, mock_cfgload): method test_051__cert_status_check (line 742) | def test_051__cert_status_check(self): method test_052__cert_status_check (line 754) | def test_052__cert_status_check(self): method test_053__cert_status_check (line 767) | def test_053__cert_status_check(self): method test_054__status_get (line 783) | def test_054__status_get(self): method test_055__status_get (line 792) | def test_055__status_get(self): method test_056__status_get (line 805) | def test_056__status_get(self): method test_057__sign (line 823) | def test_057__sign(self, mock_post, mock_cn): method test_058__sign (line 832) | def test_058__sign(self, mock_post, mock_cn): method test_059__sign (line 841) | def test_059__sign(self, mock_post): method test_060_poll (line 851) | def test_060_poll(self): method test_061_trigger (line 858) | def test_061_trigger(self): method test_062_enroll (line 865) | def test_062_enroll(self, mock_status): method test_063_enroll (line 875) | def test_063_enroll(self, mock_status): method test_064_enroll (line 885) | def test_064_enroll(self, mock_status): method test_065_enroll (line 895) | def test_065_enroll( method test_066_enroll (line 923) | def test_066_enroll( method test_067_enroll (line 953) | def test_067_enroll( method test_068_enroll (line 985) | def test_068_enroll( method test_069_enroll (line 1018) | def test_069_enroll( method test_070_enroll (line 1052) | def test_070_enroll( method test_071_enroll (line 1083) | def test_071_enroll( method test_072_revoke (line 1111) | def test_072_revoke( method test_073_revoke (line 1128) | def test_073_revoke( method test_074_revoke (line 1149) | def test_074_revoke( method test_075_revoke (line 1170) | def test_075_revoke( method test_076_revoke (line 1192) | def test_076_revoke( method test_077_revoke (line 1218) | def test_077_revoke( method test_078__csr_cn_get (line 1241) | def test_078__csr_cn_get(self, mock_cn, mock_san): method test_079__csr_cn_get (line 1250) | def test_079__csr_cn_get(self, mock_cn, mock_san): method test_080__csr_cn_get (line 1265) | def test_080__csr_cn_get(self, mock_cn, mock_san): method test_081_handler_check (line 1279) | def test_081_handler_check(self, mock_handler_check): FILE: test/test_email_handler.py class TestEmailHandler (line 19) | class TestEmailHandler(unittest.TestCase): method setUp (line 22) | def setUp(self): method _mock_mail (line 28) | def _mock_mail( method tearDown (line 54) | def tearDown(self): method test_001_config_load_default_section_exists (line 60) | def test_001_config_load_default_section_exists(self, mock_load_config): method test_002_config_load_fallback_values (line 93) | def test_002_config_load_fallback_values(self, mock_load_config): method test_003_config_load_no_default_section (line 117) | def test_003_config_load_no_default_section(self, mock_load_config): method test_004_config_load_invalid_port_values (line 129) | def test_004_config_load_invalid_port_values(self, mock_load_config): method test_005_smtp_config_validate_valid (line 161) | def test_005_smtp_config_validate_valid(self): method test_006_smtp_config_validate_missing_server (line 171) | def test_006_smtp_config_validate_missing_server(self): method test_007_smtp_config_validate_missing_email (line 179) | def test_007_smtp_config_validate_missing_email(self): method test_008_smtp_config_validate_missing_credentials (line 188) | def test_008_smtp_config_validate_missing_credentials(self): method test_009_imap_config_validate_valid (line 198) | def test_009_imap_config_validate_valid(self): method test_010_imap_config_validate_missing_server (line 207) | def test_010_imap_config_validate_missing_server(self): method test_011_imap_config_validate_missing_credentials (line 215) | def test_011_imap_config_validate_missing_credentials(self): method test_012_send_email_success_tls (line 225) | def test_012_send_email_success_tls(self, mock_smtp): method test_013_send_email_success_ssl (line 261) | def test_013_send_email_success_ssl(self, mock_smtp_ssl): method test_014_send_email_with_html (line 288) | def test_014_send_email_with_html(self, mock_smtp): method test_015_send_email_invalid_config (line 311) | def test_015_send_email_invalid_config(self): method test_016_send_email_exception (line 321) | def test_016_send_email_exception(self, mock_smtp): method test_017_receive_emails_success (line 344) | def test_017_receive_emails_success(self, mock_imap): method test_018_receive_emails_no_ssl (line 371) | def test_018_receive_emails_no_ssl(self, mock_imap): method test_019_receive_emails_invalid_config (line 390) | def test_019_receive_emails_invalid_config(self): method test_020_receive_emails_exception (line 396) | def test_020_receive_emails_exception(self, mock_imap): method test_021_email_parse_simple (line 413) | def test_021_email_parse_simple(self): method test_022_email_parse_multipart_text_html (line 437) | def test_022_email_parse_multipart_text_html(self): method test_023_email_parse_with_attachment (line 471) | def test_023_email_parse_with_attachment(self): method test_024_start_polling (line 504) | def test_024_start_polling(self): method test_025_start_polling_already_active (line 520) | def test_025_start_polling_already_active(self): method test_026_stop_polling (line 529) | def test_026_stop_polling(self): method test_027_stop_polling_not_active (line 543) | def test_027_stop_polling_not_active(self): method test_028_polling_loop (line 552) | def test_028_polling_loop(self, mock_sleep): method test_029_polling_loop (line 580) | def test_029_polling_loop(self, mock_sleep, mock_receive): method test_030_context_manager (line 603) | def test_030_context_manager(self): method test_031_receive_with_callback (line 613) | def test_031_receive_with_callback(self, mock_imap): method test_emails_fetch_no_emails (line 687) | def test_emails_fetch_no_emails(self): method test_emails_fetch_multiple_emails (line 694) | def test_emails_fetch_multiple_emails(self): method test_emails_fetch_mark_as_unread (line 708) | def test_emails_fetch_mark_as_unread(self): method test_emails_fetch_with_callback_returns_result (line 720) | def test_emails_fetch_with_callback_returns_result(self): method test_emails_fetch_with_callback_filters_all (line 735) | def test_emails_fetch_with_callback_filters_all(self): method test_emails_fetch_search_not_ok (line 750) | def test_emails_fetch_search_not_ok(self): method test_emails_fetch_fetch_not_ok (line 757) | def test_emails_fetch_fetch_not_ok(self): method test_032_send_email_challenge_basic_functionality (line 769) | def test_032_send_email_challenge_basic_functionality(self, mock_send): method test_033_send_email_challenge_with_none_parameters (line 805) | def test_033_send_email_challenge_with_none_parameters(self, mock_send): method test_034_send_email_challenge_message_content (line 837) | def test_034_send_email_challenge_message_content(self, mock_send): method test_035_send_email_challenge_subject_formatting (line 866) | def test_035_send_email_challenge_subject_formatting(self, mock_send): method test_036_send_email_challenge_no_default_parameters (line 887) | def test_036_send_email_challenge_no_default_parameters(self, mock_send): method test_037_send_email_challenge_integration_success (line 900) | def test_037_send_email_challenge_integration_success(self, mock_send): method test_038_send_email_challenge_integration_failure (line 915) | def test_038_send_email_challenge_integration_failure(self, mock_send): method test_039_send_email_challenge_send_exception (line 930) | def test_039_send_email_challenge_send_exception(self, mock_send): FILE: test/test_email_hooks.py class DummyConfig (line 9) | class DummyConfig: method __init__ (line 12) | def __init__(self, data): method __contains__ (line 15) | def __contains__(self, key): method __getitem__ (line 18) | def __getitem__(self, key): method get (line 21) | def get(self, section, key, fallback=None): method getint (line 24) | def getint(self, section, key, fallback=None): method getboolean (line 31) | def getboolean(self, section, key, fallback=None): class TestHooks (line 40) | class TestHooks(unittest.TestCase): method setUp (line 43) | def setUp(self): method test_001_init (line 68) | def test_001_init(self): method test_002_validate_configuration_valid (line 74) | def test_002_validate_configuration_valid(self): method test_003_validate_configuration_empty_config (line 93) | def test_003_validate_configuration_empty_config(self): method test_004_validate_configuration_missing_section (line 104) | def test_004_validate_configuration_missing_section(self): method test_005_validate_configuration_missing_required_keys (line 117) | def test_005_validate_configuration_missing_required_keys(self): method test_006_validate_configuration_empty_required_keys (line 135) | def test_006_validate_configuration_empty_required_keys(self): method test_007_smtp_valid_port_and_timeout (line 165) | def test_007_smtp_valid_port_and_timeout(self): method test_008_smtp_invalid_timeout (line 178) | def test_008_smtp_invalid_timeout(self): method test_009_smtp_password_no_username (line 185) | def test_009_smtp_password_no_username(self): method test_010_smtp_username_no_password (line 195) | def test_010_smtp_username_no_password(self): method test_011_smtp_both_tls_and_starttls (line 208) | def test_011_smtp_both_tls_and_starttls(self): method test_012_smtp_port_465_without_tls (line 221) | def test_012_smtp_port_465_without_tls(self): method test_013_smtp_port_587_without_tls_or_starttls (line 231) | def test_013_smtp_port_587_without_tls_or_starttls(self): method test_014_load_configuration_assigns_required_fields (line 242) | def test_014_load_configuration_assigns_required_fields(self): method test_015_load_configuration_optional_booleans (line 255) | def test_015_load_configuration_optional_booleans(self): method test_016_load_configuration_smtp_defaults (line 269) | def test_016_load_configuration_smtp_defaults(self): method test_017_load_configuration_assigns_all_fields (line 286) | def test_017_load_configuration_assigns_all_fields(self): method test_018_load_configuration_uses_sender_as_username_if_password_only (line 312) | def test_018_load_configuration_uses_sender_as_username_if_password_on... method test_019_load_configuration_sets_envelope_fields (line 326) | def test_019_load_configuration_sets_envelope_fields(self): method test_059_done_already_sent_warning (line 342) | def test_059_done_already_sent_warning(self): method test_060_config_from_default_section (line 351) | def test_060_config_from_default_section(self): method test_061_config_hooks_precedence_over_default (line 374) | def test_061_config_hooks_precedence_over_default(self): method test_062_config_missing_both_sections_fails (line 402) | def test_062_config_missing_both_sections_fails(self): method test_063_config_required_keys_from_mixed_sections (line 414) | def test_063_config_required_keys_from_mixed_sections(self): method test_064_get_config_int_from_hooks_section (line 438) | def test_064_get_config_int_from_hooks_section(self): method test_065_get_config_int_fallback_to_default_section (line 462) | def test_065_get_config_int_fallback_to_default_section(self): method test_066_get_config_int_with_fallback_value (line 483) | def test_066_get_config_int_with_fallback_value(self): method test_067_get_config_int_invalid_conversion (line 502) | def test_067_get_config_int_invalid_conversion(self): method test_068_get_config_int_edge_cases (line 524) | def test_068_get_config_int_edge_cases(self): method test_069_get_config_boolean_from_hooks_section (line 549) | def test_069_get_config_boolean_from_hooks_section(self): method test_070_get_config_boolean_fallback_to_default_section (line 573) | def test_070_get_config_boolean_fallback_to_default_section(self): method test_071_get_config_boolean_various_true_values (line 594) | def test_071_get_config_boolean_various_true_values(self): method test_072_get_config_boolean_various_false_values (line 629) | def test_072_get_config_boolean_various_false_values(self): method test_073_get_config_boolean_with_fallback_value (line 666) | def test_073_get_config_boolean_with_fallback_value(self): method test_074_get_config_boolean_already_boolean_type (line 686) | def test_074_get_config_boolean_already_boolean_type(self): method test_021_done_handles_exception_and_logs_error (line 709) | def test_021_done_handles_exception_and_logs_error(self): method test_022_clean_san_valid_list (line 727) | def test_022_clean_san_valid_list(self): method test_023_clean_san_none (line 732) | def test_023_clean_san_none(self): method test_024_clean_san_not_a_list (line 739) | def test_024_clean_san_not_a_list(self): method test_025_clean_san_invalid_format (line 746) | def test_025_clean_san_invalid_format(self): method test_026_attach_csr_success (line 755) | def test_026_attach_csr_success(self, mock_mimeapp, mock_build_pem): method test_027_attach_csr_pem_build_fails (line 775) | def test_027_attach_csr_pem_build_fails(self, mock_mimeapp, mock_build... method test_028_attach_csr_exception (line 792) | def test_028_attach_csr_exception(self, mock_mimeapp, mock_build_pem): method test_029_attach_cert_success (line 813) | def test_029_attach_cert_success( method test_030_attach_cert_parse_error (line 840) | def test_030_attach_cert_parse_error( method test_031_attach_cert_serialize_error (line 867) | def test_031_attach_cert_serialize_error( method test_032_format_subject_with_prefix (line 884) | def test_032_format_subject_with_prefix(self): method test_033_format_subject_without_prefix (line 892) | def test_033_format_subject_without_prefix(self): method test_034_format_message_header_success (line 899) | def test_034_format_message_header_success(self): method test_035_format_message_header_failure (line 909) | def test_035_format_message_header_failure(self): method test_036_post_hook_success (line 920) | def test_036_post_hook_success(self, mock_csr_san_get): method test_037_post_hook_report_failures_false (line 941) | def test_037_post_hook_report_failures_false(self): method test_038_post_hook_exception (line 957) | def test_038_post_hook_exception(self, mock_csr_san_get): method test_039_success_hook_normal (line 972) | def test_039_success_hook_normal(self, mock_cert_san_get): method test_040_success_hook_report_successes_false (line 991) | def test_040_success_hook_report_successes_false(self): method test_041_success_hook_exception (line 1006) | def test_041_success_hook_exception(self, mock_cert_san_get): method test_042_success_hook_normal (line 1021) | def test_042_success_hook_normal(self, mock_cert_san_get): method test_043_success_hook_cert_not_valid_before_utc_exception (line 1091) | def test_043_success_hook_cert_not_valid_before_utc_exception( method test_044_pre_hook (line 1122) | def test_044_pre_hook(self): method test_045_done_sends_email_with_tls (line 1129) | def test_045_done_sends_email_with_tls(self, mock_smtp_ssl): method test_046_done_sends_email_with_starttls (line 1160) | def test_046_done_sends_email_with_starttls(self, mock_smtp): method test_047_done_sends_email_without_auth (line 1186) | def test_047_done_sends_email_without_auth(self, mock_smtp): method test_048_done_logs_debug_info (line 1212) | def test_048_done_logs_debug_info(self, mock_smtp): method test_049_done_handles_smtp_connection_error (line 1243) | def test_049_done_handles_smtp_connection_error(self, mock_smtp_ssl): method test_050_done_handles_smtp_auth_error (line 1265) | def test_050_done_handles_smtp_auth_error(self, mock_smtp): method test_051_done_logs_success_info (line 1287) | def test_051_done_logs_success_info(self, mock_smtp): method test_052_done_already_sent_warning (line 1311) | def test_052_done_already_sent_warning(self): FILE: test/test_entrust.py class FakeDBStore (line 18) | class FakeDBStore(object): class TestACMEHandler (line 25) | class TestACMEHandler(unittest.TestCase): method setUp (line 28) | def setUp(self): method test_001_default (line 42) | def test_001_default(self): method test_002__enter__ (line 47) | def test_002__enter__(self, mock_cfg): method test_003__enter__ (line 54) | def test_003__enter__(self, mock_cfg): method test_004_poll (line 61) | def test_004_poll(self): method test_005_trigger (line 68) | def test_005_trigger(self): method test_006__api_post (line 74) | def test_006__api_post(self): method test_007__api_post (line 88) | def test_007__api_post(self): method test_008__api_post (line 106) | def test_008__api_post(self): method test_009__api_post (line 117) | def test_009__api_post(self): method test_010__api_get (line 130) | def test_010__api_get(self): method test_011__api_get (line 143) | def test_011__api_get(self): method test_012__api_get (line 159) | def test_012__api_get(self): method test_013__api_put (line 170) | def test_013__api_put(self): method test_014__api_put (line 184) | def test_014__api_put(self): method test_015__api_put (line 202) | def test_015__api_put(self): method test_016__api_put (line 213) | def test_016__api_put(self): method test_017_certificates_get_from_serial (line 227) | def test_017_certificates_get_from_serial(self, mock_api): method test_018_certificates_get_from_serial (line 235) | def test_018_certificates_get_from_serial(self, mock_api): method test_019_certificates_get_from_serial (line 246) | def test_019_certificates_get_from_serial(self, mock_api): method test_020_certificates_get_from_serial (line 257) | def test_020_certificates_get_from_serial(self, mock_api): method test_021_config_load (line 274) | def test_021_config_load( method test_022_config_load (line 307) | def test_022_config_load( method test_023_config_load (line 340) | def test_023_config_load( method test_024_config_load (line 371) | def test_024_config_load( method test_025_config_load (line 404) | def test_025_config_load( method test_026_config_load (line 442) | def test_026_config_load( method test_027_config_load (line 475) | def test_027_config_load( method test_028_config_load (line 513) | def test_028_config_load( method test_029_config_load (line 546) | def test_029_config_load( method test_030_config_load (line 579) | def test_030_config_load( method test_031_config_load (line 612) | def test_031_config_load( method test_032_config_load (line 645) | def test_032_config_load( method test_033_config_load (line 678) | def test_033_config_load( method test_034_config_passphrase_load (line 707) | def test_034_config_passphrase_load(self): method test_035_config_passphrase_load (line 715) | def test_035_config_passphrase_load(self): method test_036_config_passphrase_load (line 728) | def test_036_config_passphrase_load(self): method test_037_config_root_load (line 745) | def test_037_config_root_load(self, mock_file): method test_038_config_root_load (line 755) | def test_038_config_root_load(self, mock_file): method test_039_config_root_load (line 770) | def test_039_config_root_load(self, mock_file): method test_040_config_session_load (line 779) | def test_040_config_session_load(self, mock_sl): method test_041_config_session_load (line 790) | def test_041_config_session_load(self, mock_sl, mock_pkcs12, mock_sess... method test_042_config_session_load (line 804) | def test_042_config_session_load(self, mock_sl, mock_pkcs12, mock_sess... method test_043_org_domain_cfg_check (line 820) | def test_043_org_domain_cfg_check(self, mock_org, mock_domain): method test_044_org_domain_cfg_check (line 833) | def test_044_org_domain_cfg_check(self, mock_org, mock_domain): method test_045_org_domain_cfg_check (line 846) | def test_045_org_domain_cfg_check(self, mock_org, mock_domain): method test_046_org_domain_cfg_check (line 861) | def test_046_org_domain_cfg_check(self, mock_org, mock_domain): method test_047_org_domain_cfg_check (line 873) | def test_047_org_domain_cfg_check(self, mock_org, mock_domain): method test_048__organizations_get (line 885) | def test_048__organizations_get(self, mock_api): method test_049__organizations_get (line 897) | def test_049__organizations_get(self, mock_api): method test_050__organizations_get (line 910) | def test_050__organizations_get(self, mock_api): method test_051__organizations_get (line 923) | def test_051__organizations_get(self, mock_api): method test_052__organizations_get (line 936) | def test_052__organizations_get(self, mock_api): method test_053__domains_get (line 949) | def test_053__domains_get(self, mock_api): method test_054__domains_get (line 960) | def test_054__domains_get(self, mock_api): method test_055__domains_get (line 980) | def test_055__domains_get(self, mock_api): method test_056__domains_get (line 1000) | def test_056__domains_get(self, mock_api): method test_057__domains_get (line 1016) | def test_057__domains_get(self, mock_api): method test_058_credential_check (line 1032) | def test_058_credential_check(self, mock_api): method test_059_credential_check (line 1040) | def test_059_credential_check(self, mock_api): method test_060_oonfig_check (line 1045) | def test_060_oonfig_check(self): method test_061_oonfig_check (line 1055) | def test_061_oonfig_check(self): method test_062_oonfig_check (line 1065) | def test_062_oonfig_check(self): method test_063_oonfig_check (line 1076) | def test_063_oonfig_check(self): method test_064_oonfig_check (line 1088) | def test_064_oonfig_check(self): method test_065_enroll_check (line 1101) | def test_065_enroll_check( method test_066_enroll_check (line 1122) | def test_066_enroll_check( method test_067_enroll_check (line 1143) | def test_067_enroll_check( method test_068_enroll_check (line 1164) | def test_068_enroll_check( method test_069_enroll_check (line 1185) | def test_069_enroll_check( method test_070__trackingid_get (line 1206) | def test_070__trackingid_get(self, mock_header, mock_serial, mock_cert): method test_071__trackingid_get (line 1221) | def test_071__trackingid_get(self, mock_header, mock_serial, mock_cert): method test_072__trackingid_get (line 1236) | def test_072__trackingid_get(self, mock_header, mock_serial, mock_cert): method test_073__trackingid_get (line 1250) | def test_073__trackingid_get(self, mock_header, mock_serial, mock_cert): method test_074__trackingid_get (line 1264) | def test_074__trackingid_get(self, mock_header, mock_serial, mock_cert): method test_075_response_parse (line 1278) | def test_075_response_parse(self, mock_der, mock_enc): method test_076_response_parse (line 1297) | def test_076_response_parse(self, mock_der, mock_enc): method test_077_response_parse (line 1316) | def test_077_response_parse(self, mock_der, mock_enc): method test_078_response_parse (line 1334) | def test_078_response_parse(self, mock_der, mock_enc): method test_079_response_parse (line 1352) | def test_079_response_parse(self, mock_der, mock_enc): method test_080_enroll (line 1373) | def test_080_enroll(self, mock_req, mock_cn, mock_parse, mock_ecl): method test_081_enroll (line 1390) | def test_081_enroll(self, mock_req, mock_cn, mock_parse): method test_082_enroll (line 1406) | def test_082_enroll(self, mock_req, mock_cn, mock_parse): method test_083_enroll (line 1428) | def test_083_enroll(self, mock_req, mock_cn, mock_parse, mock_ecl): method test_084_enroll (line 1445) | def test_084_enroll(self, mock_chk, mock_enroll): method test_085_enroll (line 1456) | def test_085_enroll(self, mock_chk, mock_enroll): method test_086_revoke (line 1465) | def test_086_revoke(self, mock_track, mock_req, mock_eab): method test_087_revoke (line 1477) | def test_087_revoke(self, mock_track, mock_req, mock_eab): method test_087_revoke (line 1489) | def test_087_revoke(self, mock_track, mock_req): method test_088_revoke (line 1500) | def test_088_revoke(self, mock_track, mock_req): method test_089_certificates_get (line 1514) | def test_089_certificates_get(self, mock_req): method test_090_certificates_get (line 1525) | def test_090_certificates_get(self, mock_req): method test_091_certificates_get (line 1537) | def test_091_certificates_get(self, mock_req): method test_092_certificates_get (line 1556) | def test_092_certificates_get(self, mock_req): method test_093_certificates_get (line 1569) | def test_093_certificates_get(self, mock_req): method test_094_handler_check (line 1597) | def test_094_handler_check(self, mock_handler_check): FILE: test/test_error.py class FakeDBStore (line 13) | class FakeDBStore(object): class TestACMEHandler (line 20) | class TestACMEHandler(unittest.TestCase): method setUp (line 25) | def setUp(self): method test_001_error__acme_errormessage (line 39) | def test_001_error__acme_errormessage(self): method test_002_error__acme_errormessage (line 46) | def test_002_error__acme_errormessage(self): method test_003_error__acme_errormessage (line 53) | def test_003_error__acme_errormessage(self): method test_004_error__acme_errormessage (line 61) | def test_004_error__acme_errormessage(self): method test_005_error__acme_errormessage (line 67) | def test_005_error__acme_errormessage(self): method test_006_error__acme_errormessage (line 74) | def test_006_error__acme_errormessage(self): method test_007_error__acme_errormessage (line 80) | def test_007_error__acme_errormessage(self): method test_008_error__acme_errormessage (line 84) | def test_008_error__acme_errormessage(self): method test_009_error_enrich_error (line 88) | def test_009_error_enrich_error(self): method test_010_error_enrich_error (line 95) | def test_010_error_enrich_error(self): method test_011_error_enrich_error (line 102) | def test_011_error_enrich_error(self): method test_012_error_enrich_error (line 109) | def test_012_error_enrich_error(self): method test_013_error_enrich_error (line 116) | def test_013_error_enrich_error(self, mock_error): FILE: test/test_est_ca_handler.py class FakeDBStore (line 17) | class FakeDBStore(object): method mount (line 21) | def mount(): class TestACMEHandler (line 27) | class TestACMEHandler(unittest.TestCase): method setUp (line 30) | def setUp(self): method test_001_default (line 40) | def test_001_default(self): method test_002_config_load (line 51) | def test_002_config_load( method test_003_config_load (line 81) | def test_003_config_load( method test_004_config_load (line 116) | def test_004_config_load( method test_005_config_host_load (line 146) | def test_005_config_host_load(self): method test_006_config_host_load (line 155) | def test_006_config_host_load(self): method test_007_config_host_load (line 164) | def test_007_config_host_load(self): method test_008_config_host_load (line 179) | def test_008_config_host_load(self): method test_009_config_host_load (line 193) | def test_009_config_host_load(self): method test_010_config_host_load (line 206) | def test_010_config_host_load(self, mock_cfg): method test_011_config_clientauth_load (line 227) | def test_011_config_clientauth_load(self): method test_012_config_clientauth_load (line 241) | def test_012_config_clientauth_load(self): method test_013_config_clientauth_load (line 258) | def test_013_config_clientauth_load(self, mock_pkcs12, mock_load): method test_014_cert_passphrase_load (line 271) | def test_014_cert_passphrase_load(self): method test_015_cert_passphrase_load (line 279) | def test_015_cert_passphrase_load(self): method test_016_cert_passphrase_load (line 287) | def test_016_cert_passphrase_load(self): method test_017_cert_passphrase_load (line 303) | def test_017_cert_passphrase_load(self): method test_018_config_userauth_load (line 315) | def test_018_config_userauth_load(self): method test_019_config_userauth_load (line 323) | def test_019_config_userauth_load(self): method test_020_config_userauth_load (line 331) | def test_020_config_userauth_load(self): method test_021_config_userauth_load (line 344) | def test_021_config_userauth_load(self): method test_022_config_password_load (line 358) | def test_022_config_password_load(self): method test_023_config_password_load (line 366) | def test_023_config_password_load(self): method test_024_config_password_load (line 374) | def test_024_config_password_load(self): method test_025_config_password_load (line 387) | def test_025_config_password_load(self): method test_026_config_password_load (line 399) | def test_026_config_password_load(self): method test_027_config_password_load (line 411) | def test_027_config_password_load(self): method test_028_config_parameters_load (line 423) | def test_028_config_parameters_load(self): method test_029_config_parameters_load (line 431) | def test_029_config_parameters_load(self): method test_030_config_parameters_load (line 439) | def test_030_config_parameters_load(self): method test_031_config_parameters_load (line 447) | def test_031_config_parameters_load(self): method test_032_config_parameters_load (line 455) | def test_032_config_parameters_load(self): method test_033_config_parameters_load (line 463) | def test_033_config_parameters_load(self): method test_034_config_proxy_load (line 478) | def test_034_config_proxy_load(self, mock_json, mock_url): method test_035_config_proxy_load (line 492) | def test_035_config_proxy_load(self, mock_json, mock_url, mock_chk): method test_036_config_proxy_load (line 512) | def test_036_config_proxy_load(self, mock_json, mock_url, mock_chk): method test_037_revoke (line 531) | def test_037_revoke(self): method test_038_poll (line 542) | def test_038_poll(self): method test_039_trigger (line 549) | def test_039_trigger(self): method test_040__cacerts_get (line 558) | def test_040__cacerts_get(self, mock_req, mock_to_pem, _mock_b64): method test_041__cacerts_get (line 573) | def test_041__cacerts_get(self, mock_req, mock_to_pem, _mock_b64): method test_042__cacerts_get (line 589) | def test_042__cacerts_get(self, mock_req, mock_to_pem, _mock_b64): method test_043__cacerts_get (line 606) | def test_043__cacerts_get(self, mock_to_pem, _mock_b64): method test_044__simpleenroll (line 622) | def test_044__simpleenroll(self, mock_to_pem, _mock_b64): method test_045__simpleenroll (line 635) | def test_045__simpleenroll(self, mock_to_pem, mock_b64): method test_046__simpleenroll (line 654) | def test_046__simpleenroll(self, mock_to_pem, mock_b64): method test_047_enroll (line 673) | def test_047_enroll(self, mock_ca): method test_048_enroll (line 684) | def test_048_enroll(self, mock_ca): method test_049_enroll (line 697) | def test_049_enroll(self, mock_ca, mock_enroll): method test_050_enroll (line 709) | def test_050_enroll(self, mock_ca, mock_enroll): method test_051_enroll (line 721) | def test_051_enroll(self, mock_ca, mock_enroll): method test_052_enroll (line 734) | def test_052_enroll(self, mock_ca, mock_enroll): method test_053_enroll (line 747) | def test_053_enroll(self, mock_ca, mock_enroll): method test_054_enroll (line 768) | def test_054_enroll(self, mock_ca, mock_enroll): method test_055__enter__ (line 788) | def test_055__enter__(self, mock_cfg): method test_056__enter__ (line 795) | def test_056__enter__(self, mock_cfg): method test_057__pkcs7_to_pem (line 802) | def test_057__pkcs7_to_pem(self): method test_058__pkcs7_to_pem (line 810) | def test_058__pkcs7_to_pem(self): method test_059__pkcs7_to_pem (line 818) | def test_059__pkcs7_to_pem(self): method test_060__pkcs7_to_pem (line 828) | def test_060__pkcs7_to_pem(self): method test_061__pkcs7_to_pem (line 835) | def test_061__pkcs7_to_pem(self): method test_062_handler_check (line 848) | def test_062_handler_check(self, mock_handler_check): FILE: test/test_helper.py class FakeDBStore (line 19) | class FakeDBStore(object): class TestACMEHandler (line 28) | class TestACMEHandler(unittest.TestCase): method setUp (line 33) | def setUp(self): method test_001_helper_b64decode_pad (line 267) | def test_001_helper_b64decode_pad(self): method test_002_helper_b64decode_pad (line 274) | def test_002_helper_b64decode_pad(self): method test_003_helper_b64decode_pad (line 283) | def test_003_helper_b64decode_pad(self): method test_004_helper_decode_deserialize (line 289) | def test_004_helper_decode_deserialize(self): method test_005_helper_decode_deserialize (line 296) | def test_005_helper_decode_deserialize(self): method test_006_helper_validate_email (line 305) | def test_006_helper_validate_email(self): method test_007_helper_validate_email (line 309) | def test_007_helper_validate_email(self): method test_008_helper_validate_email (line 313) | def test_008_helper_validate_email(self): method test_009_helper_validate_email (line 317) | def test_009_helper_validate_email(self): method test_010_helper_validate_email (line 325) | def test_010_helper_validate_email(self): method test_011_helper_validate_email (line 329) | def test_011_helper_validate_email(self): method test_012_helper_validate_email (line 333) | def test_012_helper_validate_email(self): method test_013_helper_validate_email (line 341) | def test_013_helper_validate_email(self): method test_014_helper_signature_check (line 349) | def test_014_helper_signature_check(self): method test_015_helper_signature_check (line 360) | def test_015_helper_signature_check(self): method test_016_helper_signature_check (line 383) | def test_016_helper_signature_check(self): method test_017_helper_signature_check (line 405) | def test_017_helper_signature_check(self): method test_018_helper_uts_to_date_utc (line 414) | def test_018_helper_uts_to_date_utc(self): method test_019_helper_uts_to_date_utc (line 418) | def test_019_helper_uts_to_date_utc(self): method test_020_helper_date_to_uts_utc (line 422) | def test_020_helper_date_to_uts_utc(self): method test_021_helper_date_to_uts_utc (line 426) | def test_021_helper_date_to_uts_utc(self): method test_022_helper_date_to_uts_utc (line 430) | def test_022_helper_date_to_uts_utc(self): method test_023_helper_generate_random_string (line 435) | def test_023_helper_generate_random_string(self): method test_024_helper_generate_random_string (line 439) | def test_024_helper_generate_random_string(self): method test_025_helper_b64_url_recode (line 443) | def test_025_helper_b64_url_recode(self): method test_026_helper_b64_url_recode (line 447) | def test_026_helper_b64_url_recode(self): method test_027_helper_b64_url_recode (line 451) | def test_027_helper_b64_url_recode(self): method test_028_helper_b64_url_recode (line 455) | def test_028_helper_b64_url_recode(self): method test_029_helper_b64_url_recode (line 459) | def test_029_helper_b64_url_recode(self): method test_030_helper_b64_url_recode (line 463) | def test_030_helper_b64_url_recode(self): method test_031_helper_b64_url_recode (line 467) | def test_031_helper_b64_url_recode(self): method test_032_helper_b64_url_recode (line 471) | def test_032_helper_b64_url_recode(self): method test_033_helper_b64_url_recode (line 475) | def test_033_helper_b64_url_recode(self): method test_034_helper_b64_url_recode (line 479) | def test_034_helper_b64_url_recode(self): method test_035_helper_b64_url_recode (line 483) | def test_035_helper_b64_url_recode(self): method test_036_helper_b64_url_recode (line 487) | def test_036_helper_b64_url_recode(self): method test_037_helper_b64_url_recode (line 491) | def test_037_helper_b64_url_recode(self): method test_038_helper_decode_message (line 495) | def test_038_helper_decode_message(self): method test_039_helper_decode_message (line 512) | def test_039_helper_decode_message(self): method test_040_helper_decode_message (line 530) | def test_040_helper_decode_message(self, mock_json): method test_041_helper_cert_serial_get (line 544) | def test_041_helper_cert_serial_get(self): method test_042_helper_cert_serial_get (line 565) | def test_042_helper_cert_serial_get(self): method test_043_helper_cert_serial_get (line 586) | def test_043_helper_cert_serial_get(self): method test_044_helper_cert_issuer_get (line 607) | def test_044_helper_cert_issuer_get(self): method test_045_helper_cert_san_get (line 628) | def test_045_helper_cert_san_get(self): method test_046_helper_cert_san_get (line 649) | def test_046_helper_cert_san_get(self): method test_047_helper_cert_san_get (line 673) | def test_047_helper_cert_san_get(self): method test_048_helper_cert_san_get (line 678) | def test_048_helper_cert_san_get(self): method test_049_helper_cert_san_pyopenssl_get (line 686) | def test_049_helper_cert_san_pyopenssl_get(self): method test_050_cert_san_pyopenssl_get (line 709) | def test_050_cert_san_pyopenssl_get(self): method test_051_helper_cert_san_pyopenssl_get (line 733) | def test_051_helper_cert_san_pyopenssl_get(self): method test_052_helper_cert_san_pyopenssl_get (line 741) | def test_052_helper_cert_san_pyopenssl_get(self): method test_053_helper_cert_san_pyopenssl_get (line 749) | def test_053_helper_cert_san_pyopenssl_get(self): method test_054_helper_cert_san_get (line 777) | def test_054_helper_cert_san_get(self): method test_055_helper_cert_san_get (line 813) | def test_055_helper_cert_san_get(self, mock_certload): method test_056_helper_build_pem_file (line 824) | def test_056_helper_build_pem_file(self): method test_057_helper_build_pem_file (line 833) | def test_057_helper_build_pem_file(self): method test_058_helper_build_pem_file (line 842) | def test_058_helper_build_pem_file(self): method test_059_helper_build_pem_file (line 853) | def test_059_helper_build_pem_file(self): method test_060_helper_build_pem_file (line 864) | def test_060_helper_build_pem_file(self): method test_061_helper_build_pem_file (line 875) | def test_061_helper_build_pem_file(self): method test_062_helper_b64_decode (line 900) | def test_062_helper_b64_decode(self): method test_063_helper_b64_decode (line 904) | def test_063_helper_b64_decode(self): method test_064_helper_date_to_datestr (line 908) | def test_064_helper_date_to_datestr(self): method test_065_helper_date_to_datestr (line 914) | def test_065_helper_date_to_datestr(self): method test_066_helper_date_to_datestr (line 920) | def test_066_helper_date_to_datestr(self): method test_067_helper_datestr_to_date (line 924) | def test_067_helper_datestr_to_date(self): method test_068_helper_datestr_to_date (line 931) | def test_068_helper_datestr_to_date(self): method test_069_helper_datestr_to_date (line 938) | def test_069_helper_datestr_to_date(self): method test_070_helper_dkeys_lower (line 942) | def test_070_helper_dkeys_lower(self): method test_071_helper_dkeys_lower (line 947) | def test_071_helper_dkeys_lower(self): method test_072_helper_dkeys_lower (line 952) | def test_072_helper_dkeys_lower(self): method test_073_helper_dkeys_lower (line 957) | def test_073_helper_dkeys_lower(self): method test_074_helper_cert_pubkey_get (line 973) | def test_074_helper_cert_pubkey_get(self): method test_075_helper_csr_pubkey_get (line 1017) | def test_075_helper_csr_pubkey_get(self): method test_076_helper_csr_pubkey_get (line 1033) | def test_076_helper_csr_pubkey_get(self): method test_077_helper_csr_pubkey_get (line 1049) | def test_077_helper_csr_pubkey_get(self): method test_078_helper_csr_pubkey_get (line 1057) | def test_078_helper_csr_pubkey_get(self): method test_079_helper_csr_pubkey_get (line 1066) | def test_079_helper_csr_pubkey_get(self): method test_080_helper_convert_byte_to_string (line 1072) | def test_080_helper_convert_byte_to_string(self): method test_081_helper_convert_byte_to_string (line 1076) | def test_081_helper_convert_byte_to_string(self): method test_082_helper_convert_byte_to_string (line 1080) | def test_082_helper_convert_byte_to_string(self): method test_083_helper_convert_byte_to_string (line 1084) | def test_083_helper_convert_byte_to_string(self): method test_084_helper_b64_url_encode (line 1088) | def test_084_helper_b64_url_encode(self): method test_085_helper_b64_url_encode (line 1092) | def test_085_helper_b64_url_encode(self): method test_086_helper_csr_cn_get (line 1096) | def test_086_helper_csr_cn_get(self): method test_087_helper_csr_cn_get (line 1101) | def test_087_helper_csr_cn_get(self): method test_088_helper_convert_string_to_byte (line 1106) | def test_088_helper_convert_string_to_byte(self): method test_089_helper_convert_string_to_byte (line 1111) | def test_089_helper_convert_string_to_byte(self): method test_090_helper_convert_string_to_byte (line 1116) | def test_090_helper_convert_string_to_byte(self): method test_091_helper_convert_string_to_byte (line 1121) | def test_091_helper_convert_string_to_byte(self): method test_092_helper_convert_string_to_byte (line 1126) | def test_092_helper_convert_string_to_byte(self): method test_093_helper_get_url (line 1131) | def test_093_helper_get_url(self): method test_094_helper_get_url (line 1140) | def test_094_helper_get_url(self): method test_095_helper_get_url (line 1149) | def test_095_helper_get_url(self): method test_096_helper_get_url (line 1159) | def test_096_helper_get_url(self): method test_097_helper_get_url (line 1164) | def test_097_helper_get_url(self): method test_098_helper_get_url (line 1173) | def test_098_helper_get_url(self): method test_099_helper_get_url (line 1185) | def test_099_helper_get_url(self): method test_100_helper_get_url (line 1194) | def test_100_helper_get_url(self): method test_101_helper_get_url (line 1199) | def test_101_helper_get_url(self): method test_102_helper_url_get (line 1205) | def test_102_helper_url_get(self, mock_request): method test_103_helper_url_get (line 1215) | def test_103_helper_url_get(self, mock_request): method test_104_helper_url_get (line 1227) | def test_104_helper_url_get(self, mock_request): method test_105_helper_url_get (line 1237) | def test_105_helper_url_get(self, mock_request): method test_106_helper_url_get (line 1249) | def test_106_helper_url_get(self, mock_request): method test_107_helper_url_get (line 1260) | def test_107_helper_url_get(self, mock_request): method test_108_helper_url_get_with_own_dns (line 1272) | def test_108_helper_url_get_with_own_dns(self, mock_request): method test_109_helper_url_get_with_own_dns (line 1282) | def test_109_helper_url_get_with_own_dns(self, mock_request): method test_110_helper_url_get_with_own_dns_non_200 (line 1293) | def test_110_helper_url_get_with_own_dns_non_200(self, mock_request): method test_111_helper_url_get_with_own_dns_verify_false (line 1306) | def test_111_helper_url_get_with_own_dns_verify_false(self, mock_reque... method test_112_helper_url_get_with_own_dns_connection_cleanup (line 1322) | def test_112_helper_url_get_with_own_dns_connection_cleanup(self, mock... method test_113_helper_url_get_with_own_dns_server_error (line 1348) | def test_113_helper_url_get_with_own_dns_server_error(self, mock_reque... method test_114_helper_dns_server_list_load (line 1363) | def test_114_helper_dns_server_list_load(self, mock_load_config): method test_115_helper_dns_server_list_load (line 1369) | def test_115_helper_dns_server_list_load(self, mock_load_config): method test_116_helper_dns_server_list_load (line 1375) | def test_116_helper_dns_server_list_load(self, mock_load_config): method test_117_helper_dns_server_list_load (line 1381) | def test_117_helper_dns_server_list_load(self, mock_load_config): method test_118_helper_dns_server_list_load (line 1387) | def test_118_helper_dns_server_list_load(self, mock_load_config): method test_119_helper_csr_san_get (line 1394) | def test_119_helper_csr_san_get(self): method test_120_helper_csr_san_get (line 1399) | def test_120_helper_csr_san_get(self): method test_121_helper_csr_san_get (line 1404) | def test_121_helper_csr_san_get(self): method test_122_helper_csr_san_get (line 1409) | def test_122_helper_csr_san_get(self): method test_123_helper_csr_san_get (line 1417) | def test_123_helper_csr_san_get(self): method test_124_helper_csr_san_get (line 1425) | def test_124_helper_csr_san_get(self): method test_125_helper_csr_san_byte_get (line 1433) | def test_125_helper_csr_san_byte_get(self): method test_126_helper_csr_san_get (line 1442) | def test_126_helper_csr_san_get(self, mock_csrload): method test_127_helper_csr_extensions_get (line 1453) | def test_127_helper_csr_extensions_get(self): method test_128_helper_csr_extensions_get (line 1461) | def test_128_helper_csr_extensions_get(self): method test_129_helper_validate_email (line 1469) | def test_129_helper_validate_email(self): method test_130_helper_validate_email (line 1473) | def test_130_helper_validate_email(self): method test_131_helper_get_url (line 1477) | def test_131_helper_get_url(self): method test_132_helper_get_url (line 1487) | def test_132_helper_get_url(self): method test_133_helper_validate_email (line 1497) | def test_133_helper_validate_email(self): method test_134_helper_validate_email (line 1501) | def test_134_helper_validate_email(self): method test_135_helper_cert_dates_get (line 1505) | def test_135_helper_cert_dates_get(self): method test_136_helper_cert_dates_get (line 1512) | def test_136_helper_cert_dates_get(self): method test_137_helper_cert_dates_get (line 1517) | def test_137_helper_cert_dates_get(self): method test_138_helper_cert_dates_get (line 1522) | def test_138_helper_cert_dates_get(self): method test_139_helper_cert_dates_get (line 1531) | def test_139_helper_cert_dates_get(self, mock_cert, mock_dates): method test_140_helper_cert_dates_get (line 1546) | def test_140_helper_cert_dates_get(self, mock_cert, mock_dates): method test_141_helper_fqdn_resolve (line 1563) | def test_141_helper_fqdn_resolve(self, mock_resolve): method test_142_helper_fqdn_resolve (line 1572) | def test_142_helper_fqdn_resolve(self, mock_resolve): method test_143_helper_fqdn_resolve (line 1581) | def test_143_helper_fqdn_resolve(self, mock_resolve): method test_144_helper_fqdn_resolve (line 1587) | def test_144_helper_fqdn_resolve(self, mock_resolve): method test_145_helper_fqdn_resolve (line 1596) | def test_145_helper_fqdn_resolve(self, mock_resolve): method test_146_helper_fqdn_resolve (line 1605) | def test_146_helper_fqdn_resolve(self, mock_resolve): method test_147_helper_fqdn_resolve (line 1616) | def test_147_helper_fqdn_resolve(self, mock_resolve): method test_148_helper_fqdn_resolve (line 1627) | def test_148_helper_fqdn_resolve(self, mock_resolve): method test_149_helper_fqdn_resolve (line 1638) | def test_149_helper_fqdn_resolve(self, mock_resolve): method test_150_helper_fqdn_resolve (line 1652) | def test_150_helper_fqdn_resolve(self, mock_resolve): method test_151_helper_fqdn_resolve (line 1666) | def test_151_helper_fqdn_resolve(self, mock_resolve): method test_152_helper_fqdn_resolve (line 1679) | def test_152_helper_fqdn_resolve(self, mock_resolve): method test_153_helper_fqdn_resolve (line 1692) | def test_153_helper_fqdn_resolve(self, mock_resolve): method test_154_helper_fqdn_resolve (line 1706) | def test_154_helper_fqdn_resolve(self, mock_resolve): method test_155_helper_fqdn_resolve (line 1714) | def test_155_helper_fqdn_resolve(self, mock_resolve): method test_156_helper_fqdn_resolve (line 1722) | def test_156_helper_fqdn_resolve(self, mock_resolve): method test_157_helper_fqdn_resolve (line 1737) | def test_157_helper_fqdn_resolve(self, mock_resolve): method test_158_helper_fqdn_resolve (line 1748) | def test_158_helper_fqdn_resolve(self, mock_resolve): method test_159_helper_fqdn_resolve (line 1759) | def test_159_helper_fqdn_resolve(self, mock_resolve): method test_160_helper_fqdn_resolve (line 1774) | def test_160_helper_fqdn_resolve(self, mock_resolve): method test_161_helper_fqdn_resolve (line 1784) | def test_161_helper_fqdn_resolve(self, mock_resolve): method test_162_helper_fqdn_resolve (line 1794) | def test_162_helper_fqdn_resolve(self, mock_resolve): method test_163_helper_fqdn_resolve (line 1802) | def test_163_helper_fqdn_resolve(self, mock_resolve): method test_164_helper_signature_check (line 1809) | def test_164_helper_signature_check(self): method test_165_helper_signature_check (line 1817) | def test_165_helper_signature_check(self): method test_166_helper_signature_check (line 1830) | def test_166_helper_signature_check(self): method test_167_helper_signature_check (line 1845) | def test_167_helper_signature_check(self): method test_168_fqdn_in_san_check (line 1853) | def test_168_fqdn_in_san_check(self): method test_169_fqdn_in_san_check (line 1859) | def test_169_fqdn_in_san_check(self): method test_170_fqdn_in_san_check (line 1865) | def test_170_fqdn_in_san_check(self): method test_171_fqdn_in_san_check (line 1871) | def test_171_fqdn_in_san_check(self): method test_172_fqdn_in_san_check (line 1877) | def test_172_fqdn_in_san_check(self): method test_173_fqdn_in_san_check (line 1883) | def test_173_fqdn_in_san_check(self): method test_174_fqdn_in_san_check (line 1889) | def test_174_fqdn_in_san_check(self): method test_175_fqdn_in_san_check (line 1895) | def test_175_fqdn_in_san_check(self): method test_176_fqdn_in_san_check (line 1901) | def test_176_fqdn_in_san_check(self): method test_177_sha256_hash_hex (line 1912) | def test_177_sha256_hash_hex(self): method test_178_sha256_hash_hex (line 1919) | def test_178_sha256_hash_hex(self): method test_179_sha256_hash (line 1926) | def test_179_sha256_hash(self): method test_180_sha256_hash (line 1933) | def test_180_sha256_hash(self): method test_181_b64_encode (line 1940) | def test_181_b64_encode(self): method test_182_b64_encode (line 1944) | def test_182_b64_encode(self): method test_183_b64_encode (line 1948) | def test_183_b64_encode(self): method test_184_cert_der2pem (line 1952) | def test_184_cert_der2pem(self): method test_185_cert_pem2der (line 1959) | def test_185_cert_pem2der(self): method test_186_helper_cert_extensions_get (line 1992) | def test_186_helper_cert_extensions_get(self, mock_version, mock_py): method test_187_helper_cert_extensions_get (line 2037) | def test_187_helper_cert_extensions_get(self, mock_version, mock_py): method test_188_helper_cert_extensions_get (line 2057) | def test_188_helper_cert_extensions_get(self, mock_version, mock_py): method test_189_helper_cert_extensions_py_openssl_get (line 2067) | def test_189_helper_cert_extensions_py_openssl_get(self): method test_190_cert_extensions_py_openssl_get (line 2108) | def test_190_cert_extensions_py_openssl_get(self): method test_191_csr_dn_get (line 2124) | def test_191_csr_dn_get(self): method test_192_logger_setup (line 2129) | def test_192_logger_setup(self): method test_193_logger_setup (line 2133) | def test_193_logger_setup(self): method test_194_logger_setup (line 2138) | def test_194_logger_setup(self, mock_load_cfg): method test_195_load_config (line 2148) | def test_195_load_config(self, mock_parser): method test_196_load_config (line 2153) | def test_196_load_config(self, mock_parser): method test_197_load_config (line 2159) | def test_197_load_config(self, mock_parser): method test_198_logger_info (line 2163) | def test_198_logger_info(self): method test_199_logger_info (line 2172) | def test_199_logger_info(self): method test_200_logger_info (line 2184) | def test_200_logger_info(self): method test_201_logger_info (line 2196) | def test_201_logger_info(self): method test_202_logger_info (line 2208) | def test_202_logger_info(self): method test_203_logger_info (line 2223) | def test_203_logger_info(self): method test_204_print_debug (line 2244) | def test_204_print_debug(self, mock_print): method test_205_print_debug (line 2250) | def test_205_print_debug(self, mock_print): method test_206_jwk_thumbprint_get (line 2255) | def test_206_jwk_thumbprint_get(self): method test_207_jwk_thumbprint_get (line 2261) | def test_207_jwk_thumbprint_get(self, mock_jwk): method test_208_jwk_thumbprint_get (line 2268) | def test_208_jwk_thumbprint_get(self, mock_jwk): method test_209_allowed_gai_family (line 2280) | def test_209_allowed_gai_family(self, mock_sock): method test_210_validate_csr (line 2284) | def test_210_validate_csr(self): method test_211_servercert_get (line 2292) | def test_211_servercert_get(self, mock_sock, mock_context, mock_cert, ... method test_212_servercert_get (line 2307) | def test_212_servercert_get( method test_213_servercert_get (line 2324) | def test_213_servercert_get( method test_214_servercert_get (line 2340) | def test_214_servercert_get(self, mock_sock, mock_context, mock_cert): method test_215_servercert_get (line 2358) | def test_215_servercert_get( method test_216_txt_get (line 2376) | def test_216_txt_get(self, mock_resolve, mock_res): method test_217_txt_get (line 2385) | def test_217_txt_get(self, mock_resolve): method test_218_txt_get (line 2393) | def test_218_txt_get(self, mock_resolve): method test_219_txt_get (line 2403) | def test_219_txt_get(self, mock_resolve): method test_220_proxystring_convert (line 2412) | def test_220_proxystring_convert(self): method test_221_proxystring_convert (line 2419) | def test_221_proxystring_convert(self): method test_222_proxystring_convert (line 2426) | def test_222_proxystring_convert(self): method test_223_proxystring_convert (line 2433) | def test_223_proxystring_convert(self): method test_224_proxystring_convert (line 2445) | def test_224_proxystring_convert(self): method test_225_proxystring_convert (line 2454) | def test_225_proxystring_convert(self): method test_226_proxystring_convert (line 2469) | def test_226_proxystring_convert(self): method test_227_proxy_check (line 2485) | def test_227_proxy_check(self): method test_228_proxy_check (line 2491) | def test_228_proxy_check(self): method test_229_proxy_check (line 2497) | def test_229_proxy_check(self): method test_230_proxy_check (line 2503) | def test_230_proxy_check(self): method test_231_proxy_check (line 2509) | def test_231_proxy_check(self): method test_232_proxy_check (line 2515) | def test_232_proxy_check(self): method test_233_proxy_check (line 2521) | def test_233_proxy_check(self): method test_234_proxy_check (line 2527) | def test_234_proxy_check(self): method test_235_proxy_check (line 2533) | def test_235_proxy_check(self): method test_236_proxy_check (line 2539) | def test_236_proxy_check(self): method test_237_proxy_check (line 2545) | def test_237_proxy_check(self): method test_238_handle_exception_keyboard_interrupt (line 2556) | def test_238_handle_exception_keyboard_interrupt(self, mock_excepthook): method test_239_handle_exception_regular_exception (line 2570) | def test_239_handle_exception_regular_exception(self, mock_logging_exc... method test_240_handle_exception_runtime_error (line 2586) | def test_240_handle_exception_runtime_error(self, mock_logging_excepti... method test_241_handle_exception_type_error (line 2602) | def test_241_handle_exception_type_error(self, mock_logging_exception): method test_242_handle_exception_keyboard_interrupt_subclass (line 2619) | def test_242_handle_exception_keyboard_interrupt_subclass( method test_243_handle_exception_system_exit (line 2640) | def test_243_handle_exception_system_exit(self, mock_logging_exception): method test_244_handle_exception_custom_exception (line 2656) | def test_244_handle_exception_custom_exception(self, mock_logging_exce... method test_245_proxy_check (line 2675) | def test_245_proxy_check(self): method test_246_ca_handler_load (line 2681) | def test_246_ca_handler_load(self): method test_247_ca_handler_load (line 2686) | def test_247_ca_handler_load(self): method test_248_ca_handler_load (line 2696) | def test_248_ca_handler_load(self, mock_imp): method test_249_ca_handler_load (line 2708) | def test_249_ca_handler_load(self, mock_imp): method test_250_ca_handler_load (line 2715) | def test_250_ca_handler_load(self, mock_util): method test_251_ca_handler_load (line 2723) | def test_251_ca_handler_load(self, mock_util, mock_imp): method test_252_ca_handler_load (line 2737) | def test_252_ca_handler_load(self, mock_util, mock_imp): method test_253_eab_handler_load (line 2749) | def test_253_eab_handler_load(self): method test_254_eab_handler_load (line 2759) | def test_254_eab_handler_load(self, mock_imp): method test_255_eab_handler_load (line 2771) | def test_255_eab_handler_load(self, mock_imp): method test_256_eab_handler_load (line 2778) | def test_256_eab_handler_load(self, mock_util): method test_257_eab_handler_load (line 2786) | def test_257_eab_handler_load(self, mock_util, mock_imp): method test_258_eab_handler_load (line 2800) | def test_258_eab_handler_load(self, mock_util, mock_imp): method test_259_hooks_load (line 2812) | def test_259_hooks_load(self): method test_260_hooks_load (line 2817) | def test_260_hooks_load(self): method test_261_hooks_load (line 2823) | def test_261_hooks_load(self, mock_util): method test_262_hooks_load (line 2832) | def test_262_hooks_load(self, mock_util): method test_263_error_dic_get (line 2843) | def test_263_error_dic_get(self): method test_264_logger_nonce_modify (line 2865) | def test_264_logger_nonce_modify(self): method test_265_logger_nonce_modify (line 2870) | def test_265_logger_nonce_modify(self): method test_266_logger_nonce_modify (line 2877) | def test_266_logger_nonce_modify(self): method test_267_logger_certificate_modify (line 2885) | def test_267_logger_certificate_modify(self): method test_268_logger_certificate_modify (line 2892) | def test_268_logger_certificate_modify(self): method test_269_logger_token_modify (line 2900) | def test_269_logger_token_modify(self): method test_270_logger_token_modify (line 2905) | def test_270_logger_token_modify(self): method test_271_logger_challenges_modify (line 2912) | def test_271_logger_challenges_modify(self): method test_272_logger_challenges_modify (line 2917) | def test_272_logger_challenges_modify(self): method test_273_logger_challenges_modify (line 2925) | def test_273_logger_challenges_modify(self): method test_274_config_check (line 2940) | def test_274_config_check(self): method test_275_helper_cert_cn_get (line 2950) | def test_275_helper_cert_cn_get(self): method test_276_logger_challenges_modify (line 2971) | def test_276_logger_challenges_modify(self): method test_277_logger_challenges_modify (line 2976) | def test_277_logger_challenges_modify(self): method test_278_logger_challenges_modify (line 2981) | def test_278_logger_challenges_modify(self): method test_279_logger_challenges_modify (line 2986) | def test_279_logger_challenges_modify(self): method test_280_logger_challenges_modify (line 2991) | def test_280_logger_challenges_modify(self): method test_281_logger_challenges_modify (line 2996) | def test_281_logger_challenges_modify(self): method test_282_pembundle_to_list (line 3001) | def test_282_pembundle_to_list(self): method test_283_pembundle_to_list (line 3006) | def test_283_pembundle_to_list(self): method test_284_pembundle_to_list (line 3014) | def test_284_pembundle_to_list(self): method test_285_certid_check (line 3024) | def test_285_certid_check(self): method test_286_certid_check (line 3030) | def test_286_certid_check(self): method test_287_certid_asn1_get (line 3036) | def test_287_certid_asn1_get(self): method test_288_certid_hex_get (line 3097) | def test_288_certid_hex_get(self): method test_289_v6_adjust (line 3110) | def test_289_v6_adjust(self): method test_290_v6_adjust (line 3126) | def test_290_v6_adjust(self): method test_291_v6_adjust (line 3142) | def test_291_v6_adjust(self): method test_292_ipv6_chk (line 3158) | def test_292_ipv6_chk(self): method test_293_ipv6_chk (line 3163) | def test_293_ipv6_chk(self): method test_294_ipv6_chk (line 3168) | def test_294_ipv6_chk(self): method test_295_ipv6_chk (line 3173) | def test_295_ipv6_chk(self): method test_296_header_info_get (line 3178) | def test_296_header_info_get(self): method test_297_header_info_get (line 3186) | def test_297_header_info_get(self): method test_298_encode_url (line 3199) | def test_298_encode_url(self): method test_299_encode_url (line 3204) | def test_299_encode_url(self): method test_300_encode_url (line 3211) | def test_300_encode_url(self): method test_301_uts_now (line 3219) | def test_301_uts_now(self): method test_302_ip_validate (line 3223) | def test_302_ip_validate(self): method test_303_ip_validate (line 3229) | def test_303_ip_validate(self): method test_304_cert_ski_get (line 3233) | def test_304_cert_ski_get(self): method test_305_cert_ski_pyopenssl_get (line 3257) | def test_305_cert_ski_pyopenssl_get(self): method test_306_ski_get (line 3283) | def test_306_ski_get(self, mock_load, mock_ski): method test_307_ski_get (line 3292) | def test_307_ski_get(self, mock_load): method test_308_cert_aki_get (line 3303) | def test_308_cert_aki_get(self): method test_309_cert_aki_pyopenssl_get (line 3311) | def test_309_cert_aki_pyopenssl_get(self): method test_310_aki_get (line 3321) | def test_310_aki_get(self, mock_load, mock_aki): method test_311_aki_get (line 3330) | def test_311_aki_get(self, mock_load): method test_312_validate_fqdn (line 3341) | def test_312_validate_fqdn(self): method test_313_validate_fqdn (line 3345) | def test_313_validate_fqdn(self): method test_314_validate_fqdn (line 3349) | def test_314_validate_fqdn(self): method test_315_validate_fqdn (line 3353) | def test_315_validate_fqdn(self): method test_316_validate_fqdn (line 3357) | def test_316_validate_fqdn(self): method test_317_validate_fqdn (line 3361) | def test_317_validate_fqdn(self): method test_318_validate_fqdn (line 3367) | def test_318_validate_fqdn(self): method test_319_validate_fqdn (line 3371) | def test_319_validate_fqdn(self): method test_320_validate_fqdn (line 3375) | def test_320_validate_fqdn(self): method test_321_validate_ip (line 3379) | def test_321_validate_ip(self): method test_322_validate_ip (line 3383) | def test_322_validate_ip(self): method test_323_validate_ip (line 3389) | def test_323_validate_ip(self): method test_324_validate_ip (line 3393) | def test_324_validate_ip(self): method test_325_validate_ip (line 3397) | def test_325_validate_ip(self): method test_326_validate_identifier (line 3404) | def test_326_validate_identifier(self, mock_ip, mock_fqdn, mock_email): method test_327_validate_identifier (line 3418) | def test_327_validate_identifier(self, mock_ip, mock_fqdn, mock_email): method test_328_validate_identifier (line 3430) | def test_328_validate_identifier(self, mock_ip, mock_fqdn, mock_email): method test_329_validate_identifier (line 3442) | def test_329_validate_identifier(self, mock_ip, mock_fqdn, mock_email): method test_330_validate_identifier (line 3454) | def test_330_validate_identifier(self, mock_ip, mock_fqdn, mock_email): method test_331_validate_identifier (line 3466) | def test_331_validate_identifier(self, mock_ip, mock_fqdn, mock_email): method test_332_client_parameter_validate (line 3477) | def test_332_client_parameter_validate(self, mock_lookup, mock_profile): method test_333_client_parameter_validate (line 3494) | def test_333_client_parameter_validate(self, mock_lookup, mock_profile): method test_334_client_parameter_validate (line 3509) | def test_334_client_parameter_validate(self, mock_lookup, mock_profile): method test_335_client_parameter_validate (line 3528) | def test_335_client_parameter_validate(self, mock_lookup, mock_profile): method test_336_header_info_lookup (line 3546) | def test_336_header_info_lookup(self, mock_info): method test_337_header_info_lookup (line 3557) | def test_337_header_info_lookup(self, mock_info): method test_338_header_info_lookup (line 3568) | def test_338_header_info_lookup(self, mock_info): method test_339_header_info_lookup (line 3576) | def test_339_header_info_lookup(self, mock_info): method test_340_header_info_lookup (line 3591) | def test_340_header_info_lookup(self, mock_info): method test_341_header_info_lookup (line 3604) | def test_341_header_info_lookup(self, mock_info): method test_342_header_info_lookup (line 3618) | def test_342_header_info_lookup(self, mock_info, mock_json): method test_343_config_headerinfo_load (line 3631) | def test_343_config_headerinfo_load(self): method test_344_config_headerinfo_load (line 3636) | def test_344_config_headerinfo_load(self): method test_345_config_headerinfo_load (line 3641) | def test_345_config_headerinfo_load(self): method test_346_config_eab_profile_load (line 3652) | def test_346_config_eab_profile_load(self, mock_eabload): method test_347_config_eab_profile_load (line 3668) | def test_347_config_eab_profile_load(self, mock_eabload): method test_348_config_eab_profile_load (line 3687) | def test_348_config_eab_profile_load(self, mock_eabload): method test_349_config_eab_profile_load (line 3710) | def test_349_config_eab_profile_load(self, mock_eabload): method test_350_config_eab_profile_load (line 3728) | def test_350_config_eab_profile_load(self, mock_eabload): method test_351_config_eab_profile_load (line 3744) | def test_351_config_eab_profile_load(self, mock_eabload): method test_352_config_eab_profile_load (line 3757) | def test_352_config_eab_profile_load(self, mock_eabload): method test_353_eab_profile_string_check (line 3769) | def test_353_eab_profile_string_check(self): method test_354_eab_profile_string_check (line 3776) | def test_354_eab_profile_string_check(self): method test_355_eab_profile_list_check (line 3788) | def test_355_eab_profile_list_check(self): method test_356_eab_profile_list_check (line 3804) | def test_356_eab_profile_list_check(self, mock_chk): method test_357_eab_profile_list_check (line 3816) | def test_357_eab_profile_list_check(self, mock_chk): method test_358_eab_profile_list_check (line 3832) | def test_358_eab_profile_list_check(self, mock_hifv, mock_chk): method test_359_eab_profile_list_check (line 3850) | def test_359_eab_profile_list_check(self, mock_hifv, mock_chk): method test_360_eab_profile_list_check (line 3868) | def test_360_eab_profile_list_check(self, mock_chk): method test_361_eab_profile_list_check (line 3886) | def test_361_eab_profile_list_check(self, mock_chk): method test_362_eab_profile_list_check (line 3914) | def test_362_eab_profile_list_check(self, mock_chk): method test_363_eab_profile_header_info_check (line 3945) | def test_363_eab_profile_header_info_check( method test_364_eab_profile_header_info_check (line 3964) | def test_364_eab_profile_header_info_check( method test_365_eab_profile_header_info_check (line 3986) | def test_365_eab_profile_header_info_check( method test_366_eab_profile_header_info_check (line 4009) | def test_366_eab_profile_header_info_check( method test_367_eab_profile_header_info_check (line 4035) | def test_367_eab_profile_header_info_check(self, mock_lookup, mock_eab): method test_368_eab_profile_header_info_check (line 4058) | def test_368_eab_profile_header_info_check(self, mock_lookup, mock_eab): method test_369_eab_profile_header_info_check (line 4075) | def test_369_eab_profile_header_info_check(self, mock_lookup, mock_eab): method test_370_eab_profile_header_info_check (line 4100) | def test_370_eab_profile_header_info_check(self, mock_lookup, mock_eab): method test_371_eab_profile_check (line 4121) | def test_371_eab_profile_check(self, mock_string, mock_list): method test_372_eab_profile_check (line 4139) | def test_372_eab_profile_check(self, mock_string, mock_list): method test_373_eab_profile_check (line 4158) | def test_373_eab_profile_check(self, mock_string, mock_list, mock_hil): method test_374_eab_profile_check (line 4179) | def test_374_eab_profile_check(self, mock_string, mock_list, mock_hil): method test_375_eab_profile_check (line 4199) | def test_375_eab_profile_check(self, mock_string, mock_list): method test_376_eab_profile_check (line 4220) | def test_376_eab_profile_check(self, mock_string, mock_list, mock_subj... method test_377_cryptography_version_get_success (line 4241) | def test_377_cryptography_version_get_success(self): method test_378_cryptography_version_get_success (line 4245) | def test_378_cryptography_version_get_success(self): method test_379_cn_validate (line 4255) | def test_379_cn_validate(self, mock_ip, mock_fqdn): method test_380_cn_validate (line 4264) | def test_380_cn_validate(self, mock_ip, mock_fqdn): method test_381_cn_validate (line 4273) | def test_381_cn_validate(self, mock_ip, mock_fqdn): method test_382_cn_validate (line 4285) | def test_382_cn_validate(self, mock_ip, mock_fqdn): method test_383_csr_subject_get (line 4295) | def test_383_csr_subject_get(self): method test_384_csr_subject_get (line 4307) | def test_384_csr_subject_get(self): method test_385_csr_subject_get (line 4318) | def test_385_csr_subject_get(self): method test_386_eab_profile_subjet_string_check (line 4324) | def test_386_eab_profile_subjet_string_check(self, mock_validate): method test_387_eab_profile_subjet_string_check (line 4336) | def test_387_eab_profile_subjet_string_check(self, mock_validate): method test_388_eab_profile_subjet_string_check (line 4347) | def test_388_eab_profile_subjet_string_check(self, mock_validate): method test_389_eab_profile_subjet_string_check (line 4358) | def test_389_eab_profile_subjet_string_check(self, mock_validate): method test_390_eab_profile_subjet_string_check (line 4370) | def test_390_eab_profile_subjet_string_check(self, mock_validate): method test_391_eab_profile_subjet_string_check (line 4381) | def test_391_eab_profile_subjet_string_check(self, mock_validate): method test_392_eab_profile_subjet_string_check (line 4394) | def test_392_eab_profile_subjet_string_check(self, mock_validate): method test_393_eab_profile_subject_check (line 4408) | def test_393_eab_profile_subject_check(self, mock_cn, mock_strchk): method test_394_eab_profile_subject_check (line 4419) | def test_394_eab_profile_subject_check(self, mock_cn, mock_strchk): method test_395_eab_profile_subject_check (line 4430) | def test_395_eab_profile_subject_check(self, mock_cn, mock_strchk): method test_396_eab_profile_subject_check (line 4441) | def test_396_eab_profile_subject_check(self, mock_cn, mock_strchk): method test_397_csr_cn_lookup (line 4453) | def test_397_csr_cn_lookup(self, mock_cnget, mock_san_get): method test_398_csr_cn_lookup (line 4461) | def test_398_csr_cn_lookup(self, mock_cnget, mock_san_get): method test_399_csr_cn_lookup (line 4469) | def test_399_csr_cn_lookup(self, mock_cnget, mock_san_get): method test_400_csr_cn_lookup (line 4481) | def test_400_csr_cn_lookup(self, mock_cnget, mock_san_get): method test_401_request_operation (line 4492) | def test_401_request_operation(self, mock_get, mock_post, mock_put): method test_402_request_operation (line 4517) | def test_402_request_operation(self, mock_get, mock_post, mock_put): method test_403_request_operation (line 4542) | def test_403_request_operation(self, mock_get, mock_post, mock_put): method test_404_request_operation (line 4567) | def test_404_request_operation(self, mock_get, mock_post, mock_put): method test_405_request_operation (line 4584) | def test_405_request_operation(self, mock_get, mock_post, mock_put): method test_406_request_operation (line 4602) | def test_406_request_operation(self, mock_get, mock_post, mock_put): method test_407_enrollment_config_log (line 4622) | def test_407_enrollment_config_log(self): method test_408_enrollment_config_log (line 4639) | def test_408_enrollment_config_log(self): method test_409_enrollment_config_log (line 4658) | def test_409_enrollment_config_log(self): method test_410_config_enroll_config_log_load (line 4678) | def test_410_config_enroll_config_log_load(self): method test_411_config_enroll_config_log_load (line 4686) | def test_411_config_enroll_config_log_load(self): method test_412_config_enroll_config_log_load (line 4694) | def test_412_config_enroll_config_log_load(self): method test_413_config_enroll_config_log_load (line 4707) | def test_413_config_enroll_config_log_load(self): method test_414_config_enroll_config_log_load (line 4719) | def test_414_config_enroll_config_log_load(self): method test_415_config_allowed_domainlist_load (line 4736) | def test_415_config_allowed_domainlist_load(self): method test_416_config_allowed_domainlist_load (line 4744) | def test_416_config_allowed_domainlist_load(self): method test_417_config_allowed_domainlist_load (line 4751) | def test_417_config_allowed_domainlist_load(self): method test_418_domainlist_check (line 4764) | def test_418_domainlist_check(self): method test_419_is_domain_whitelisted (line 4770) | def test_419_is_domain_whitelisted(self): method test_420_is_domain_whitelisted (line 4776) | def test_420_is_domain_whitelisted(self): method test_421_is_domain_whitelisted (line 4782) | def test_421_is_domain_whitelisted(self): method test_422_is_domain_whitelisted (line 4788) | def test_422_is_domain_whitelisted(self): method test_423_is_domain_whitelisted (line 4794) | def test_423_is_domain_whitelisted(self): method test_424_is_domain_whitelisted (line 4800) | def test_424_is_domain_whitelisted(self): method test_425_is_domain_whitelisted (line 4806) | def test_425_is_domain_whitelisted(self): method test_426_is_domain_whitelisted (line 4812) | def test_426_is_domain_whitelisted(self): method test_427_is_domain_whitelisted (line 4818) | def test_427_is_domain_whitelisted(self): method test_428_is_domain_whitelisted (line 4824) | def test_428_is_domain_whitelisted(self): method test_429_is_domain_whitelisted (line 4830) | def test_429_is_domain_whitelisted(self): method test_430_is_domain_whitelisted (line 4836) | def test_430_is_domain_whitelisted(self): method test_431_is_domain_whitelisted (line 4848) | def test_431_is_domain_whitelisted(self, mock_idna): method test_432_is_domain_whitelisted (line 4859) | def test_432_is_domain_whitelisted(self): method test_433_is_domain_whitelisted (line 4865) | def test_433_is_domain_whitelisted(self): method test_434_is_domain_whitelisted (line 4871) | def test_434_is_domain_whitelisted(self): method test_435_is_domain_whitelisted (line 4878) | def test_435_is_domain_whitelisted(self, mock_idna): method test_436_allowed_domainlist_check (line 4892) | def test_436_allowed_domainlist_check(self, mock_san, mock_cn): method test_437_allowed_domainlist_check (line 4904) | def test_437_allowed_domainlist_check(self, mock_san, mock_cn): method test_438_allowed_domainlist_check (line 4916) | def test_438_allowed_domainlist_check(self, mock_san, mock_cn): method test_439_allowed_domainlist_check (line 4929) | def test_439_allowed_domainlist_check(self, mock_san, mock_cn): method test_440_allowed_domainlist_check (line 4942) | def test_440_allowed_domainlist_check(self, mock_san, mock_cn): method test_441_radomize_parameter_list (line 4953) | def test_441_radomize_parameter_list(self, mock_rand): method test_442_radomize_parameter_list (line 4966) | def test_442_radomize_parameter_list(self, mock_rand): method test_443_radomize_parameter_list (line 4979) | def test_443_radomize_parameter_list(self, mock_rand): method test_444_config_profile_load (line 4991) | def test_444_config_profile_load(self): method test_445_config_profile_load (line 4999) | def test_445_config_profile_load(self): method test_446_profile_lookup (line 5010) | def test_446_profile_lookup(self): method test_447_profile_lookup (line 5020) | def test_447_profile_lookup(self): method test_448_profile_lookup (line 5028) | def test_448_profile_lookup(self): method test_449_profile_lookup (line 5036) | def test_449_profile_lookup(self): method test_450_b64_url_decode (line 5049) | def test_450_b64_url_decode(self): method test_451_b64_url_decode (line 5053) | def test_451_b64_url_decode(self): method test_452_b64_url_decode (line 5060) | def test_452_b64_url_decode(self): method test_453_b64_url_decode (line 5067) | def test_453_b64_url_decode(self): method test_454_eab_profile_revocation_check_str_value (line 5075) | def test_454_eab_profile_revocation_check_str_value(self, mock_b64_url... method test_455_eab_profile_revocation_check_str_and_ignore_value (line 5094) | def test_455_eab_profile_revocation_check_str_and_ignore_value( method test_456_eab_profile_revocation_check_list_value (line 5118) | def test_456_eab_profile_revocation_check_list_value(self, mock_b64_ur... method test_457_eab_profile_revocation_check_list_value_fallback (line 5133) | def test_457_eab_profile_revocation_check_list_value_fallback( method test_458_missing_required_keys (line 5150) | def test_458_missing_required_keys(self): method test_459_all_required_keys_present (line 5170) | def test_459_all_required_keys_present(self): method test_460_empty_config (line 5183) | def test_460_empty_config(self): method test_461_config_proxy_load_valid_config (line 5197) | def test_461_config_proxy_load_valid_config(self, mock_parse_url, mock... method test_462_config_proxy_load_no_default_section (line 5227) | def test_462_config_proxy_load_no_default_section(self): method test_463_config_proxy_load_no_proxy_server_list (line 5236) | def test_463_config_proxy_load_no_proxy_server_list(self): method test_464_config_proxy_load_invalid_json (line 5245) | def test_464_config_proxy_load_invalid_json(self): method test_465_config_proxy_load_no_host_in_url (line 5263) | def test_465_config_proxy_load_no_host_in_url(self, mock_parse_url): method test_466_config_proxy_load_proxy_check_returns_none (line 5282) | def test_466_config_proxy_load_proxy_check_returns_none( method test_467_config_proxy_load_parse_url_exception (line 5302) | def test_467_config_proxy_load_parse_url_exception(self, mock_parse_url): method test_468_config_proxy_load_host_without_port (line 5329) | def test_468_config_proxy_load_host_without_port( method test_469_config_proxy_load_empty_proxy_list (line 5360) | def test_469_config_proxy_load_empty_proxy_list( method test_470_config_async_mode_load_true_with_django (line 5380) | def test_470_config_async_mode_load_true_with_django(self): method test_471_config_async_mode_load_true_non_django (line 5388) | def test_471_config_async_mode_load_true_non_django(self): method test_472_config_async_mode_load_false_with_django (line 5398) | def test_472_config_async_mode_load_false_with_django(self): method test_473_config_async_mode_load_default_fallback (line 5405) | def test_473_config_async_mode_load_default_fallback(self): method test_474_config_async_mode_load_no_default_section (line 5412) | def test_474_config_async_mode_load_no_default_section(self): method test_475_config_async_mode_load_invalid_boolean (line 5418) | def test_475_config_async_mode_load_invalid_boolean(self): method test_476_config_async_mode_load_case_insensitive_true (line 5428) | def test_476_config_async_mode_load_case_insensitive_true(self): method test_477_config_async_mode_load_case_insensitive_false (line 5439) | def test_477_config_async_mode_load_case_insensitive_false(self): method test_478_config_async_mode_load_different_db_types (line 5451) | def test_478_config_async_mode_load_different_db_types(self): method test_479_fqdn_resolve_successful_a_record_no_catch_all (line 5468) | def test_479_fqdn_resolve_successful_a_record_no_catch_all(self): method test_480_fqdn_resolve_successful_aaaa_record_no_catch_all (line 5486) | def test_480_fqdn_resolve_successful_aaaa_record_no_catch_all(self): method test_481_fqdn_resolve_successful_catch_all_both_records (line 5504) | def test_481_fqdn_resolve_successful_catch_all_both_records(self): method test_482_fqdn_resolve_nxdomain_error (line 5526) | def test_482_fqdn_resolve_nxdomain_error(self): method test_483_fqdn_resolve_no_answer_error (line 5542) | def test_483_fqdn_resolve_no_answer_error(self): method test_484_fqdn_resolve_timeout_error (line 5558) | def test_484_fqdn_resolve_timeout_error(self): method test_485_fqdn_resolve_generic_error (line 5574) | def test_485_fqdn_resolve_generic_error(self): method test_486_fqdn_resolve_mixed_errors_catch_all (line 5590) | def test_486_fqdn_resolve_mixed_errors_catch_all(self): method test_487_fqdn_resolve_empty_answers_no_catch_all (line 5610) | def test_487_fqdn_resolve_empty_answers_no_catch_all(self): method test_488_fqdn_resolve_empty_answers_catch_all (line 5627) | def test_488_fqdn_resolve_empty_answers_catch_all(self): method test_489_fqdn_resolve_partial_success_catch_all (line 5644) | def test_489_fqdn_resolve_partial_success_catch_all(self): method test_490_fqdn_resolve_multiple_a_records_no_catch_all (line 5663) | def test_490_fqdn_resolve_multiple_a_records_no_catch_all(self): method test_491_fqdn_resolve_a_fails_aaaa_succeeds_no_catch_all (line 5685) | def test_491_fqdn_resolve_a_fails_aaaa_succeeds_no_catch_all(self): method test_492_fqdn_resolve_logging_verification (line 5704) | def test_492_fqdn_resolve_logging_verification(self): method test_493_ptr_resolve_successful_resolution (line 5741) | def test_493_ptr_resolve_successful_resolution(self): method test_494_ptr_resolve_successful_with_dns_servers (line 5763) | def test_494_ptr_resolve_successful_with_dns_servers(self): method test_495_ptr_resolve_exception_handling (line 5785) | def test_495_ptr_resolve_exception_handling(self): method test_496_ptr_resolve_nxdomain_error (line 5802) | def test_496_ptr_resolve_nxdomain_error(self): method test_497_ptr_resolve_timeout_error (line 5819) | def test_497_ptr_resolve_timeout_error(self): method test_498_ptr_resolve_invalid_address_format (line 5836) | def test_498_ptr_resolve_invalid_address_format(self): method test_499_ptr_resolve_empty_response (line 5852) | def test_499_ptr_resolve_empty_response(self): method test_500_ptr_resolve_logging_verification (line 5869) | def test_500_ptr_resolve_logging_verification(self): method test_501_ptr_resolve_error_logging_verification (line 5905) | def test_501_ptr_resolve_error_logging_verification(self): method test_502_ptr_resolve_ipv6_address (line 5932) | def test_502_ptr_resolve_ipv6_address(self): method test_503_url_get_with_default_dns_successful_200 (line 5954) | def test_503_url_get_with_default_dns_successful_200(self): method test_504_url_get_with_default_dns_successful_non_200 (line 5982) | def test_504_url_get_with_default_dns_successful_non_200(self): method test_505_url_get_with_default_dns_exception_fallback_success (line 6004) | def test_505_url_get_with_default_dns_exception_fallback_success(self): method test_506_url_get_with_default_dns_fallback_read_timeout (line 6041) | def test_506_url_get_with_default_dns_fallback_read_timeout(self): method test_507_url_get_with_default_dns_fallback_connection_error (line 6071) | def test_507_url_get_with_default_dns_fallback_connection_error(self): method test_508_url_get_with_default_dns_fallback_generic_exception (line 6101) | def test_508_url_get_with_default_dns_fallback_generic_exception(self): method test_509_url_get_with_default_dns_fallback_non_200 (line 6130) | def test_509_url_get_with_default_dns_fallback_non_200(self): method test_510_url_get_with_default_dns_with_proxy_config (line 6164) | def test_510_url_get_with_default_dns_with_proxy_config(self): method test_511_url_get_with_default_dns_logging_verification (line 6197) | def test_511_url_get_with_default_dns_logging_verification(self): method test_512_allowed_gai_family (line 6249) | def test_512_allowed_gai_family(self): method test_513_config_allowed_domainlist_load_deprecated_section (line 6258) | def test_513_config_allowed_domainlist_load_deprecated_section(self): method test_514_config_allowed_domainlist_load_invalid_json (line 6273) | def test_514_config_allowed_domainlist_load_invalid_json(self): FILE: test/test_housekeeping.py class FakeDBStore (line 14) | class FakeDBStore(object): class TestACMEHandler (line 21) | class TestACMEHandler(unittest.TestCase): method setUp (line 26) | def setUp(self): method test_001_housekeeping__certificatelist_get (line 42) | def test_001_housekeeping__certificatelist_get(self): method test_002_housekeeping__convert_data (line 47) | def test_002_housekeeping__convert_data(self): method test_003_housekeeping__convert_data (line 52) | def test_003_housekeeping__convert_data(self): method test_004_housekeeping__convert_data (line 69) | def test_004_housekeeping__convert_data(self): method test_005_housekeeping__convert_data (line 93) | def test_005_housekeeping__convert_data(self): method test_006_housekeeping__convert_data (line 117) | def test_006_housekeeping__convert_data(self): method test_007_housekeeping__convert_data (line 133) | def test_007_housekeeping__convert_data(self): method test_008_housekeeping__convert_data (line 149) | def test_008_housekeeping__convert_data(self): method test_009_housekeeping__convert_data (line 165) | def test_009_housekeeping__convert_data(self): method test_010_housekeeping__convert_data (line 187) | def test_010_housekeeping__convert_data(self): method test_011_housekeeping__convert_data (line 205) | def test_011_housekeeping__convert_data(self): method test_012_housekeeping__convert_data (line 232) | def test_012_housekeeping__convert_data(self, mock_dates, mock_serial): method test_013_housekeeping__to_list (line 259) | def test_013_housekeeping__to_list(self): method test_014_housekeeping__to_list (line 265) | def test_014_housekeeping__to_list(self): method test_015_housekeeping__to_list (line 273) | def test_015_housekeeping__to_list(self): method test_016_housekeeping__to_list (line 282) | def test_016_housekeeping__to_list(self): method test_017_housekeeping__to_list (line 291) | def test_017_housekeeping__to_list(self): method test_018_housekeeping__to_list (line 300) | def test_018_housekeeping__to_list(self): method test_019_housekeeping__to_list (line 309) | def test_019_housekeeping__to_list(self): method test_020_housekeeping__to_list (line 318) | def test_020_housekeeping__to_list(self): method test_021_housekeeping__to_list (line 327) | def test_021_housekeeping__to_list(self): method test_022_housekeeping__to_list (line 336) | def test_022_housekeeping__to_list(self): method test_023_housekeeping__to_list (line 345) | def test_023_housekeeping__to_list(self): method test_024_housekeeping__to_acc_json (line 354) | def test_024_housekeeping__to_acc_json(self): method test_025_housekeeping__to_acc_json (line 359) | def test_025_housekeeping__to_acc_json(self): method test_026_housekeeping__to_acc_json (line 367) | def test_026_housekeeping__to_acc_json(self): method test_027_housekeeping__to_acc_json (line 375) | def test_027_housekeeping__to_acc_json(self): method test_028_housekeeping__to_acc_json (line 391) | def test_028_housekeeping__to_acc_json(self): method test_029_housekeeping__to_acc_json (line 415) | def test_029_housekeeping__to_acc_json(self): method test_030_housekeeping__to_acc_json (line 443) | def test_030_housekeeping__to_acc_json(self): method test_031_housekeeping__to_acc_json (line 480) | def test_031_housekeeping__to_acc_json(self): method test_032_housekeeping__to_acc_json (line 518) | def test_032_housekeeping__to_acc_json(self): method test_033_housekeeping__to_acc_json (line 561) | def test_033_housekeeping__to_acc_json(self): method test_034_housekeeping__to_acc_json (line 609) | def test_034_housekeeping__to_acc_json(self): method test_035_housekeeping__to_acc_json (line 649) | def test_035_housekeeping__to_acc_json(self): method test_036_housekeeping__fieldlist_normalize (line 679) | def test_036_housekeeping__fieldlist_normalize(self): method test_037_housekeeping__fieldlist_normalize (line 685) | def test_037_housekeeping__fieldlist_normalize(self): method test_038_housekeeping__fieldlist_normalize (line 694) | def test_038_housekeeping__fieldlist_normalize(self): method test_039_housekeeping__fieldlist_normalize (line 703) | def test_039_housekeeping__fieldlist_normalize(self): method test_040_housekeeping__fieldlist_normalize (line 712) | def test_040_housekeeping__fieldlist_normalize(self): method test_041_housekeeping__fieldlist_normalize (line 721) | def test_041_housekeeping__fieldlist_normalize(self): method test_042_housekeeping__fieldlist_normalize (line 730) | def test_042_housekeeping__fieldlist_normalize(self): method test_043_housekeeping__fieldlist_normalize (line 739) | def test_043_housekeeping__fieldlist_normalize(self): method test_044_housekeeping__lists_normalize (line 748) | def test_044_housekeeping__lists_normalize(self): method test_045_housekeeping__lists_normalize (line 761) | def test_045_housekeeping__lists_normalize(self): method test_046_housekeeping__lists_normalize (line 780) | def test_046_housekeeping__lists_normalize(self): method test_047_housekeeping__lists_normalize (line 793) | def test_047_housekeeping__lists_normalize(self): method test_048_housekeeping__accountlist_get (line 803) | def test_048_housekeeping__accountlist_get(self): method test_049_housekeeping__certificatelist_get (line 815) | def test_049_housekeeping__certificatelist_get(self): method test_050_housekeeping_dbversion_check (line 827) | def test_050_housekeeping_dbversion_check(self): method test_051_housekeeping_dbversion_check (line 834) | def test_051_housekeeping_dbversion_check(self): method test_052_housekeeping_dbversion_check (line 844) | def test_052_housekeeping_dbversion_check(self): method test_053_housekeeping_dbversion_check (line 854) | def test_053_housekeeping_dbversion_check(self): method test_054_housekeeping_dbversion_check (line 864) | def test_054_housekeeping_dbversion_check(self): method test_055_housekeeping_dbversion_check (line 874) | def test_055_housekeeping_dbversion_check(self): method test_056__enter__ (line 887) | def test_056__enter__(self, mock_cfg): method test_057_config_load (line 894) | def test_057_config_load(self, mock_load_cfg): method test_058_config_load (line 903) | def test_058_config_load(self, mock_load_cfg): method test_059__csv_dump (line 913) | def test_059__csv_dump(self, mock_write): method test_060__csv_dump (line 920) | def test_060__csv_dump(self, mock_json): method test_061_accountreport_get (line 930) | def test_061_accountreport_get( method test_062_accountreport_get (line 951) | def test_062_accountreport_get( method test_063_accountreport_get (line 972) | def test_063_accountreport_get( method test_064_accountreport_get (line 990) | def test_064_accountreport_get( method test_065_certreport_get (line 1008) | def test_065_certreport_get(self, mock_get, mock_norm, mock_convert, m... method test_066_certreport_get (line 1023) | def test_066_certreport_get( method test_067_certreport_get (line 1043) | def test_067_certreport_get( method test_068_certreport_get (line 1061) | def test_068_certreport_get( method test_069_certificate_data_update (line 1080) | def test_069_certificate_data_update(self, mock_update): method test_070_certificates_cleanup (line 1090) | def test_070_certificates_cleanup( method test_071_certificates_cleanup (line 1112) | def test_071_certificates_cleanup( method test_072_certificates_cleanup (line 1134) | def test_072_certificates_cleanup( method test_073_certificates_cleanup (line 1156) | def test_073_certificates_cleanup( method test_074_certificates_cleanup (line 1178) | def test_074_certificates_cleanup( method test_075_certificates_cleanup (line 1201) | def test_075_certificates_cleanup( method test_076_certificates_cleanup (line 1224) | def test_076_certificates_cleanup( method test_077_authorizations_invalidate (line 1248) | def test_077_authorizations_invalidate( method test_078_authorizations_invalidate (line 1277) | def test_078_authorizations_invalidate( method test_079_authorizations_invalidate (line 1306) | def test_079_authorizations_invalidate( method test_080_authorizations_invalidate (line 1335) | def test_080_authorizations_invalidate( method test_081_authorizations_invalidate (line 1364) | def test_081_authorizations_invalidate( method test_082_orders_invalidate (line 1393) | def test_082_orders_invalidate( method test_083_orders_invalidate (line 1422) | def test_083_orders_invalidate( method test_084_orders_invalidate (line 1451) | def test_084_orders_invalidate( method test_085_orders_invalidate (line 1480) | def test_085_orders_invalidate( method test_086_orders_invalidate (line 1509) | def test_086_orders_invalidate( method test_087_parse (line 1534) | def test_087_parse(self, mock_check, mock_report): method test_088_parse (line 1556) | def test_088_parse(self, mock_check, mock_report): method test_089_parse (line 1582) | def test_089_parse(self, mock_check, mock_report): method test_090_parse (line 1608) | def test_090_parse(self, mock_check, mock_report): method test_091_parse (line 1634) | def test_091_parse(self, mock_check, mock_report): method test_092_parse (line 1660) | def test_092_parse(self, mock_check, mock_report): method test_093_clireport_get (line 1684) | def test_093_clireport_get(self, mock_cert, mock_account): method test_094_clireport_get (line 1704) | def test_094_clireport_get(self, mock_cert, mock_account): method test_095_clireport_get (line 1724) | def test_095_clireport_get(self, mock_cert, mock_account): method test_096_clireport_get (line 1739) | def test_096_clireport_get(self, mock_cert, mock_account): method test_097_clireport_get (line 1754) | def test_097_clireport_get(self, mock_cert, mock_account): method test_098_clireport_get (line 1774) | def test_098_clireport_get(self, mock_cert, mock_account): method test_099_clireport_get (line 1794) | def test_099_clireport_get(self, mock_cert, mock_account): method test_100__cliconfig_check (line 1812) | def test_100__cliconfig_check(self): method test_101__cliconfig_check (line 1822) | def test_101__cliconfig_check(self): method test_102__cliconfig_check (line 1832) | def test_102__cliconfig_check(self): method test_103__cliconfig_check (line 1837) | def test_103__cliconfig_check(self): method test_104__cliconfig_check (line 1842) | def test_104__cliconfig_check(self): method test_105__cliaccounts_list (line 1848) | def test_105__cliaccounts_list(self, mock_caf): method test_106__cliaccounts_list (line 1856) | def test_106__cliaccounts_list(self, mock_caf): method test_107__cliaccounts_list (line 1864) | def test_107__cliaccounts_list(self, mock_caf): method test_108__cliaccounts_format (line 1877) | def test_108__cliaccounts_format(self, mock_print): method test_109__cliaccounts_format (line 1913) | def test_109__cliaccounts_format(self, mock_print): method test_110__cliaccounts_format (line 1964) | def test_110__cliaccounts_format(self, mock_print): method test_111__cliaccounts_format (line 2015) | def test_111__cliaccounts_format(self, mock_print): method test_112_cli_usermgr (line 2029) | def test_112_cli_usermgr(self, mock_chk): method test_113_cli_usermgr (line 2037) | def test_113_cli_usermgr(self, mock_chk, mock_build): method test_114_cli_usermgr (line 2052) | def test_114_cli_usermgr(self, mock_chk, mock_build): method test_115_cli_usermgr (line 2064) | def test_115_cli_usermgr(self, mock_chk, mock_build): method test_116_cli_usermgr (line 2076) | def test_116_cli_usermgr(self, mock_chk, mock_build): method test_117_cli_usermgr (line 2088) | def test_117_cli_usermgr(self, mock_chk, mock_build, mock_list): method test_118_cli_usermgr (line 2100) | def test_118_cli_usermgr(self, mock_chk, mock_build, mock_list): method test_119_cli_usermgr (line 2111) | def test_119_cli_usermgr(self, mock_chk, mock_build): method test_120_cli_usermgr (line 2127) | def test_120_cli_usermgr(self, mock_chk, mock_build): method test_121_cli_usermgr (line 2146) | def test_121_cli_usermgr(self, mock_chk, mock_build, mock_list): method test_122_data_dic_build (line 2160) | def test_122_data_dic_build(self): method test_123_data_dic_build (line 2165) | def test_123_data_dic_build(self): method test_124_data_dic_build (line 2171) | def test_124_data_dic_build(self): method test_125_data_dic_build (line 2177) | def test_125_data_dic_build(self): method test_126_data_dic_build (line 2183) | def test_126_data_dic_build(self): method test_127_data_dic_build (line 2189) | def test_127_data_dic_build(self): method test_128_data_dic_build (line 2205) | def test_128_data_dic_build(self): method test_129_data_dic_build (line 2221) | def test_129_data_dic_build(self): method test_130_data_dic_build (line 2238) | def test_130_data_dic_build(self): FILE: test/test_message.py class FakeDBStore (line 14) | class FakeDBStore(object): class TestACMEHandler (line 21) | class TestACMEHandler(unittest.TestCase): method setUp (line 27) | def setUp(self): method test_001_message_check_decoding_error (line 42) | def test_001_message_check_decoding_error(self, mock_decode): method test_002_message_check_nonce_failed (line 53) | def test_002_message_check_nonce_failed(self, mock_decode, mock_nonce_... method test_003_message_check_account_lookup_failed (line 65) | def test_003_message_check_account_lookup_failed( method test_004_message_check_signature_failed (line 90) | def test_004_message_check_signature_failed( method test_005_message_check_invalid_eab_credentials (line 110) | def test_005_message_check_invalid_eab_credentials( method test_006_message_check_successful (line 138) | def test_006_message_check_successful( method test_007_message_check_nonce_disabled (line 158) | def test_007_message_check_nonce_disabled( method test_008_message_check_signature_nonce_disabled (line 185) | def test_008_message_check_signature_nonce_disabled( method test_009_message_check_nonce_disabled_keyrollover (line 218) | def test_009_message_check_nonce_disabled_keyrollover( method test_010_message_prepare_response_complete_data (line 241) | def test_010_message_prepare_response_complete_data(self, mock_nnonce): method test_011_message_prepare_response_no_header (line 260) | def test_011_message_prepare_response_no_header(self, mock_nnonce, moc... method test_012_message_prepare_response_no_code (line 278) | def test_012_message_prepare_response_no_code(self, mock_nnonce): method test_013_message_prepare_response_no_message (line 301) | def test_013_message_prepare_response_no_message(self, mock_nnonce): method test_014_message_prepare_response_no_detail (line 324) | def test_014_message_prepare_response_no_detail(self, mock_nnonce): method test_015_message_prepare_response_no_data (line 343) | def test_015_message_prepare_response_no_data(self, mock_nnonce, mock_... method test_016_message_name_get_empty_content (line 358) | def test_016_message_name_get_empty_content(self): method test_017_message_name_get_kid_nonsense (line 363) | def test_017_message_name_get_kid_nonsense(self): method test_018_message_name_get_wrong_kid (line 370) | def test_018_message_name_get_wrong_kid(self): method test_019_message_name_get_correct_kid (line 377) | def test_019_message_name_get_correct_kid(self): method test_020_message_name_get_jwk_no_url (line 384) | def test_020_message_name_get_jwk_no_url(self): method test_021_message_name_get_jwk_wrong_url (line 391) | def test_021_message_name_get_jwk_wrong_url(self): method test_022_message__name_get (line 398) | def test_022_message__name_get(self): method test_023_message__name_get (line 405) | def test_023_message__name_get(self): method test_024_message__name_get (line 414) | def test_024_message__name_get(self): method test_025_message__name_get (line 423) | def test_025_message__name_get(self): method test_026_message__name_get (line 432) | def test_026_message__name_get(self): method test_027__enter__ (line 444) | def test_027__enter__(self): method test_028_config_load (line 449) | def test_028_config_load(self, mock_load_cfg): method test_029_config_load (line 463) | def test_029_config_load(self, mock_load_cfg): method test_030_config_load (line 480) | def test_030_config_load(self, mock_load_cfg): method test_031_config_load (line 497) | def test_031_config_load(self, mock_load_cfg): method test_032_config_load (line 514) | def test_032_config_load(self, mock_load_cfg): method test_033_config_load (line 533) | def test_033_config_load(self, mock_load_cfg, mock_eab): method test_034_config_load (line 554) | def test_034_config_load(self, mock_load_cfg, mock_eab): method test_035_config_load (line 573) | def test_035_config_load(self, mock_load_cfg, mock_eab): method test_036_config_load (line 589) | def test_036_config_load(self, mock_load_cfg, mock_eab): method test_136_config_load (line 609) | def test_136_config_load(self, mock_load_cfg, mock_eab): method test_037_config_load (line 624) | def test_037_config_load(self, mock_load_cfg, mock_eab): method test_038_config_load (line 646) | def test_038_config_load(self, mock_load_cfg, mock_eab): method test_039_config_load (line 669) | def test_039_config_load(self, mock_load_cfg, mock_eab): method test_040_config_load (line 690) | def test_040_config_load(self, mock_load_cfg, mock_eab): method test_041_message_check (line 710) | def test_041_message_check(self, mock_decode): method test_042_message_check (line 730) | def test_042_message_check(self, mock_decode, mock_name_get, mock_check): method test_043_message_check (line 746) | def test_043_message_check(self, mock_decode, mock_name_get, mock_check): method test_044_message_check (line 762) | def test_044_message_check(self, mock_decode, mock_name_get, mock_check): method test_044_invalid_eab_check (line 780) | def test_044_invalid_eab_check(self): method test_045_invalid_eab_check (line 795) | def test_045_invalid_eab_check(self): method test_046_invalid_eab_check (line 814) | def test_046_invalid_eab_check(self): method test_047_invalid_eab_check (line 840) | def test_047_invalid_eab_check(self): method test_048_invalid_eab_check (line 858) | def test_048_invalid_eab_check(self): method test_049__safe_account_lookup_db_error (line 876) | def test_049__safe_account_lookup_db_error(self): method test_050_eab_mac_key_exists_exception (line 889) | def test_050_eab_mac_key_exists_exception(self): method test_051_handle_missing_eab_credentials_db_error (line 899) | def test_051_handle_missing_eab_credentials_db_error(self): method test_052_extract_account_name_from_content (line 920) | def test_052_extract_account_name_from_content(self, mock_name_get): class TestAccountRepository (line 929) | class TestAccountRepository(unittest.TestCase): method setUp (line 932) | def setUp(self): method test_account_lookup_calls_dbstore (line 938) | def test_account_lookup_calls_dbstore(self): method test_account_update_calls_dbstore (line 944) | def test_account_update_calls_dbstore(self): method test_cli_permissions_get_calls_dbstore (line 950) | def test_cli_permissions_get_calls_dbstore(self): FILE: test/test_msca_handler.py class TestACMEHandler (line 16) | class TestACMEHandler(unittest.TestCase): method setUp (line 19) | def setUp(self): method test_001_default (line 30) | def test_001_default(self): method test_002__pkcs7_to_pem (line 34) | def test_002__pkcs7_to_pem(self): method test_003__pkcs7_to_pem (line 42) | def test_003__pkcs7_to_pem(self): method test_004__pkcs7_to_pem (line 50) | def test_004__pkcs7_to_pem(self): method test_005__pkcs7_to_pem (line 60) | def test_005__pkcs7_to_pem(self): method test_006__pkcs7_to_pem (line 67) | def test_006__pkcs7_to_pem(self): method test_007_config_load (line 80) | def test_007_config_load(self, mock_load_cfg): method test_008_config_load (line 94) | def test_008_config_load(self, mock_load_cfg): method test_009_config_load (line 109) | def test_009_config_load(self, mock_load_cfg): method test_010_config_load (line 124) | def test_010_config_load(self, mock_load_cfg): method test_011_config_load (line 139) | def test_011_config_load(self, mock_load_cfg): method test_012_config_load (line 154) | def test_012_config_load(self, mock_load_cfg): method test_013_config_load (line 169) | def test_013_config_load(self, mock_load_cfg): method test_014_config_load (line 184) | def test_014_config_load(self, mock_load_cfg): method test_015_config_load (line 199) | def test_015_config_load(self, mock_load_cfg): method test_016_config_load (line 214) | def test_016_config_load(self, mock_load_cfg): method test_017_config_load (line 229) | def test_017_config_load(self, mock_load_cfg): method test_018_config_load (line 245) | def test_018_config_load(self, mock_load_cfg): method test_019_config_load (line 255) | def test_019_config_load(self, mock_load_cfg): method test_020_config_load (line 270) | def test_020_config_load(self, mock_load_cfg): method test_021_config_load (line 282) | def test_021_config_load(self, mock_load_cfg): method test_022_config_load (line 292) | def test_022_config_load(self, mock_load_cfg): method test_023_config_load (line 307) | def test_023_config_load(self, mock_load_cfg): method test_024_config_load (line 319) | def test_024_config_load(self, mock_load_cfg): method test_025_config_load (line 329) | def test_025_config_load(self, mock_load_cfg): method test_026_config_load (line 344) | def test_026_config_load(self, mock_load_cfg): method test_027_config_load (line 360) | def test_027_config_load(self, mock_load_cfg, mock_json, mock_chk): method test_028_config_load (line 378) | def test_028_config_load(self, mock_load_cfg, mock_json, mock_chk): method test_029_config_load (line 397) | def test_029_config_load(self, mock_load_cfg, mock_eab): method test_030_revoke (line 418) | def test_030_revoke(self): method test_031_poll (line 429) | def test_031_poll(self): method test_032_trigger (line 436) | def test_032_trigger(self): method test_033_check_credentials (line 442) | def test_033_check_credentials(self): method test_034_check_credentials (line 448) | def test_034_check_credentials(self): method test_035__enter__ (line 455) | def test_035__enter__(self, mock_cfg): method test_036_enroll (line 461) | def test_036_enroll(self): method test_037_enroll (line 467) | def test_037_enroll(self): method test_038_enroll (line 474) | def test_038_enroll(self): method test_039_enroll (line 482) | def test_039_enroll(self): method test_040_enroll (line 493) | def test_040_enroll(self, mock_certserver, mock_credchk): method test_041_enroll (line 512) | def test_041_enroll( method test_042_enroll (line 539) | def test_042_enroll( method test_043_enroll (line 572) | def test_043_enroll( method test_044_enroll (line 605) | def test_044_enroll( method test_045_enroll (line 635) | def test_045_enroll( method test_046_enroll (line 669) | def test_046_enroll( method test_047_enroll (line 698) | def test_047_enroll( method test_048_enroll (line 738) | def test_048_enroll( method test_049_enroll (line 766) | def test_049_enroll(self, mock_certserver, mock_credchk, mock_ecl): method test_050_enroll (line 783) | def test_050_enroll(self, mock_certserver, mock_credchk, mock_ecl): method test_051_template_name_get (line 799) | def test_051_template_name_get(self, mock_header): method test_052_template_name_get (line 810) | def test_052_template_name_get(self, mock_header): method test_053_template_name_get (line 821) | def test_053_template_name_get(self, mock_header): method test_054_config_headerinfo_load (line 832) | def test_054_config_headerinfo_load(self): method test_055_config_headerinfo_load (line 838) | def test_055_config_headerinfo_load(self): method test_056_config_headerinfo_load (line 844) | def test_056_config_headerinfo_load(self): method test_057__config_url_load (line 855) | def test_057__config_url_load(self): method test_058__config_url_load (line 863) | def test_058__config_url_load(self): method test_059__config_url_load (line 871) | def test_059__config_url_load(self): method test_060__config_url_load (line 879) | def test_060__config_url_load(self): method test_061_handler_check (line 892) | def test_061_handler_check(self, mock_handler_check): FILE: test/test_mswcce_ca_handler.py class TestACMEHandler (line 14) | class TestACMEHandler(unittest.TestCase): method setUp (line 17) | def setUp(self): method tearDown (line 26) | def tearDown(self): method test_001_default (line 30) | def test_001_default(self): method test_002_config_load (line 35) | def test_002_config_load(self, mock_load_cfg): method test_003_config_load (line 52) | def test_003_config_load(self, mock_load_cfg): method test_004_config_load (line 72) | def test_004_config_load(self, mock_load_cfg): method test_005_config_load (line 91) | def test_005_config_load(self, mock_load_cfg): method test_006_config_load (line 116) | def test_006_config_load(self, mock_load_cfg): method test_007_config_load (line 136) | def test_007_config_load(self, mock_load_cfg): method test_008_config_load (line 155) | def test_008_config_load(self, mock_load_cfg): method test_009_config_load (line 174) | def test_009_config_load(self, mock_load_cfg): method test_010_config_load (line 198) | def test_010_config_load(self, mock_load_cfg): method test_011_config_load (line 218) | def test_011_config_load(self, mock_load_cfg): method test_012_config_load (line 237) | def test_012_config_load(self, mock_load_cfg): method test_013_config_load (line 256) | def test_013_config_load(self, mock_load_cfg): method test_014_config_load (line 280) | def test_014_config_load(self, mock_load_cfg): method test_015_config_load (line 303) | def test_015_config_load(self, mock_load_cfg): method test_016_config_load (line 322) | def test_016_config_load(self, mock_load_cfg): method test_017_config_load (line 341) | def test_017_config_load(self, mock_load_cfg): method test_018_config_load (line 359) | def test_018_config_load(self, mock_load_cfg): method test_019_config_load (line 377) | def test_019_config_load(self, mock_load_cfg): method test_020_config_load (line 396) | def test_020_config_load(self, mock_load_cfg): method test_021_config_load (line 415) | def test_021_config_load(self, mock_load_cfg): method test_022_config_load (line 435) | def test_022_config_load(self, mock_load_cfg, mock_json, mock_chk): method test_023_config_load (line 460) | def test_023_config_load(self, mock_load_cfg, mock_json, mock_chk): method test_024_config_load (line 485) | def test_024_config_load(self, mock_load_cfg): method test_025_config_load (line 503) | def test_025_config_load(self, mock_load_cfg): method test_026_config_load (line 521) | def test_026_config_load(self, mock_load_cfg): method test_027_config_load (line 539) | def test_027_config_load(self, mock_load_cfg): method test_028_config_load (line 557) | def test_028_config_load(self, mock_load_cfg): method test_029_config_load (line 580) | def test_029_config_load(self, mock_load_cfg): method test_030_config_load (line 598) | def test_030_config_load(self, mock_load_cfg): method test_031_config_load (line 616) | def test_031_config_load(self, mock_load_cfg): method test_032_config_load (line 635) | def test_032_config_load(self, mock_load_cfg): method test_033_config_load (line 654) | def test_033_config_load(self, mock_load_cfg): method test_034_config_load (line 678) | def test_034_config_load(self, mock_load_cfg): method test_035_config_load (line 697) | def test_035_config_load(self, mock_load_cfg): method test_036_config_load (line 716) | def test_036_config_load(self, mock_load_cfg): method test_037_config_load (line 735) | def test_037_config_load(self, mock_load_cfg): method test_038__file_load (line 759) | def test_038__file_load(self): method test_039__file_load (line 764) | def test_039__file_load(self, mock_op): method test_040_revoke (line 774) | def test_040_revoke(self): method test_041_poll (line 785) | def test_041_poll(self): method test_042_trigger (line 792) | def test_042_trigger(self): method test_043_enroll (line 799) | def test_043_enroll(self, mock_rcr): method test_044_enroll (line 813) | def test_044_enroll(self, mock_rcr): method test_045_enroll (line 831) | def test_045_enroll(self, mock_rcr): method test_046_enroll (line 849) | def test_046_enroll(self, mock_rcr): method test_047_enroll (line 867) | def test_047_enroll(self, mock_rcr): method test_048_enroll (line 889) | def test_048_enroll(self, mock_pem, mock_file, mock_b2s, mock_s2b, moc... method test_049_enroll (line 921) | def test_049_enroll(self, mock_pem, mock_file, mock_b2s, mock_s2b, moc... method test_050_enroll (line 952) | def test_050_enroll(self, mock_pem, mock_file, mock_b2s, mock_s2b, moc... method test_051_enroll (line 972) | def test_051_enroll(self, mock_pem, mock_file, mock_b2s, mock_s2b, moc... method test_052_enroll (line 992) | def test_052_enroll(self, mock_pem, mock_file, mock_b2s, mock_s2b, moc... method test_053_enroll (line 1021) | def test_053_enroll( method test_054_enroll (line 1054) | def test_054_enroll( method test_055_enroll (line 1080) | def test_055_enroll( method test_056_request_create (line 1111) | def test_056_request_create(self, mock_target, mock_request, mock_ecl): method test_057_request_create (line 1121) | def test_057_request_create(self, mock_target, mock_request, mock_ecl): method test_058__enter (line 1130) | def test_058__enter(self, mock_cfgload): method test_059__enter (line 1137) | def test_059__enter(self, mock_cfgload): method test_060_template_name_get (line 1144) | def test_060_template_name_get(self, mock_header): method test_061_template_name_get (line 1155) | def test_061_template_name_get(self, mock_header): method test_062_template_name_get (line 1166) | def test_062_template_name_get(self, mock_header): method test_063_config_headerinfo_load (line 1177) | def test_063_config_headerinfo_load(self): method test_064_config_headerinfo_load (line 1183) | def test_064_config_headerinfo_load(self): method test_065_config_headerinfo_load (line 1189) | def test_065_config_headerinfo_load(self): method test_066_handler_check (line 1201) | def test_066_handler_check(self, mock_handler_check): FILE: test/test_nclm_ca_handler.py class TestACMEHandler (line 16) | class TestACMEHandler(unittest.TestCase): method setUp (line 19) | def setUp(self): method test_001_default (line 31) | def test_001_default(self): method test_002__api_post (line 36) | def test_002__api_post(self, mock_req): method test_003__api_post (line 44) | def test_003__api_post(self, mock_post): method test_004__api_post (line 57) | def test_004__api_post(self, mock_req): method test_005__config_check (line 67) | def test_005__config_check(self): method test_006__config_check (line 74) | def test_006__config_check(self): method test_007__config_check (line 82) | def test_007__config_check(self): method test_008__config_check (line 91) | def test_008__config_check(self): method test_009__config_check (line 102) | def test_009__config_check(self): method test_010__config_check (line 113) | def test_010__config_check(self): method test_011__config_check (line 125) | def test_011__config_check(self): method test_012__config_check (line 138) | def test_012__config_check(self): method test_013__config_check (line 151) | def test_013__config_check(self): method test_014_config_load (line 171) | def test_014_config_load(self, mock_load_cfg): method test_015_config_load (line 186) | def test_015_config_load(self, mock_load_cfg): method test_016_config_load (line 202) | def test_016_config_load(self, mock_load_cfg): method test_017_config_load (line 219) | def test_017_config_load(self, mock_load_cfg): method test_018_config_load (line 236) | def test_018_config_load(self, mock_load_cfg): method test_019_config_load (line 252) | def test_019_config_load(self, mock_load_cfg): method test_020_config_load (line 273) | def test_020_config_load(self, mock_load_cfg): method test_021_config_load (line 289) | def test_021_config_load(self, mock_load_cfg): method test_022_config_load (line 305) | def test_022_config_load(self, mock_load_cfg): method test_023_config_load (line 323) | def test_023_config_load(self, mock_load_cfg): method test_024_config_load (line 337) | def test_024_config_load(self, mock_load_cfg): method test_025_config_load (line 355) | def test_025_config_load(self, mock_load_cfg): method test_026_config_load (line 374) | def test_026_config_load(self, mock_load_cfg): method test_027_config_load (line 388) | def test_027_config_load(self, mock_load_cfg): method test_028_config_load (line 406) | def test_028_config_load(self, mock_load_cfg): method test_029_config_load (line 426) | def test_029_config_load(self, mock_load_cfg, mock_json, mock_url): method test_030_config_load (line 441) | def test_030_config_load(self, mock_load_cfg, mock_json, mock_url, moc... method test_031_config_load (line 462) | def test_031_config_load(self, mock_load_cfg, mock_json, mock_url, moc... method test_032_config_load (line 482) | def test_032_config_load(self, mock_load_cfg): method test_033_config_load (line 491) | def test_033_config_load(self, mock_load_cfg): method test_034_config_load (line 500) | def test_034_config_load(self, mock_load_cfg): method test_035__login (line 512) | def test_035__login(self, mock_get, mock_post): method test_036__login (line 527) | def test_036__login(self, mock_get, mock_post): method test_037__login (line 553) | def test_037__login(self, mock_get, mock_post): method test_038__login (line 582) | def test_038__login(self, mock_get, mock_post): method test_039_poll (line 606) | def test_039_poll(self): method test_040_trigger (line 613) | def test_040_trigger(self): method test_041_container_id_lookup (line 620) | def test_041_container_id_lookup(self, mock_get): method test_042_container_id_lookup (line 635) | def test_042_container_id_lookup(self, mock_get): method test_043_container_id_lookup (line 655) | def test_043_container_id_lookup(self, mock_get): method test_044_container_id_lookup (line 675) | def test_044_container_id_lookup(self, mock_req): method test_045__template_id_lookup (line 696) | def test_045__template_id_lookup(self, mock_list, mock_enum): method test_046__template_id_lookup (line 709) | def test_046__template_id_lookup(self, mock_list, mock_enum): method test_047__template_list_get (line 716) | def test_047__template_list_get(self, mock_get): method test_048__template_list_get (line 725) | def test_048__template_list_get(self, mock_get): method test_049__template_list_get (line 737) | def test_049__template_list_get(self, mock_get): method test_050__templates_enumerate (line 745) | def test_050__templates_enumerate(self): method test_051__templates_enumerate (line 754) | def test_051__templates_enumerate(self): method test_052__templates_enumerate (line 765) | def test_052__templates_enumerate(self): method test_053__enter__ (line 782) | def test_053__enter__(self, mock_lookup, mock_login, mock_check, mock_... method test_054__enter__ (line 794) | def test_054__enter__(self, mock_lookup, mock_login, mock_check, mock_... method test_055__enter__ (line 807) | def test_055__enter__(self, mock_lookup, mock_login, mock_check, mock_... method test_056__enter__ (line 820) | def test_056__enter__(self, mock_lookup, mock_login, mock_check, mock_... method test_057__enter__ (line 833) | def test_057__enter__(self, mock_lookup, mock_login, mock_check, mock_... method test_058__enter__ (line 846) | def test_058__enter__(self, mock_lookup, mock_login, mock_check, mock_... method test_059__ca_id_get (line 856) | def test_059__ca_id_get(self): method test_060__ca_id_get (line 861) | def test_060__ca_id_get(self): method test_061__ca_id_get (line 866) | def test_061__ca_id_get(self): method test_062__ca_id_get (line 871) | def test_062__ca_id_get(self): method test_063__ca_id_get (line 876) | def test_063__ca_id_get(self): method test_064__ca_id_get (line 882) | def test_064__ca_id_get(self): method test_065__ca_id_get (line 893) | def test_065__ca_id_get(self): method test_066__ca_policylink_id_lookup (line 901) | def test_066__ca_policylink_id_lookup(self, mock_req, mock_caid): method test_067__ca_policylink_id_lookup (line 914) | def test_067__ca_policylink_id_lookup(self, mock_req, mock_caid): method test_068__ca_policylink_id_lookup (line 932) | def test_068__ca_policylink_id_lookup(self, mock_req, mock_caid): method test_069__cert_enroll (line 952) | def test_069__cert_enroll(self, mock_post, mock_idget, mock_build): method test_070__cert_enroll (line 968) | def test_070__cert_enroll(self, mock_post, mock_idget, mock_build): method test_071__cert_enroll (line 989) | def test_071__cert_enroll(self, mock_post, mock_idget, mock_build): method test_072__csr_post (line 1011) | def test_072__csr_post(self, mock_pem, mock_enc, mock_convert, mock_po... method test_073__csr_post (line 1026) | def test_073__csr_post(self, mock_pem, mock_enc, mock_convert, mock_po... method test_074__issuer_certid_get (line 1039) | def test_074__issuer_certid_get(self, mock_req): method test_075__issuer_certid_get (line 1049) | def test_075__issuer_certid_get(self, mock_req): method test_076__cert_bundle_build (line 1061) | def test_076__cert_bundle_build(self, mock_req, mock_pem, mock_certid): method test_077__cert_bundle_build (line 1075) | def test_077__cert_bundle_build(self, mock_req, mock_pem, mock_certid): method test_078__cert_bundle_build (line 1089) | def test_078__cert_bundle_build(self, mock_req, mock_pem, mock_certid): method test_079__cert_id_get (line 1102) | def test_079__cert_id_get(self, mock_req, mock_sleep): method test_080__cert_id_get (line 1114) | def test_080__cert_id_get(self, mock_req, mock_sleep): method test_081__cert_id_get (line 1131) | def test_081__cert_id_get(self, mock_req, mock_sleep): method test_082__certid_get_from_serial (line 1153) | def test_082__certid_get_from_serial(self, mock_serial, mock_req): method test_083__certid_get_from_serial (line 1163) | def test_083__certid_get_from_serial(self, mock_serial, mock_req): method test_084__certid_get_from_serial (line 1178) | def test_084__certid_get_from_serial(self, mock_serial, mock_req): method test_085__cert_id_lookup (line 1196) | def test_085__cert_id_lookup(self, mock_enc, mock_info, mock_serial): method test_086__cert_id_lookup (line 1207) | def test_086__cert_id_lookup(self, mock_enc, mock_info, mock_serial): method test_087__cert_id_lookup (line 1218) | def test_087__cert_id_lookup(self, mock_enc, mock_info, mock_serial): method test_088__revocation_status_poll (line 1228) | def test_088__revocation_status_poll(self, mock_req, mock_sleep): method test_089__revocation_status_poll (line 1241) | def test_089__revocation_status_poll(self, mock_req, mock_sleep): method test_090__revocation_status_poll (line 1254) | def test_090__revocation_status_poll(self, mock_req, mock_sleep): method test_091__revocation_status_poll (line 1269) | def test_091__revocation_status_poll(self, mock_req, mock_sleep): method test_092__revocation_status_poll (line 1284) | def test_092__revocation_status_poll(self, mock_req, mock_sleep): method test_093_enroll (line 1300) | def test_093_enroll( method test_094_enroll (line 1324) | def test_094_enroll( method test_095_enroll (line 1348) | def test_095_enroll(self, mock_recode, mock_policy, mock_template, moc... method test_096_enroll (line 1374) | def test_096_enroll(self, mock_recode, mock_policy, mock_template, moc... method test_097_enroll (line 1395) | def test_097_enroll(self, mock_recode, mock_policy, mock_template, moc... method test_098_enroll (line 1415) | def test_098_enroll( method test_099_revoke (line 1436) | def test_099_revoke(self, mock_err, mock_idl, mock_post, mock_poll): method test_100_revoke (line 1453) | def test_100_revoke(self, mock_err, mock_idl, mock_post, mock_poll, mo... method test_101_revoke (line 1474) | def test_101_revoke(self, mock_err, mock_idl, mock_post, mock_poll, mo... method test_102_handler_check (line 1492) | def test_102_handler_check(self, mock_handler_check): FILE: test/test_nonce.py class FakeDBStore (line 13) | class FakeDBStore(object): class TestACMEHandler (line 20) | class TestACMEHandler(unittest.TestCase): method setUp (line 25) | def setUp(self): method test_001_generate_nonce_value (line 39) | def test_001_generate_nonce_value(self): method test_002_generate_and_add (line 43) | def test_002_generate_and_add(self): method test_003_nonce_check (line 47) | def test_003_nonce_check(self): method test_004_nonce_check (line 55) | def test_004_nonce_check(self, mock_validate_and_consume_nonce): method test_005_nonce__validate_and_consume_nonce (line 61) | def test_005_nonce__validate_and_consume_nonce(self, mock_dbstore_class): method test_006_nonce_generate_and_add (line 77) | def test_006_nonce_generate_and_add(self, mock_dbstore_class): method test_007_nonce__validate_and_consume_nonce (line 97) | def test_007_nonce__validate_and_consume_nonce(self, mock_dbstore_class): method test_008_nonce__validate_and_consume_nonce (line 118) | def test_008_nonce__validate_and_consume_nonce(self, mock_dbstore_class): method test_009__enter_ (line 137) | def test_009__enter_(self): FILE: test/test_openssl_ca_handler.py function convert_string_to_byte (line 18) | def convert_string_to_byte(value): class TestACMEHandler (line 27) | class TestACMEHandler(unittest.TestCase): method setUp (line 30) | def setUp(self): method test_001_default (line 40) | def test_001_default(self): method test_002_check_config (line 44) | def test_002_check_config(self): method test_003_check_config (line 52) | def test_003_check_config(self, mock_file): method test_004_check_config (line 61) | def test_004_check_config(self, mock_file): method test_005_check_config (line 73) | def test_005_check_config(self, mock_file): method test_006_check_config (line 85) | def test_006_check_config(self, mock_file): method test_007_check_config (line 98) | def test_007_check_config(self, mock_file): method test_008_check_config (line 117) | def test_008_check_config(self, mock_file): method test_009_check_config (line 131) | def test_009_check_config(self, mock_file): method test_010_check_config (line 145) | def test_010_check_config(self, mock_file): method test_011_check_config (line 158) | def test_011_check_config(self, mock_file): method test_012_check_config (line 174) | def test_012_check_config(self, mock_file): method test_013_generate_pem_chain (line 187) | def test_013_generate_pem_chain(self): method test_014_generate_pem_chain (line 193) | def test_014_generate_pem_chain(self): method test_015_generate_pem_chain (line 200) | def test_015_generate_pem_chain(self): method test_016_generate_pem_chain (line 210) | def test_016_generate_pem_chain(self, mock_file): method test_017_generate_pem_chain (line 222) | def test_017_generate_pem_chain(self, mock_file): method test_018_generate_pem_chain (line 236) | def test_018_generate_pem_chain(self, mock_file): method test_019_load_ca_key_cert (line 250) | def test_019_load_ca_key_cert(self): method test_020_load_ca_key_cert (line 255) | def test_020_load_ca_key_cert(self): method test_021_load_ca_key_cert (line 263) | def test_021_load_ca_key_cert(self, mock_crypto, mock_file): method test_022_load_ca_key_cert (line 276) | def test_022_load_ca_key_cert(self, mock_crypto_key, mock_crypto_cert,... method test_023_load_ca_key_cert (line 291) | def test_023_load_ca_key_cert(self, mock_crypto_key, mock_crypto_cert,... method test_024_load_ca_key_cert (line 307) | def test_024_load_ca_key_cert(self, mock_crypto_key, mock_crypto_cert,... method test_025_revocation (line 319) | def test_025_revocation(self): method test_026_revocation (line 328) | def test_026_revocation(self): method test_027_revocation (line 340) | def test_027_revocation(self, mock_ca_load, mock_serial): method test_028_revocation (line 359) | def test_028_revocation(self, mock_ca_load, mock_serial): method test_029_revocation (line 378) | def test_029_revocation(self, mock_ca_load, mock_serial): method test_030_list_check (line 395) | def test_030_list_check(self): method test_031_list_check (line 401) | def test_031_list_check(self): method test_032_list_check (line 407) | def test_032_list_check(self): method test_033_list_check (line 413) | def test_033_list_check(self): method test_034_list_check (line 419) | def test_034_list_check(self): method test_035_list_check (line 425) | def test_035_list_check(self): method test_036_list_check (line 431) | def test_036_list_check(self): method test_037_list_check (line 437) | def test_037_list_check(self): method test_038_list_check (line 443) | def test_038_list_check(self): method test_039_list_check (line 449) | def test_039_list_check(self): method test_040_list_check (line 455) | def test_040_list_check(self): method test_041_list_check (line 461) | def test_041_list_check(self): method test_042_list_check (line 467) | def test_042_list_check(self): method test_043_list_check (line 473) | def test_043_list_check(self): method test_044_list_check (line 479) | def test_044_list_check(self): method test_045_string_wlbl_check (line 485) | def test_045_string_wlbl_check(self): method test_046_string_wlbl_check (line 494) | def test_046_string_wlbl_check(self): method test_047_string_wlbl_check (line 503) | def test_047_string_wlbl_check(self): method test_048_string_wlbl_check (line 512) | def test_048_string_wlbl_check(self): method test_049_string_wlbl_check (line 521) | def test_049_string_wlbl_check(self): method test_050_string_wlbl_check (line 530) | def test_050_string_wlbl_check(self): method test_051_string_wlbl_check (line 539) | def test_051_string_wlbl_check(self): method test_052_string_wlbl_check (line 548) | def test_052_string_wlbl_check(self): method test_053_string_wlbl_check (line 557) | def test_053_string_wlbl_check(self): method test_054_string_wlbl_check (line 566) | def test_054_string_wlbl_check(self): method test_055_string_wlbl_check (line 575) | def test_055_string_wlbl_check(self): method test_056_string_wlbl_check (line 584) | def test_056_string_wlbl_check(self): method test_057_string_wlbl_check (line 593) | def test_057_string_wlbl_check(self): method test_058_string_wlbl_check (line 602) | def test_058_string_wlbl_check(self): method test_059_string_wlbl_check (line 611) | def test_059_string_wlbl_check(self): method test_060_string_wlbl_check (line 620) | def test_060_string_wlbl_check(self): method test_061_csr_check (line 631) | def test_061_csr_check(self, mock_san, mock_cn): method test_062_csr_check (line 643) | def test_062_csr_check(self, mock_san, mock_cn, mock_lcheck): method test_063_csr_check (line 656) | def test_063_csr_check(self, mock_san, mock_cn, mock_lcheck): method test_064_csr_check (line 669) | def test_064_csr_check(self, mock_san, mock_cn, mock_lcheck): method test_065_csr_check (line 681) | def test_065_csr_check(self, mock_san, mock_cn): method test_066_csr_check (line 692) | def test_066_csr_check(self, mock_san, mock_cn): method test_067_csr_check (line 701) | def test_067_csr_check(self, mock_san, mock_cn): method test_068__enter__ (line 709) | def test_068__enter__(self, mock_cfg): method test_069_trigger (line 715) | def test_069_trigger(self): method test_070_poll (line 721) | def test_070_poll(self): method test_071_certificate_store (line 728) | def test_071_certificate_store(self): method test_072_certificate_store (line 743) | def test_072_certificate_store(self, mock_os, mock_mkdir, mock_dump): method test_073_certificate_store (line 758) | def test_073_certificate_store(self, mock_os, mock_mkdir, mock_dump): method test_074_certificate_store (line 773) | def test_074_certificate_store(self, mock_os, mock_mkdir, mock_dump): method test_075__config_load (line 787) | def test_075__config_load(self, mock_load_cfg): method test_076__config_load (line 796) | def test_076__config_load(self, mock_load_cfg): method test_077__config_load (line 806) | def test_077__config_load(self, mock_load_cfg, mock_jl): method test_078__config_load (line 817) | def test_078__config_load(self, mock_load_cfg, mock_jl): method test_079__config_load (line 833) | def test_079__config_load(self, mock_load_cfg, mock_jl): method test_080__config_load (line 849) | def test_080__config_load(self, mock_load_cfg, mock_jl): method test_081__config_load (line 859) | def test_081__config_load(self, mock_load_cfg): method test_082__config_load (line 869) | def test_082__config_load(self, mock_load_cfg, mock_jl): method test_083__config_load (line 884) | def test_083__config_load(self, mock_load_cfg): method test_084__config_load (line 894) | def test_084__config_load(self, mock_load_cfg, mock_jl): method test_085__config_load (line 909) | def test_085__config_load(self, mock_load_cfg): method test_086__config_load (line 919) | def test_086__config_load(self, mock_load_cfg, mock_jl): method test_087__config_load (line 934) | def test_087__config_load(self, mock_load_cfg): method test_088__config_load (line 944) | def test_088__config_load(self, mock_load_cfg, mock_jl): method test_089__config_load (line 960) | def test_089__config_load(self, mock_load_cfg, mock_jl): method test_090__config_load (line 970) | def test_090__config_load(self, mock_load_cfg): method test_091__config_load (line 979) | def test_091__config_load(self, mock_load_cfg): method test_092__config_load (line 990) | def test_092__config_load(self, mock_load_cfg): method test_093__config_load (line 1001) | def test_093__config_load(self, mock_load_cfg): method test_094__config_load (line 1010) | def test_094__config_load(self, mock_load_cfg): method test_095__config_load (line 1019) | def test_095__config_load(self, mock_load_cfg): method test_096__config_load (line 1028) | def test_096__config_load(self, mock_load_cfg): method test_097__config_load (line 1037) | def test_097__config_load(self, mock_load_cfg): method test_098_config_load (line 1047) | def test_098_config_load(self, mock_load_cfg): method test_099_config_load (line 1057) | def test_099_config_load(self, mock_load_cfg): method test_100_config_load (line 1071) | def test_100_config_load(self, mock_load_cfg): method test_101__config_load (line 1088) | def test_101__config_load(self, mock_load_cfg): method test_102__config_load (line 1097) | def test_102__config_load(self, mock_load_cfg): method test_103__config_load (line 1106) | def test_103__config_load(self, mock_load_cfg): method test_104__config_load (line 1115) | def test_104__config_load(self, mock_load_cfg): method test_105__config_load (line 1129) | def test_105__config_load(self, mock_load_cfg): method test_106___certificate_extensions_load (line 1143) | def test_106___certificate_extensions_load(self, mock_load_cfg): method test_107___certificate_extensions_load (line 1151) | def test_107___certificate_extensions_load(self, mock_load_cfg): method test_108___certificate_extensions_load (line 1159) | def test_108___certificate_extensions_load(self, mock_load_cfg): method test_109___certificate_extensions_load (line 1170) | def test_109___certificate_extensions_load(self, mock_load_cfg): method test_110___certificate_extensions_load (line 1177) | def test_110___certificate_extensions_load(self, mock_load_cfg): method test_111___certificate_extensions_load (line 1185) | def test_111___certificate_extensions_load(self, mock_load_cfg): method test_112___certificate_extensions_load (line 1193) | def test_112___certificate_extensions_load(self, mock_load_cfg): method test_113_enroll (line 1201) | def test_113_enroll(self, mock_chk): method test_114__cert_extension_ku_parse (line 1206) | def test_114__cert_extension_ku_parse(self): method test_115__cert_extension_ku_parse (line 1222) | def test_115__cert_extension_ku_parse(self): method test_116__cert_extension_ku_parse (line 1238) | def test_116__cert_extension_ku_parse(self): method test_117__cert_extension_ku_parse (line 1254) | def test_117__cert_extension_ku_parse(self): method test_118__cert_extension_ku_parse (line 1270) | def test_118__cert_extension_ku_parse(self): method test_119__cert_extension_eku_parse (line 1286) | def test_119__cert_extension_eku_parse(self): method test_120__cert_extension_eku_parse (line 1293) | def test_120__cert_extension_eku_parse(self): method test_121__cert_extension_eku_parse (line 1300) | def test_121__cert_extension_eku_parse(self): method test_122__cert_extension_eku_parse (line 1307) | def test_122__cert_extension_eku_parse(self): method test_123__cert_extension_dic_parse (line 1319) | def test_123__cert_extension_dic_parse( method test_124__cert_extension_dic_parse (line 1348) | def test_124__cert_extension_dic_parse( method test_125__cert_extension_dic_parse (line 1372) | def test_125__cert_extension_dic_parse( method test_126__cert_extension_dic_parse (line 1396) | def test_126__cert_extension_dic_parse( method test_127__cert_extension_dic_parse (line 1420) | def test_127__cert_extension_dic_parse( method test_128__cert_extension_dic_parse (line 1442) | def test_128__cert_extension_dic_parse( method test_129__cert_signing_prep (line 1460) | def test_129__cert_signing_prep(self, mock_builder): method test_130__cert_extension_default (line 1470) | def test_130__cert_extension_default( method test_131__cert_extension_default (line 1491) | def test_131__cert_extension_default( method test_132__cert_extension_default (line 1514) | def test_132__cert_extension_default( method test_133__cert_extension_default (line 1537) | def test_133__cert_extension_default( method test_134__cert_extension_apply (line 1562) | def test_134__cert_extension_apply(self, mock_cel, mock_cep, mock_ced,... method test_135__cert_extension_apply (line 1583) | def test_135__cert_extension_apply(self, mock_cel, mock_cep, mock_ced,... method test_136__cert_extension_apply (line 1605) | def test_136__cert_extension_apply(self, mock_cel, mock_cep, mock_ced,... method test_137_enroll (line 1641) | def test_137_enroll( method test_138_enroll (line 1699) | def test_138_enroll( method test_139_enroll (line 1755) | def test_139_enroll( method test_140_enroll (line 1814) | def test_140_enroll( method test_141_enroll (line 1877) | def test_141_enroll( method test_142_revoke (line 1933) | def test_142_revoke( method test_143_revoke (line 1979) | def test_143_revoke( method test_144_revoke (line 2026) | def test_144_revoke( method test_145__cacert_expiry_get (line 2073) | def test_145__cacert_expiry_get( method test_146__cacert_expiry_get (line 2089) | def test_146__cacert_expiry_get( method test_147__cacert_expiry_get (line 2108) | def test_147__cacert_expiry_get( method test_148__cacert_expiry_get (line 2127) | def test_148__cacert_expiry_get( method test_149__cacert_expiry_get (line 2147) | def test_149__cacert_expiry_get( method test_150__cacert_expiry_get (line 2167) | def test_150__cacert_expiry_get( method test_151__cert_expiry_get (line 2186) | def test_151__cert_expiry_get(self): method test_152__certexpiry_date_default (line 2193) | def test_152__certexpiry_date_default(self, mock_now): method test_153__certexpiry_date_set (line 2204) | def test_153__certexpiry_date_set(self, mock_default, mock_get): method test_154__certexpiry_date_set (line 2214) | def test_154__certexpiry_date_set(self, mock_default, mock_get): method test_155__certexpiry_date_set (line 2226) | def test_155__certexpiry_date_set(self, mock_default, mock_get): FILE: test/test_openxpki_ca_handler.py class FakeDBStore (line 18) | class FakeDBStore(object): class TestACMEHandler (line 25) | class TestACMEHandler(unittest.TestCase): method setUp (line 28) | def setUp(self): method test_001_default (line 42) | def test_001_default(self): method test_002__enter__ (line 47) | def test_002__enter__(self, mock_cfg): method test_003__enter__ (line 54) | def test_003__enter__(self, mock_cfg): method test_004_cert_bundle_create (line 63) | def test_004_cert_bundle_create(self, mock_enc, mock_p2d): method test_005_cert_bundle_create (line 80) | def test_005_cert_bundle_create(self, mock_enc, mock_p2d): method test_006_cert_bundle_create (line 93) | def test_006_cert_bundle_create(self, mock_enc, mock_p2d): method test_007_cert_bundle_create (line 110) | def test_007_cert_bundle_create(self, mock_enc, mock_p2d): method test_008_cert_bundle_create (line 127) | def test_008_cert_bundle_create(self, mock_enc, mock_p2d): method test_009__config_server_load (line 142) | def test_009__config_server_load(self): method test_010__config_server_load (line 151) | def test_010__config_server_load(self): method test_011__config_server_load (line 161) | def test_011__config_server_load(self): method test_012__config_server_load (line 171) | def test_012__config_server_load(self): method test_013__config_server_load (line 181) | def test_013__config_server_load(self): method test_014__config_ca_load (line 191) | def test_014__config_ca_load(self): method test_015__config_server_load (line 200) | def test_015__config_server_load(self): method test_016__config_server_load (line 210) | def test_016__config_server_load(self): method test_017__config_server_load (line 220) | def test_017__config_server_load(self): method test_018__config_ca_load (line 235) | def test_018__config_ca_load(self): method test_019__config_ca_load (line 244) | def test_019__config_ca_load(self): method test_020__config_ca_load (line 253) | def test_020__config_ca_load(self): method test_021__config_ca_load (line 262) | def test_021__config_ca_load(self): method test_022__config_ca_load (line 271) | def test_022__config_ca_load(self): method test_023__config_session_load (line 285) | def test_023__config_session_load(self): method test_024__config_session_load (line 298) | def test_024__config_session_load(self, mock_pass): method test_025__config_session_load (line 307) | def test_025__config_session_load(self, mock_pass): method test_026__config_session_load (line 325) | def test_026__config_session_load(self, mock_pass, mock_req, mock_sess... method test_027__config_passphrase_load (line 338) | def test_027__config_passphrase_load(self): method test_028__config_passphrase_load (line 345) | def test_028__config_passphrase_load(self): method test_029__config_passphrase_load (line 353) | def test_029__config_passphrase_load(self): method test_030__config_passphrase_load (line 361) | def test_030__config_passphrase_load(self): method test_031__config_passphrase_load (line 374) | def test_031__config_passphrase_load(self): method test_032_config_load (line 392) | def test_032_config_load(self, mock_load_cfg, mock_auth_load, mock_ser... method test_033_config_load (line 415) | def test_033_config_load(self, mock_load_cfg): method test_034_config_load (line 430) | def test_034_config_load(self, mock_load_cfg, mock_auth_load, mock_ser... method test_035_config_load (line 453) | def test_035_config_load(self, mock_load_cfg, mock_auth_load, mock_ser... method test_036_config_load (line 476) | def test_036_config_load(self, mock_load_cfg, mock_auth_load, mock_ser... method test_037_poll (line 495) | def test_037_poll(self): method test_038_trigger (line 502) | def test_038_trigger(self): method test_039__rpc_post (line 509) | def test_039__rpc_post(self, mock_req): method test_040__rpc_post (line 520) | def test_040__rpc_post(self, mock_post): method test_041_enroll (line 536) | def test_041_enroll(self, mock_recode, mock_pem, mock_enroll): method test_042_enroll (line 555) | def test_042_enroll(self, mock_recode, mock_pem, mock_enroll): method test_043_enroll (line 577) | def test_043_enroll(self, mock_recode, mock_pem, mock_enroll): method test_044__enroll (line 599) | def test_044__enroll(self, mock_post, mock_create): method test_045__enroll (line 616) | def test_045__enroll(self, mock_post, mock_create): method test_046__enroll (line 640) | def test_046__enroll(self, mock_post, mock_create, mock_log): method test_047__enroll (line 660) | def test_047__enroll(self, mock_post, mock_create): method test_048__enroll (line 693) | def test_048__enroll(self, mock_post, mock_create, mock_sleep): method test_049__enroll (line 729) | def test_049__enroll(self, mock_post, mock_create, mock_log): method test_050__cert_identifier_get (line 748) | def test_050__cert_identifier_get(self): method test_051__cert_identifier_get (line 758) | def test_051__cert_identifier_get(self): method test_052__cert_identifier_get (line 764) | def test_052__cert_identifier_get(self): method test_053__cert_identifier_get (line 772) | def test_053__cert_identifier_get(self): method test_054__cert_identifier_get (line 778) | def test_054__cert_identifier_get(self): method test_055__revoke (line 785) | def test_055__revoke(self, mock_post): method test_056__revoke (line 797) | def test_056__revoke(self, mock_post): method test_057__revoke (line 808) | def test_057__revoke(self, mock_post): method test_058_revoke (line 819) | def test_058_revoke(self, mock_certid, mock_revoke): method test_059_revoke (line 832) | def test_059_revoke(self, mock_certid, mock_revoke, mock_eab): method test_060_revoke (line 846) | def test_060_revoke(self, mock_certid, mock_revoke, mock_eab): method test_061_handler_check (line 859) | def test_061_handler_check(self, mock_handler_check): FILE: test/test_order.py class FakeDBStore (line 20) | class FakeDBStore(object): class TestOrderRepository (line 27) | class TestOrderRepository(unittest.TestCase): method setUp (line 28) | def setUp(self): method test_001_add_order_success (line 43) | def test_001_add_order_success(self): method test_002_add_order_failure (line 47) | def test_002_add_order_failure(self): method test_003_add_authorization_success (line 61) | def test_003_add_authorization_success(self): method test_004_add_authorization_failure (line 65) | def test_004_add_authorization_failure(self): method test_005_update_authorization_success (line 79) | def test_005_update_authorization_success(self): method test_006_update_authorization_failure (line 85) | def test_006_update_authorization_failure(self): method test_007_order_lookup_success (line 101) | def test_007_order_lookup_success(self): method test_008_order_lookup_failure (line 107) | def test_008_order_lookup_failure(self): method test_009_order_update_success (line 121) | def test_009_order_update_success(self): method test_010_order_update_failure (line 125) | def test_010_order_update_failure(self): method test_011_authorization_lookup_success (line 139) | def test_011_authorization_lookup_success(self): method test_012_authorization_lookup_failure (line 148) | def test_012_authorization_lookup_failure(self): method test_013_certificate_lookup_success (line 164) | def test_013_certificate_lookup_success(self): method test_014_certificate_lookup_failure (line 172) | def test_014_certificate_lookup_failure(self): method test_015_hkparameter_get_success (line 186) | def test_015_hkparameter_get_success(self): method test_016_hkparameter_get_failure (line 190) | def test_016_hkparameter_get_failure(self): method test_017_orders_invalid_search_success (line 204) | def test_017_orders_invalid_search_success(self): method test_018_orders_invalid_search_failure (line 211) | def test_018_orders_invalid_search_failure(self): method test_019_account_lookup_success (line 227) | def test_019_account_lookup_success(self): method test_020_account_lookup_failure (line 233) | def test_020_account_lookup_failure(self): class TestOrderClass (line 248) | class TestOrderClass(unittest.TestCase): method setUp (line 249) | def setUp(self): method test_021__enter_ (line 268) | def test_021__enter_(self): method test_022__enter_ (line 272) | def test_022__enter_(self): method test_023_are_identifiers_allowed_logging (line 276) | def test_023_are_identifiers_allowed_logging(self): method test_024_is_profile_valid_profile_check_disabled (line 286) | def test_024_is_profile_valid_profile_check_disabled(self): method test_025_is_profile_valid_invalid (line 292) | def test_025_is_profile_valid_invalid(self): method test_026_is_profile_valid_valid_profile (line 305) | def test_026_is_profile_valid_valid_profile(self): method test_027_add_profile_to_order_valid (line 325) | def test_027_add_profile_to_order_valid(self): method test_028_add_profile_to_order_invalid (line 334) | def test_028_add_profile_to_order_invalid(self): method test_029_add_profile_to_order_no_profiles_configured (line 343) | def test_029_add_profile_to_order_no_profiles_configured(self): method test_030_process_order_request_db_error_logging (line 359) | def test_030_process_order_request_db_error_logging(self): method test_031_edge_case_empty_identifiers (line 370) | def test_031_edge_case_empty_identifiers(self): method test_032_edge_case_too_many_identifiers (line 380) | def test_032_edge_case_too_many_identifiers(self): method test_033_edge_case_invalid_identifier_type (line 394) | def test_033_edge_case_invalid_identifier_type(self): method test_034_edge_case_missing_type (line 407) | def test_034_edge_case_missing_type(self): method test_035_edge_case_invalid_profile_config (line 415) | def test_035_edge_case_invalid_profile_config(self): method test_036_order_dic_create_all_fields (line 421) | def test_036_order_dic_create_all_fields(self): method test_037_order_dic_create_invalid_identifiers (line 437) | def test_037_order_dic_create_invalid_identifiers(self): method test_038_get_authorization_list_db_error (line 446) | def test_038_get_authorization_list_db_error(self): method test_039_update_validity_list_ready (line 456) | def test_039_update_validity_list_ready(self): method test_040_update_validity_list_not_ready (line 464) | def test_040_update_validity_list_not_ready(self): method test_041_get_order_details_with_authz (line 472) | def test_041_get_order_details_with_authz(self): method test_042_invalidate_expired_orders (line 486) | def test_042_invalidate_expired_orders(self): method test_043_create_from_content_success (line 498) | def test_043_create_from_content_success(self): method test_044_create_from_content_rejected (line 532) | def test_044_create_from_content_rejected(self): method test_045_create_from_content_error (line 567) | def test_045_create_from_content_error(self): method test_046_create_from_content_check_fail (line 602) | def test_046_create_from_content_check_fail(self): method test_047_parse_order_message_all_paths (line 617) | def test_047_parse_order_message_all_paths(self): method test_048_parse_order_content_success (line 660) | def test_048_parse_order_content_success(self): method test_049_parse_order_content_expiry_disabled (line 686) | def test_049_parse_order_content_expiry_disabled(self): method test_050_legacy_api_compatibility (line 713) | def test_050_legacy_api_compatibility(self): method test_051_add_order_and_authorizations_success (line 728) | def test_051_add_order_and_authorizations_success(self): method test_052_add_order_and_authorizations_order_db_error (line 756) | def test_052_add_order_and_authorizations_order_db_error(self): method test_053_add_order_and_authorizations_authz_db_error (line 785) | def test_053_add_order_and_authorizations_authz_db_error(self): method test_054_add_order_and_authorizations_with_error_input (line 814) | def test_054_add_order_and_authorizations_with_error_input(self): method test_055_add_order_and_authorizations_logging (line 841) | def test_055_add_order_and_authorizations_logging(self): method test_056_load_header_info_config_valid (line 859) | def test_056_load_header_info_config_valid(self): method test_057_load_header_info_config_invalid_json (line 865) | def test_057_load_header_info_config_invalid_json(self): method test_058_load_header_info_config_missing_key (line 871) | def test_058_load_header_info_config_missing_key(self): method test_059_load_header_info_config_logging (line 877) | def test_059_load_header_info_config_logging(self): method test_060_load_order_config_all_options (line 893) | def test_060_load_order_config_all_options(self): method test_061_load_order_config_invalid_ints (line 919) | def test_061_load_order_config_invalid_ints(self): method test_062_load_order_config_missing_sections (line 944) | def test_062_load_order_config_missing_sections(self): method test_063_create_order_invalid_identifiers (line 955) | def test_063_create_order_invalid_identifiers(self): method test_064_create_order_profile_invalid (line 973) | def test_064_create_order_profile_invalid(self): method test_065_create_order_add_order_and_authz_error (line 1006) | def test_065_create_order_add_order_and_authz_error(self): method test_066_create_order_no_identifiers (line 1022) | def test_066_create_order_no_identifiers(self): method test_067_create_order_logging (line 1038) | def test_067_create_order_logging(self): method test_068_load_profile_config_all_paths (line 1077) | def test_068_load_profile_config_all_paths(self): method test_069_load_profile_config_all_paths (line 1091) | def test_069_load_profile_config_all_paths(self): method test_070_load_profiles_from_config_with_profiles (line 1106) | def test_070_load_profiles_from_config_with_profiles(self): method test_071_load_profiles_from_config_no_profiles (line 1124) | def test_071_load_profiles_from_config_no_profiles(self): method test_072_load_profiles_from_db_if_sync_profiles_sync_true (line 1133) | def test_072_load_profiles_from_db_if_sync_profiles_sync_true(self): method test_073_load_profiles_from_db_if_sync_profiles_sync_false (line 1150) | def test_073_load_profiles_from_db_if_sync_profiles_sync_false(self): method test_074_load_profiles_from_db_if_sync_no_profiles_sync (line 1163) | def test_074_load_profiles_from_db_if_sync_no_profiles_sync(self): method test_075_load_profiles_from_db_if_sync_db_error (line 1176) | def test_075_load_profiles_from_db_if_sync_db_error(self): method test_076_set_profiles_from_db_valid_json (line 1194) | def test_076_set_profiles_from_db_valid_json(self): method test_077_set_profiles_from_db_invalid_json (line 1199) | def test_077_set_profiles_from_db_invalid_json(self): method test_078_maybe_disable_profile_check_true (line 1205) | def test_078_maybe_disable_profile_check_true(self): method test_079_maybe_disable_profile_check_false (line 1216) | def test_079_maybe_disable_profile_check_false(self): method test_080_maybe_disable_profile_check_no_profiles (line 1227) | def test_080_maybe_disable_profile_check_no_profiles(self): method test_081_load_configuration_authz_validity_error (line 1239) | def test_081_load_configuration_authz_validity_error(self): method test_082_load_configuration_without_ordersection (line 1259) | def test_082_load_configuration_without_ordersection(self): method test_083_name_get_logging (line 1274) | def test_083_name_get_logging(self): method test_084_name_get_with_slash (line 1281) | def test_084_name_get_with_slash(self): method test_085_name_get_logging (line 1290) | def test_085_name_get_logging(self): method test_086_are_identifiers_allowed_valid (line 1302) | def test_086_are_identifiers_allowed_valid(self): method test_087_are_identifiers_allowed_invalid_type (line 1310) | def test_087_are_identifiers_allowed_invalid_type(self): method test_088_are_identifiers_allowed_invalid_value (line 1324) | def test_088_are_identifiers_allowed_invalid_value(self): method test_089_are_identifiers_allowed_missing_type (line 1338) | def test_089_are_identifiers_allowed_missing_type(self): method test_090_are_identifiers_allowed_tnauthlist_and_email (line 1347) | def test_090_are_identifiers_allowed_tnauthlist_and_email(self): method test_091_rewrite_email_identifiers_basic (line 1360) | def test_091_rewrite_email_identifiers_basic(self): method test_092_rewrite_email_identifiers_no_rewrite (line 1371) | def test_092_rewrite_email_identifiers_no_rewrite(self): method test_093_rewrite_email_identifiers_other_types (line 1380) | def test_093_rewrite_email_identifiers_other_types(self): method test_094_rewrite_email_identifiers_logging (line 1389) | def test_094_rewrite_email_identifiers_logging(self): method test_095_name_get_basic (line 1407) | def test_095_name_get_basic(self): method test_096_process_csr_all_paths (line 1420) | def test_096_process_csr_all_paths(self): method test_097_process_csr_rejected_identifier (line 1446) | def test_097_process_csr_rejected_identifier(self): method test_098_process_csr_serverinternal_error (line 1468) | def test_098_process_csr_serverinternal_error(self): method test_099_process_csr_certificate_store_failure (line 1496) | def test_099_process_csr_certificate_store_failure(self): method test_100_finalize_order_all_paths (line 1520) | def test_100_finalize_order_all_paths(self): method test_101_finalize_csr_updates_status_when_no_detail (line 1542) | def test_101_finalize_csr_updates_status_when_no_detail(self): method test_102_finalize_csr_handles_timeout (line 1553) | def test_102_finalize_csr_handles_timeout(self): method test_103_finalize_csr_handles_rejected_identifier (line 1565) | def test_103_finalize_csr_handles_rejected_identifier(self): method test_104_finalize_csr_enrollment_failed_else_branch (line 1577) | def test_104_finalize_csr_enrollment_failed_else_branch(self): method test_105_order_dic_create_all_paths (line 1590) | def test_105_order_dic_create_all_paths(self): method test_106_get_authorization_list_all_paths (line 1617) | def test_106_get_authorization_list_all_paths(self): method test_107_get_authorization_list_all_paths (line 1626) | def test_107_get_authorization_list_all_paths(self): method test_108_update_validity_list_all_paths (line 1644) | def test_108_update_validity_list_all_paths(self): method test_109_get_order_details_all_paths (line 1662) | def test_109_get_order_details_all_paths(self): method test_110_invalidate_expired_orders_all_paths (line 1677) | def test_110_invalidate_expired_orders_all_paths(self): method test_111_invalidate_expired_orders_all_paths (line 1702) | def test_111_invalidate_expired_orders_all_paths(self): method test_112_process_order_request_all_paths (line 1713) | def test_112_process_order_request_all_paths(self): method test_113_check_identifiers_validity_all_paths (line 1753) | def test_113_check_identifiers_validity_all_paths(self): method test_114_check_identifiers_validity_all_paths (line 1780) | def test_114_check_identifiers_validity_all_paths(self): method test_115_get_order_info_all_paths (line 1795) | def test_115_get_order_info_all_paths(self): method test_116_get_order_info_all_paths (line 1801) | def test_116_get_order_info_all_paths(self): method test_117_header_info_lookup_all_paths (line 1812) | def test_117_header_info_lookup_all_paths(self): method test_118_enter_loads_configuration_and_returns_self (line 1830) | def test_118_enter_loads_configuration_and_returns_self(self): method test_119_parse_order_content_adds_certificate (line 1837) | def test_119_parse_order_content_adds_certificate(self): method test_120_invalidate_expired_orders_update_error_logging (line 1866) | def test_120_invalidate_expired_orders_update_error_logging(self): method test_121_process_csr_generic_error (line 1880) | def test_121_process_csr_generic_error(self): method test_122_process_csr_serverinternal_error (line 1894) | def test_122_process_csr_serverinternal_error(self): method test_123_process_order_request_db_error_logging (line 1911) | def test_123_process_order_request_db_error_logging(self): method test_124_process_order_request_no_url (line 1926) | def test_124_process_order_request_no_url(self): method test_125_finalize_order_valid_OrderDatabaseError (line 1942) | def test_125_finalize_order_valid_OrderDatabaseError(self): method test_126_finalize_order_ready_nocsr (line 1959) | def test_126_finalize_order_ready_nocsr(self): method test_127_finalize_csr_timeout (line 1968) | def test_127_finalize_csr_timeout(self): method test_128_from_content_rejectedidentifier_with_detail (line 1981) | def test_128_from_content_rejectedidentifier_with_detail(self): method test_129_from_content_rejectedidentifier_without_detail (line 2011) | def test_129_from_content_rejectedidentifier_without_detail(self): method test_130_apply_eab_profile_eab_profiling_disabled (line 2044) | def test_130_apply_eab_profile_eab_profiling_disabled(self): method test_131_apply_eab_profile_account_lookup_db_error (line 2057) | def test_131_apply_eab_profile_account_lookup_db_error(self): method test_132_apply_eab_profile_no_eab_kid (line 2064) | def test_132_apply_eab_profile_no_eab_kid(self): method test_133_apply_eab_profile_allowed_domainlist_order_section (line 2074) | def test_133_apply_eab_profile_allowed_domainlist_order_section(self): method test_134_apply_eab_profile_allowed_domainlist_cahandler_section (line 2089) | def test_134_apply_eab_profile_allowed_domainlist_cahandler_section(se... method test_135_apply_eab_profile_generic_exception (line 2104) | def test_135_apply_eab_profile_generic_exception(self): method test_136_create_order_eab_profiling_branch (line 2119) | def test_136_create_order_eab_profiling_branch(self): method test_137_create_order_invalid_profile_detail (line 2134) | def test_137_create_order_invalid_profile_detail(self): method test_138_are_identifiers_allowed_fqdn_not_whitelisted (line 2159) | def test_138_are_identifiers_allowed_fqdn_not_whitelisted(self): method test_139_apply_eab_profile_disabled (line 2176) | def test_139_apply_eab_profile_disabled(self): method test_140_check_single_identifier_missing_type (line 2189) | def test_140_check_single_identifier_missing_type(self): method test_141_check_single_identifier_wrong_type (line 2201) | def test_141_check_single_identifier_wrong_type(self): method test_142_check_single_identifier_invalid_value (line 2215) | def test_142_check_single_identifier_invalid_value(self): method test_143_add_authorizations_to_db_success (line 2231) | def test_143_add_authorizations_to_db_success(self): method test_144_add_authorizations_to_db_malformed (line 2252) | def test_144_add_authorizations_to_db_malformed(self): method test_145_add_authorizations_to_db_db_error (line 2268) | def test_145_add_authorizations_to_db_db_error(self): method test_146_add_authorizations_to_db_sectigo_sim (line 2282) | def test_146_add_authorizations_to_db_sectigo_sim(self): method test_147_create_from_content_malformed_identifier (line 2305) | def test_147_create_from_content_malformed_identifier(self): method test_148_load_configuration_directory_url_prefix (line 2334) | def test_148_load_configuration_directory_url_prefix(self): method test_149_check_single_identifier_missing_value (line 2354) | def test_149_check_single_identifier_missing_value(self): FILE: test/test_pkcs7_soap_ca_handler.py class TestACMEHandler (line 19) | class TestACMEHandler(unittest.TestCase): method setUp (line 22) | def setUp(self): method test_001_default (line 39) | def test_001_default(self): method test_002_config_load (line 44) | def test_002_config_load(self, mock_load_cfg): method test_003_config_load (line 62) | def test_003_config_load(self, mock_load_cfg): method test_004_config_load (line 86) | def test_004_config_load(self, mock_load_cfg): method test_005_config_load (line 109) | def test_005_config_load(self, mock_load_cfg): method test_006_config_load (line 132) | def test_006_config_load(self, mock_load_cfg): method test_007_config_load (line 155) | def test_007_config_load(self, mock_load_cfg): method test_008_config_load (line 180) | def test_008_config_load(self, mock_load_cfg, mock_file): method test_009_config_load (line 207) | def test_009_config_load(self, mock_load_cfg, mock_file, mock_load): method test_010_config_load (line 232) | def test_010_config_load(self, mock_load_cfg, mock_file): method test_011_config_load (line 248) | def test_011_config_load(self, mock_load_cfg, mock_file): method test_012_config_load (line 275) | def test_012_config_load(self, mock_load_cfg, mock_file, mock_load): method test_013_config_load (line 302) | def test_013_config_load(self, mock_load_cfg, mock_file, mock_load): method test_014_config_load (line 334) | def test_014_config_load(self, mock_load_cfg, mock_file, mock_load): method test_015_config_load (line 371) | def test_015_config_load(self, mock_load_cfg, mock_file, mock_load): method test_016_config_load (line 411) | def test_016_config_load(self, mock_load_cfg, mock_file, mock_load): method test_017_config_load (line 451) | def test_017_config_load(self, mock_load_cfg, mock_file, mock_load): method test_018_config_load (line 489) | def test_018_config_load(self, mock_load_cfg, mock_file, mock_load): method test_019_config_load (line 530) | def test_019_config_load(self, mock_load_cfg, mock_file, mock_load): method test_020_enter (line 568) | def test_020_enter(self, mock_cfgload): method test_021_enter (line 574) | def test_021_enter(self, mock_cfgload): method test_022_exit (line 580) | def test_022_exit(self): method test_023_cert_decode (line 585) | def test_023_cert_decode(self, mock_der): method test_024_poll (line 592) | def test_024_poll(self): method test_025_revoke (line 599) | def test_025_revoke(self): method test_026_trigger (line 610) | def test_026_trigger(self): method test_027_soaprequest_build (line 614) | def test_027_soaprequest_build(self): method test_028_binary_read (line 636) | def test_028_binary_read(self): method test_029_binary_write (line 641) | def test_029_binary_write(self): method test_030_sign (line 645) | def test_030_sign(self): method test_031_sign (line 652) | def test_031_sign(self, mock_rsa): method test_032_sign (line 667) | def test_032_sign(self, mock_rsa): method test_033_certraw_get (line 678) | def test_033_certraw_get(self): method test_034_pkcs7_create (line 685) | def test_034_pkcs7_create(self): method test_035_soaprequest_send (line 707) | def test_035_soaprequest_send(self, mock_post): method test_036_soaprequest_send (line 720) | def test_036_soaprequest_send(self, mock_post, mock_xml_parse): method test_037_soaprequest_send (line 735) | def test_037_soaprequest_send(self, mock_post, mock_xml_parse): method test_038_soaprequest_send (line 751) | def test_038_soaprequest_send(self, mock_post, mock_xml_parse): method test_039_soaprequest_send (line 770) | def test_039_soaprequest_send(self, mock_post, mock_xml_parse): method test_040_get_certificates (line 797) | def test_040_get_certificates(self): method test_041_pkcs7_signing_config_verify (line 807) | def test_041_pkcs7_signing_config_verify(self): method test_042_pkcs7_signing_config_verify (line 815) | def test_042_pkcs7_signing_config_verify(self): method test_043_pkcs7_signing_config_verify (line 823) | def test_043_pkcs7_signing_config_verify(self): method test_044_pkcs7_signing_config_verify (line 835) | def test_044_pkcs7_signing_config_verify(self, mock_path): method test_045_pkcs7_signing_config_verify (line 849) | def test_045_pkcs7_signing_config_verify(self, mock_path): method test_046_pkcs7_signing_config_verify (line 863) | def test_046_pkcs7_signing_config_verify(self, mock_path): method test_047_signing_command_build (line 874) | def test_047_signing_command_build(self): method test_048_signing_command_build (line 881) | def test_048_signing_command_build(self): method test_049_signing_command_build (line 888) | def test_049_signing_command_build(self): method test_050_signing_command_build (line 895) | def test_050_signing_command_build(self): method test_051_signing_command_build (line 906) | def test_051_signing_command_build(self): method test_052_signing_command_build (line 925) | def test_052_signing_command_build(self): method test_053_signing_command_build (line 936) | def test_053_signing_command_build(self): method test_054_signing_command_build (line 948) | def test_054_signing_command_build(self): method test_055_pkcs7_sign_external (line 978) | def test_055_pkcs7_sign_external( method test_056_pkcs7_sign_external (line 1017) | def test_056_pkcs7_sign_external( method test_057_pkcs7_sign_external (line 1055) | def test_057_pkcs7_sign_external( method test_058_pkcs7_sign_external (line 1091) | def test_058_pkcs7_sign_external( method test_059_enroll (line 1132) | def test_059_enroll( method test_060_enroll (line 1174) | def test_060_enroll( method test_061_enroll (line 1217) | def test_061_enroll( method test_062_enroll (line 1262) | def test_062_enroll( method test_063_enroll (line 1307) | def test_063_enroll( FILE: test/test_renewalinfo.py class TestRenewalinfoConfig (line 14) | class TestRenewalinfoConfig(unittest.TestCase): method test_default_values (line 15) | def test_default_values(self): class TestRenewalinfoRepository (line 22) | class TestRenewalinfoRepository(unittest.TestCase): method setUp (line 23) | def setUp(self): method test_get_certificate_by_certid_success (line 28) | def test_get_certificate_by_certid_success(self): method test_get_certificate_by_certid_exception (line 33) | def test_get_certificate_by_certid_exception(self): method test_get_certificates_by_serial_success (line 39) | def test_get_certificates_by_serial_success(self): method test_get_certificates_by_serial_exception (line 44) | def test_get_certificates_by_serial_exception(self): method test_add_certificate (line 50) | def test_add_certificate(self): method test_get_housekeeping_param (line 54) | def test_get_housekeeping_param(self): method test_add_housekeeping_param (line 58) | def test_add_housekeeping_param(self): class TestRenewalinfo (line 63) | class TestRenewalinfo(unittest.TestCase): method setUp (line 64) | def setUp(self): method test_001_get_housekeeping_triggers_update (line 104) | def test_001_get_housekeeping_triggers_update(self): method test_002_get_returns_404 (line 122) | def test_002_get_returns_404(self): method test_003_get_returns_400_on_exception (line 130) | def test_003_get_returns_400_on_exception(self): method test_004_update_success (line 140) | def test_004_update_success(self): method test_005_update_failure (line 158) | def test_005_update_failure(self): method test_006_update_payload_missing (line 172) | def test_006_update_payload_missing(self): method test_007_lookup_certificate_by_renewalinfo_dot (line 185) | def test_007_lookup_certificate_by_renewalinfo_dot(self): method test_008_lookup_certificate_by_renewalinfo_nodot (line 195) | def test_008_lookup_certificate_by_renewalinfo_nodot(self): method test_009_generate_renewalinfo_window_force (line 203) | def test_009_generate_renewalinfo_window_force(self): method test_010_generate_renewalinfo_window_normal (line 210) | def test_010_generate_renewalinfo_window_normal(self): method test_011_generate_renewalinfo_window_empty (line 216) | def test_011_generate_renewalinfo_window_empty(self): method test_012_generate_renewalinfo_window_no_expire_uts (line 221) | def test_012_generate_renewalinfo_window_no_expire_uts(self): method test_013_extract_serial_and_aki_from_string_valid (line 241) | def test_013_extract_serial_and_aki_from_string_valid(self): method test_014_extract_serial_and_aki_from_string_invalid (line 247) | def test_014_extract_serial_and_aki_from_string_invalid(self): method test_015_load_configuration_all_valid (line 251) | def test_015_load_configuration_all_valid(self): method test_016_load_configuration_defaults (line 279) | def test_016_load_configuration_defaults(self): method test_017_load_configuration_renewal_force_error (line 303) | def test_017_load_configuration_renewal_force_error(self): method test_018_load_configuration_renewalthreshold_pctg_error (line 326) | def test_018_load_configuration_renewalthreshold_pctg_error(self): method test_019_load_configuration_retry_after_timeout_error (line 353) | def test_019_load_configuration_retry_after_timeout_error(self): method test_020_exit_does_nothing_and_returns_none (line 382) | def test_020_exit_does_nothing_and_returns_none(self): method test_021_context_manager_usage (line 388) | def test_021_context_manager_usage(self): method test_022_update_certificate_table_with_serial_and_aki_success (line 396) | def test_022_update_certificate_table_with_serial_and_aki_success(self): method test_023_update_certificate_table_with_serial_and_aki_db_error (line 430) | def test_023_update_certificate_table_with_serial_and_aki_db_error(self): method test_024_get_compat_success (line 450) | def test_024_get_compat_success(self): method test_025_get_compat_404 (line 464) | def test_025_get_compat_404(self): method test_026_get_compat_400 (line 476) | def test_026_get_compat_400(self): method test_027_update_compat_success (line 488) | def test_027_update_compat_success(self): method test_028_update_compat_failure (line 509) | def test_028_update_compat_failure(self): method test_029_update_compat_payload_missing (line 527) | def test_029_update_compat_payload_missing(self): method test_030_lookup_certificate_by_serial_and_aki_found (line 544) | def test_030_lookup_certificate_by_serial_and_aki_found(self): method test_031_lookup_certificate_by_serial_and_aki_leading_zero (line 556) | def test_031_lookup_certificate_by_serial_and_aki_leading_zero(self): method test_032_lookup_certificate_by_serial_and_aki_not_found (line 573) | def test_032_lookup_certificate_by_serial_and_aki_not_found(self): method test_033_lookup_certificate_by_serial_and_aki_empty_list (line 583) | def test_033_lookup_certificate_by_serial_and_aki_empty_list(self): method test_034_get_renewalinfo_data (line 589) | def test_034_get_renewalinfo_data(self): method test_009__load_ca_handler_success (line 608) | def test_009__load_ca_handler_success(self): method test_010__load_ca_handler_failure (line 620) | def test_010__load_ca_handler_failure(self): method test_011_get_with_cahandler_lookup (line 630) | def test_011_get_with_cahandler_lookup(self): FILE: test/test_signature.py class FakeDBStore (line 13) | class FakeDBStore(object): class TestACMEHandler (line 20) | class TestACMEHandler(unittest.TestCase): method setUp (line 25) | def setUp(self): method test_001_signature__jwk_load (line 39) | def test_001_signature__jwk_load(self): method test_002_signature_check (line 47) | def test_002_signature_check(self): method test_003_signature_check (line 55) | def test_003_signature_check(self, mock_jwk): method test_004_signature_check (line 65) | def test_004_signature_check(self, mock_jwk, mock_sig): method test_005_signature_check (line 71) | def test_005_signature_check(self): method test_006_signature_check (line 78) | def test_006_signature_check(self): method test_007_signature_check (line 88) | def test_007_signature_check(self, mock_sig, mock_dbstore_class): method test_008_signature_check (line 106) | def test_008_signature_check(self, mock_sig): method test_009_signature__jwk_load (line 115) | def test_009_signature__jwk_load(self, mock_dbstore_class): method test_010_signature_eab_check (line 135) | def test_010_signature_eab_check(self, mock_sigchk): method test_011_signature_eab_check (line 145) | def test_011_signature_eab_check(self, mock_sigchk): method test_012_signature_eab_check (line 153) | def test_012_signature_eab_check(self, mock_sigchk): method test_013_signature_eab_check (line 161) | def test_013_signature_eab_check(self, mock_sigchk): method test_014_signature_eab_check (line 172) | def test_014_signature_eab_check(self, mock_sigchk): method test_015_signature_eab_check (line 183) | def test_015_signature_eab_check(self, mock_sigchk): method test_016__init (line 194) | def test_016__init(self, mock_load_cfg): method test_017__init (line 203) | def test_017__init(self, mock_load_cfg): method test_016__init_empty (line 212) | def test_016__init_empty(self, mock_load_cfg): method test_018_signature_check (line 220) | def test_018_signature_check(self): method test_019_signature_check (line 227) | def test_019_signature_check(self): method test_020_signature_check (line 235) | def test_020_signature_check(self, mock_jwk): method test_021_signature_check (line 245) | def test_021_signature_check(self, mock_jwk, mock_sig): method test_022_signature_check (line 253) | def test_022_signature_check(self, mock_jwk, mock_sig): method test_023_cli_check_no_content (line 259) | def test_023_cli_check_no_content(self): method test_024_cli_check_no_aname (line 266) | def test_024_cli_check_no_aname(self): method test_025_cli_check_pubkey_none (line 274) | def test_025_cli_check_pubkey_none(self, mock_jwk): method test_026_cli_check_success (line 284) | def test_026_cli_check_success(self, mock_jwk, mock_sig): method test_027_check_no_content (line 290) | def test_027_check_no_content(self): method test_028_check_pubkey_none (line 298) | def test_028_check_pubkey_none(self, mock_jwk): method test_029_check_success (line 308) | def test_029_check_success(self, mock_jwk, mock_sig): method test_030_check_emb_key_no_protected (line 314) | def test_030_check_emb_key_no_protected(self): method test_031_check_emb_key_no_jwk (line 321) | def test_031_check_emb_key_no_jwk(self): method test_032_check_emb_key_success (line 330) | def test_032_check_emb_key_success(self, mock_sig): method test_033_check_no_aname_no_emb_key (line 338) | def test_033_check_no_aname_no_emb_key(self): method test_034_eab_check_no_content (line 345) | def test_034_eab_check_no_content(self): method test_035_eab_check_no_mac_key (line 352) | def test_035_eab_check_no_mac_key(self): method test_036_eab_check_success (line 360) | def test_036_eab_check_success(self, mock_sig): method test_037_eab_check_error (line 366) | def test_037_eab_check_error(self, mock_sig): FILE: test/test_trigger.py class FakeDBStore (line 15) | class FakeDBStore(object): class TestACMEHandler (line 22) | class TestACMEHandler(unittest.TestCase): method setUp (line 27) | def setUp(self): method test_001_trigger__certname_lookup (line 46) | def test_001_trigger__certname_lookup( method test_002_trigger__certname_lookup (line 60) | def test_002_trigger__certname_lookup( method test_003_trigger__certname_lookup (line 74) | def test_003_trigger__certname_lookup( method test_004_trigger__certname_lookup (line 89) | def test_004_trigger__certname_lookup( method test_005_trigger__certname_lookup (line 105) | def test_005_trigger__certname_lookup( method test_006_trigger_parse (line 122) | def test_006_trigger_parse(self): method test_007_trigger_parse (line 132) | def test_007_trigger_parse(self): method test_008_trigger_parse (line 142) | def test_008_trigger_parse(self): method test_009_trigger_parse (line 153) | def test_009_trigger_parse(self, mock_process): method test_010_trigger_parse (line 165) | def test_010_trigger_parse(self, mock_process): method test_011_trigger__payload_process (line 176) | def test_011_trigger__payload_process(self): method test_012_trigger__payload_process (line 188) | def test_012_trigger__payload_process(self): method test_013_trigger__payload_process (line 198) | def test_013_trigger__payload_process(self): method test_014_trigger__payload_process (line 208) | def test_014_trigger__payload_process(self): method test_015_trigger__payload_process (line 222) | def test_015_trigger__payload_process( method test_016_trigger__payload_process (line 244) | def test_016_trigger__payload_process( method test_017_trigger__payload_process (line 264) | def test_017_trigger__payload_process( method test_018_trigger__payload_process (line 287) | def test_018_trigger__payload_process( method test_019_trigger__payload_process (line 310) | def test_019_trigger__payload_process( method test_020_trigger__payload_process (line 333) | def test_020_trigger__payload_process( method test_021_trigger__payload_process (line 366) | def test_021_trigger__payload_process( method test_022_config_load (line 395) | def test_022_config_load(self, mock_load_cfg): method test_023__enter__ (line 405) | def test_023__enter__(self, mock_cfg): method test_024_config_load (line 412) | def test_024_config_load(self, mock_load_cfg): method test_025_config_load (line 425) | def test_025_config_load(self, mock_load_cfg): method test_026_config_load (line 439) | def test_026_config_load(self, mock_load_cfg, mock_imp): method test_027_config_load (line 450) | def test_027_config_load(self, mock_load_cfg, mock_imp): method test_028_config_load (line 460) | def test_028_config_load(self, mock_load_cfg): method test_029_config_load (line 470) | def test_029_config_load(self, mock_load_cfg): method test_030_config_load (line 481) | def test_030_config_load(self, mock_load_cfg, mock_cahandler_load): method test_031_config_load (line 496) | def test_031_config_load(self, mock_load_cfg, mock_cahandler_load): FILE: test/test_vault_handler.py class TestCAhandler (line 15) | class TestCAhandler(unittest.TestCase): method setUp (line 16) | def setUp(self): method test_001_trigger_not_implemented (line 24) | def test_001_trigger_not_implemented(self): method test_002_poll_not_implemented (line 30) | def test_002_poll_not_implemented(self): method test_003_config_check_missing_params (line 38) | def test_003_config_check_missing_params(self): method test_004_config_check_all_params_present (line 50) | def test_004_config_check_all_params_present(self): method test_005__enter__ (line 59) | def test_005__enter__(self, mock_cfg): method test_006__enter__ (line 66) | def test_006__enter__(self, mock_cfg): method test_007__api_post (line 74) | def test_007__api_post(self, mock_req): method test_008__api_post (line 85) | def test_008__api_post(self, mock_req): method test_009__api_post (line 102) | def test_009__api_post(self, mock_req): method test_010__api_post (line 111) | def test_010__api_post(self, mock_req): method test_011__api_get (line 125) | def test_011__api_get(self, mock_req): method test_012__api_get (line 136) | def test_012__api_get(self, mock_req): method test_013__api_get (line 153) | def test_013__api_get(self, mock_req): method test_014__api_put (line 165) | def test_014__api_put(self, mock_req): method test_015__api_put (line 176) | def test_015__api_put(self, mock_req): method test_016__api_put (line 193) | def test_016__api_put(self, mock_req): method test_017__api_put (line 202) | def test_017__api_put(self, mock_req): method test_018_config_load_sets_attributes (line 235) | def test_018_config_load_sets_attributes( method test_019_config_load_sets_attributes (line 297) | def test_019_config_load_sets_attributes( method test_020_enroll_success (line 349) | def test_020_enroll_success( method test_021_enroll_success (line 403) | def test_021_enroll_success( method test_022_enroll_success (line 454) | def test_022_enroll_success( method test_023_enroll_config_error (line 491) | def test_023_enroll_config_error(self, mock_config_check): method test_024_enroll_csr_error (line 508) | def test_024_enroll_csr_error(self, mock_csr_check, mock_config_check): method test_025_enroll_api_error (line 532) | def test_025_enroll_api_error( method test_026_revoke_success (line 563) | def test_026_revoke_success(self, mock_cert_serial_get, mock_eab, mock... method test_027_revoke_success (line 584) | def test_027_revoke_success(self, mock_cert_serial_get, mock_eab, mock... method test_028_revoke_success (line 606) | def test_028_revoke_success(self, mock_cert_serial_get, mock_eab, mock... method test_029_revoke_api_error (line 622) | def test_029_revoke_api_error(self, mock_cert_serial_get): method test_030_revoke_api_error (line 634) | def test_030_revoke_api_error(self, mock_cert_serial_get): method test_031_revoke_no_serial (line 643) | def test_031_revoke_no_serial(self, mock_cert_serial_get): method test_032_handler_check (line 652) | def test_032_handler_check(self, mock_config_check): method test_033_csr_check (line 657) | def test_033_csr_check(self, mock_hic): FILE: test/test_wsgi_acme2certifier.py class FakeDBStore (line 21) | class FakeDBStore(object): class TestACMEHandler (line 28) | class TestACMEHandler(unittest.TestCase): method setUp (line 32) | def setUp(self): method tearDown (line 86) | def tearDown(self): method test_001_default (line 90) | def test_001_default(self): method test_002_create_header (line 94) | def test_002_create_header(self): method test_003_create_header (line 100) | def test_003_create_header(self): method test_004_create_header (line 106) | def test_004_create_header(self): method test_005_create_header (line 112) | def test_005_create_header(self): method test_006_create_header (line 118) | def test_006_create_header(self): method test_007_create_header (line 124) | def test_007_create_header(self): method test_008_create_header (line 130) | def test_008_create_header(self): method test_009_create_header (line 138) | def test_009_create_header(self): method test_010_get_request_body (line 144) | def test_010_get_request_body(self): method test_011_get_request_body (line 149) | def test_011_get_request_body(self): method test_012_get_request_body (line 154) | def test_012_get_request_body(self): method test_013_get_request_body (line 159) | def test_013_get_request_body(self): method test_014_get_request_body (line 164) | def test_014_get_request_body(self): method test_015_get_request_body (line 169) | def test_015_get_request_body(self): method test_016_get_request_body (line 174) | def test_016_get_request_body(self): method test_017_acct (line 183) | def test_017_acct(self, mock_parse, mock_body, mock_url, mock_header): method test_018_acmechallenge_serve (line 194) | def test_018_acmechallenge_serve(self, mock_lookup): method test_019_acmechallenge_serve (line 201) | def test_019_acmechallenge_serve(self, mock_lookup): method test_020_authz (line 209) | def test_020_authz(self, mock_get, mock_post): method test_021_authz (line 224) | def test_021_authz(self, mock_get, mock_post, mock_header): method test_022_authz (line 241) | def test_022_authz(self, mock_get, mock_post, mock_header): method test_023_authz (line 258) | def test_023_authz(self, mock_get, mock_post, mock_header): method test_024_authz (line 276) | def test_024_authz(self, mock_get, mock_post, mock_header): method test_025_handle_exception_keyboard_interrupt (line 292) | def test_025_handle_exception_keyboard_interrupt(self, mock_excepthook): method test_026_handle_exception_keyboard_interrupt_subclass (line 306) | def test_026_handle_exception_keyboard_interrupt_subclass(self, mock_e... method test_027_handle_exception_regular_exception (line 324) | def test_027_handle_exception_regular_exception(self, mock_excepthook,... method test_028_handle_exception_runtime_error (line 343) | def test_028_handle_exception_runtime_error(self, mock_excepthook, moc... method test_029_handle_exception_system_exit (line 359) | def test_029_handle_exception_system_exit(self, mock_excepthook, mock_... method test_030_handle_exception_exc_info_tuple_format (line 376) | def test_030_handle_exception_exc_info_tuple_format( method test_031_handle_exception_issubclass_check_various_types (line 401) | def test_031_handle_exception_issubclass_check_various_types(self): method test_032_newaccount (line 441) | def test_032_newaccount(self, mock_new, mock_body, mock_url, mock_head... method test_033_newaccount (line 459) | def test_033_newaccount(self, mock_new, mock_body, mock_url, mock_head... method test_034_directory (line 482) | def test_034_directory(self, mock_get, mock_body, mock_url, mock_header): method test_035_directory (line 498) | def test_035_directory(self, mock_get, mock_body, mock_url, mock_header): method test_036_cert (line 516) | def test_036_cert(self, mock_get, mock_post, mock_url, mock_header, mo... method test_037_cert (line 542) | def test_037_cert(self, mock_get, mock_post, mock_url, mock_header, mo... method test_038_cert (line 563) | def test_038_cert(self, mock_get, mock_post, mock_url, mock_header, mo... method test_039_chall (line 584) | def test_039_chall(self, mock_get, mock_post, mock_url, mock_header, m... method test_040_chall (line 610) | def test_040_chall(self, mock_get, mock_post, mock_url, mock_header, m... method test_041_chall (line 631) | def test_041_chall(self, mock_get, mock_post, mock_url, mock_header, m... method test_042_order (line 651) | def test_042_order(self, mock_post, mock_url, mock_header, mock_body): method test_043_order (line 670) | def test_043_order(self, mock_post, mock_url, mock_header, mock_body): method test_044_nnonce (line 693) | def test_044_nnonce(self, mock_gen, mock_header, mock_body): method test_045_nnonce (line 708) | def test_045_nnonce(self, mock_gen): method test_046_nnonce (line 720) | def test_046_nnonce(self, mock_gen): method test_047_order (line 740) | def test_047_order(self, mock_post, mock_url, mock_header, mock_body): method test_048_order (line 759) | def test_048_order(self, mock_post, mock_url, mock_header, mock_body): method test_049_revokecert (line 783) | def test_049_revokecert(self, mock_post, mock_url, mock_header, mock_b... method test_050_revokecert (line 802) | def test_050_revokecert(self, mock_post, mock_url, mock_header, mock_b... method test_051_revokecert (line 821) | def test_051_revokecert(self, mock_post, mock_url, mock_header, mock_b... method test_052_trigger (line 845) | def test_052_trigger(self, mock_post, mock_url, mock_header, mock_body): method test_053_trigger (line 864) | def test_053_trigger(self, mock_post, mock_url, mock_header, mock_body): method test_054_trigger (line 883) | def test_054_trigger(self, mock_post, mock_url, mock_header, mock_body): method test_055_notfound (line 903) | def test_055_notfound(self): method test_056_application (line 916) | def test_056_application(self): method test_057_application (line 937) | def test_057_application(self, mock_directory_get, mock_get_db_version): method test_058_application (line 951) | def test_058_application(self): method test_059_application (line 965) | def test_059_application(self): method test_060_application (line 979) | def test_060_application(self): method test_061_housekeeping (line 997) | def test_061_housekeeping(self, mock_post, mock_header, mock_body): method test_062_housekeeping (line 1014) | def test_062_housekeeping(self, mock_post, mock_header, mock_body): method test_063_housekeeping (line 1036) | def test_063_housekeeping(self, mock_post, mock_header, mock_body): method test_064_renewalinfo (line 1055) | def test_064_renewalinfo( method test_065_renewalinfo (line 1083) | def test_065_renewalinfo( method test_066_renewalinfo (line 1106) | def test_066_renewalinfo( method test_067_renewalinfot (line 1129) | def test_067_renewalinfot( FILE: test/test_wsgi_handler.py function dict_from_row (line 17) | def dict_from_row(row): function _cleanup (line 22) | def _cleanup(dir_path): class TestACMEHandler (line 32) | class TestACMEHandler(unittest.TestCase): method setUp (line 35) | def setUp(self): method tearDown (line 51) | def tearDown(self): method test_001_default (line 55) | def test_001_default(self): method test_002_nonce_add (line 59) | def test_002_nonce_add(self): method test_003_nonce_add_2 (line 63) | def test_003_nonce_add_2(self): method test_004_nonce_check_1 (line 68) | def test_004_nonce_check_1(self): method test_005_nonce_check_2 (line 73) | def test_005_nonce_check_2(self): method test_006_nonce_check_3 (line 79) | def test_006_nonce_check_3(self): method test_007_nonce_delete (line 83) | def test_007_nonce_delete(self): method test_008_nonce_delete_check (line 88) | def test_008_nonce_delete_check(self): method test_009_accout_add (line 92) | def test_009_accout_add(self): method test_010_accout_add (line 102) | def test_010_accout_add(self): method test_011_accout_add (line 113) | def test_011_accout_add(self): method test_012_accout_add (line 130) | def test_012_accout_add(self): method test_013_accout_add (line 154) | def test_013_accout_add(self): method test_014_accout_add (line 171) | def test_014_accout_add(self): method test_015_accout_search_alg (line 189) | def test_015_accout_search_alg(self): method test_016_accout_search_alg (line 200) | def test_016_accout_search_alg(self): method test_017_accout_search_jwk (line 213) | def test_017_accout_search_jwk(self): method test_018_accout_search_jwk (line 227) | def test_018_accout_search_jwk(self): method test_019_accout_search_contact (line 245) | def test_019_accout_search_contact(self): method test_020_accout_search_contact (line 263) | def test_020_accout_search_contact(self): method test_021_accout_search_eab (line 283) | def test_021_accout_search_eab(self): method test_022_accout_search_exponent (line 303) | def test_022_accout_search_exponent(self): method test_023_jkw_load (line 321) | def test_023_jkw_load(self): method test_024_accout_search_inactive (line 342) | def test_024_accout_search_inactive(self): method test_025_accout_search_inactive (line 357) | def test_025_accout_search_inactive(self): method test_026_jkw_load (line 370) | def test_026_jkw_load(self): method test_027_account_delete (line 374) | def test_027_account_delete(self): method test_028_accout_search_failure (line 393) | def test_028_accout_search_failure(self, id_check): method test_029_account_delete (line 412) | def test_029_account_delete(self): method test_030_account_lookup (line 417) | def test_030_account_lookup(self, mock_datestr): method test_031_account_lookup (line 450) | def test_031_account_lookup(self, mock_datestr): method test_032_account_lookup (line 481) | def test_032_account_lookup(self): method test_033_account_lookup (line 499) | def test_033_account_lookup(self): method test_034_order_add (line 522) | def test_034_order_add(self): method test_035_order_add (line 540) | def test_035_order_add(self): method test_036_order_add (line 575) | def test_036_order_add(self): method test_037_order_lookup (line 586) | def test_037_order_lookup(self): method test_038_order_lookup (line 616) | def test_038_order_lookup(self): method test_039_order_lookup (line 637) | def test_039_order_lookup(self): method test_040_order_lookup (line 641) | def test_040_order_lookup(self): method test_041_authorization_add (line 682) | def test_041_authorization_add(self): method test_042_authorization_add (line 687) | def test_042_authorization_add(self): method test_043_authorization_update (line 694) | def test_043_authorization_update(self): method test_044_authorization_update (line 716) | def test_044_authorization_update(self): method test_045_authorization_update (line 744) | def test_045_authorization_update(self): method test_046_authorization_update (line 772) | def test_046_authorization_update(self): method test_047_authorization_update (line 792) | def test_047_authorization_update(self): method test_048_authorization_search (line 832) | def test_048_authorization_search(self): method test_049_authorization_search (line 860) | def test_049_authorization_search(self): method test_050_authorization_invalid (line 889) | def test_050_authorization_invalid(self, id_check): method test_051_authorization_lookup (line 920) | def test_051_authorization_lookup(self): method test_052_authorization_lookup (line 944) | def test_052_authorization_lookup(self): method test_053_authorization_lookup (line 970) | def test_053_authorization_lookup(self): method test_054_authorization_lookup (line 974) | def test_054_authorization_lookup(self): method test_055_authorization_lookup (line 978) | def test_055_authorization_lookup(self): method test_056_authorization_lookup_exc (line 1011) | def test_056_authorization_lookup_exc(self, mock_authz): method test_057_challenge_add (line 1021) | def test_057_challenge_add(self): method test_058_challenge_add (line 1049) | def test_058_challenge_add(self): method test_059_challenge_add (line 1085) | def test_059_challenge_add(self): method test_060_challenge_search (line 1096) | def test_060_challenge_search(self): method test_061_challenge_search (line 1125) | def test_061_challenge_search(self): method test_062_challenge_search_invalid (line 1130) | def test_062_challenge_search_invalid(self, id_check): method test_063_challenge_lookup (line 1167) | def test_063_challenge_lookup(self): method test_064_challenge_lookup (line 1199) | def test_064_challenge_lookup(self): method test_065_challenge_lookup (line 1231) | def test_065_challenge_lookup(self): method test_066_challenge_lookup (line 1235) | def test_066_challenge_lookup(self): method test_067_challenge_lookup (line 1239) | def test_067_challenge_lookup(self): method test_068_challenge_update (line 1285) | def test_068_challenge_update(self): method test_069_challenge_update (line 1315) | def test_069_challenge_update(self): method test_070_challenge_update (line 1345) | def test_070_challenge_update(self): method test_071_challenge_update (line 1375) | def test_071_challenge_update(self): method test_072_order_search (line 1409) | def test_072_order_search(self): method test_073_order_search (line 1413) | def test_073_order_search(self): method test_074_order_search_invalid (line 1435) | def test_074_order_search_invalid(self, id_check): method test_075_certificate_add (line 1462) | def test_075_certificate_add(self): method test_076_certificate_add (line 1487) | def test_076_certificate_add(self): method test_077_certificate_add (line 1519) | def test_077_certificate_add(self): method test_078_certificate_add (line 1559) | def test_078_certificate_add(self): method test_079_certificate_add (line 1591) | def test_079_certificate_add(self): method test_080_certificate_add (line 1625) | def test_080_certificate_add(self): method test_081_certificate_lookup (line 1655) | def test_081_certificate_lookup(self): method test_082_certificate_lookup (line 1697) | def test_082_certificate_lookup(self): method test_083_certificate_lookup (line 1701) | def test_083_certificate_lookup(self): method test_084_certificate_lookup (line 1735) | def test_084_certificate_lookup(self): method test_085_certificate_search_invalid (line 1767) | def test_085_certificate_search_invalid(self): method test_086_certificate_account_check (line 1778) | def test_086_certificate_account_check(self): method test_087_certificate_account_check (line 1808) | def test_087_certificate_account_check(self): method test_088_certificate_account_check (line 1812) | def test_088_certificate_account_check(self): method test_089_certificate_account_check (line 1818) | def test_089_certificate_account_check(self, mock_certlookup, mock_ord... method test_090_certificate_account_check (line 1826) | def test_090_certificate_account_check(self, mock_certlookup, mock_ord... method test_091_certificate_account_check (line 1834) | def test_091_certificate_account_check(self, mock_certlookup, mock_ord... method test_092_certificate_account_check (line 1844) | def test_092_certificate_account_check(self, mock_certlookup, mock_ord... method test_093_certificate_account_check (line 1854) | def test_093_certificate_account_check(self, mock_certlookup, mock_ord... method test_094_initialize (line 1860) | def test_094_initialize(self): method test_095_account_update (line 1865) | def test_095_account_update(self, mock_datestr): method test_096_account_update (line 1902) | def test_096_account_update(self, mock_datestr): method test_097_account_update (line 1934) | def test_097_account_update(self, mock_datestr): method test_098_account_update (line 1966) | def test_098_account_update(self, mock_datestr): method test_099_account_update (line 1998) | def test_099_account_update(self, mock_datestr): method test_100_account_update (line 2035) | def test_100_account_update(self): method test_101_accountlist_get (line 2045) | def test_101_accountlist_get(self): method test_102_authorizations_expired_search_invalid (line 2153) | def test_102_authorizations_expired_search_invalid(self): method test_103_authorizations_expired_search (line 2166) | def test_103_authorizations_expired_search(self): method test_104_certificate_delete (line 2199) | def test_104_certificate_delete(self): method test_105_certificate_delete (line 2230) | def test_105_certificate_delete(self): method test_105_certificatelist_get (line 2266) | def test_105_certificatelist_get(self): method test_106_dbversion (line 2342) | def test_106_dbversion(self): method test_107_dbversion (line 2350) | def test_107_dbversion(self, mock_open, mock_close): method test_108_certificates_search_failed (line 2360) | def test_108_certificates_search_failed(self): method test_109_certificates_search (line 2374) | def test_109_certificates_search(self): method test_110_certificates_search (line 2438) | def test_110_certificates_search(self): method test_111_certificates_search (line 2461) | def test_111_certificates_search(self): method test_112_challenge_search (line 2495) | def test_112_challenge_search(self): method test_113_challenge_search (line 2547) | def test_113_challenge_search(self): method test_114_challenges_search_invalid (line 2576) | def test_114_challenges_search_invalid(self): method test_115_db_update_orders (line 2587) | def test_115_db_update_orders(self): method test_116_db_update_orders (line 2600) | def test_116_db_update_orders(self): method test_117_db_update_authorization (line 2611) | def test_117_db_update_authorization(self): method test_118_db_update (line 2624) | def test_118_db_update(self, mock_open, mock_close): method test_119_db_update (line 2641) | def test_119_db_update(self, mock_open, mock_close): method test_120_db_update (line 2663) | def test_120_db_update(self, mock_open, mock_close): method test_121_db_update (line 2685) | def test_121_db_update(self, mock_open, mock_close): method test_122_db_update (line 2712) | def test_122_db_update(self, mock_open, mock_close): method test_123_db_update (line 2740) | def test_123_db_update(self, mock_open, mock_close): method test_124_order_update (line 2767) | def test_124_order_update(self): method test_125_order_update (line 2795) | def test_125_order_update(self): method test_126_orders_invalid_search_invalid (line 2836) | def test_126_orders_invalid_search_invalid(self): method test_127__init__ (line 2849) | def test_127__init__(self, mock_cfg, mock_create): method test_128__init__ (line 2859) | def test_128__init__(self, mock_cfg, mock_create): method test_129__init__ (line 2870) | def test_129__init__(self, mock_cfg, mock_create): method test_130__init__ (line 2881) | def test_130__init__(self, mock_cfg, mock_create): method test_131_cahandler_add (line 2890) | def test_131_cahandler_add(self): method test_132_cahandler_add (line 2897) | def test_132_cahandler_add(self): method test_133_cahandler_lookup (line 2904) | def test_133_cahandler_lookup(self): method test_134_cahandler_search (line 2916) | def test_134_cahandler_search(self): method test_135_cahandler_search (line 2926) | def test_135_cahandler_search(self, mock_open, mock_close, idchk): method test_136_cahandler_search_invalid (line 2942) | def test_136_cahandler_search_invalid(self, id_check): method test_137_hkparameter_add (line 2953) | def test_137_hkparameter_add(self): method test_138_hkparameter_add (line 2960) | def test_138_hkparameter_add(self): method test_139_hkparameter_get (line 2967) | def test_139_hkparameter_get(self): method test_140_cliaccount_add (line 2973) | def test_140_cliaccount_add(self): method test_141_cliaccount_add (line 3015) | def test_141_cliaccount_add(self): method test_142_cliaccount_add (line 3046) | def test_142_cliaccount_add(self): method test_143_cliaccount_delete (line 3077) | def test_143_cliaccount_delete(self): method test_144_cliaccount_delete (line 3091) | def test_144_cliaccount_delete(self): method test_145_cli_jwk_load (line 3120) | def test_145_cli_jwk_load(self): method test_146_cli_jwk_load (line 3133) | def test_146_cli_jwk_load(self): method test_147_cli_permissions_get (line 3146) | def test_147_cli_permissions_get(self): method test_148_cli_permissions_get (line 3162) | def test_148_cli_permissions_get(self): method test_149__cliaccount_search (line 3175) | def test_149__cliaccount_search(self): method test_150__cliaccount_search (line 3202) | def test_150__cliaccount_search(self, mock_open, mock_close, idchk): method test_151__cliaccount_search (line 3218) | def test_151__cliaccount_search(self, mock_open, mock_close, idchk): method test_152_status_search_invalid (line 3230) | def test_152_status_search_invalid(self): method test_153_table_check (line 3242) | def test_153_table_check(self): method test_154_identifier_check (line 3247) | def test_154_identifier_check(self): method test_155_identifier_check (line 3259) | def test_155_identifier_check(self, mock_tg): method test_156_identifier_check (line 3265) | def test_156_identifier_check(self, mock_tg): FILE: test/test_xca_ca_handler.py function _prepare (line 27) | def _prepare(dir_path): function _cleanup (line 37) | def _cleanup(dir_path): function return_input (line 44) | def return_input(*args, **kwargs): class TestACMEHandler (line 50) | class TestACMEHandler(unittest.TestCase): method setUp (line 53) | def setUp(self): method tearDown (line 64) | def tearDown(self): method test_001_default (line 68) | def test_001_default(self): method test_002_check_config (line 72) | def test_002_check_config(self): method test_003_check_config (line 78) | def test_003_check_config(self): method test_004_check_config (line 84) | def test_004_check_config(self, mock_file): method test_005_check_config (line 93) | def test_005_check_config(self, mock_file): method test_006_csr_search (line 101) | def test_006_csr_search(self, mock_check): method test_007_csr_search (line 108) | def test_007_csr_search(self, mock_check): method test_008_csr_search (line 115) | def test_008_csr_search(self, mock_check): method test_009_ca_load (line 127) | def test_009_ca_load(self, mock_key, mock_cert): method test_010_ca_load (line 135) | def test_010_ca_load(self, mock_key, mock_cert): method test_011_ca_load (line 143) | def test_011_ca_load(self, mock_key, mock_cert): method test_012_ca_load (line 151) | def test_012_ca_load(self, mock_key, mock_cert): method test_013_ca_cert_load (line 157) | def test_013_ca_cert_load(self): method test_014_ca_cert_load (line 163) | def test_014_ca_cert_load(self): method test_015_ca_key_load (line 169) | def test_015_ca_key_load(self): method test_016_ca_key_load (line 176) | def test_016_ca_key_load(self): method test_017_ca_key_load (line 183) | def test_017_ca_key_load(self): method test_018_ca_key_load (line 191) | def test_018_ca_key_load(self, mock_key): method test_019_ca_cert_load (line 205) | def test_019_ca_cert_load(self, mock_certload): method test_020_csr_insert (line 217) | def test_020_csr_insert(self): method test_021_csr_insert (line 224) | def test_021_csr_insert(self): method test_022_csr_insert (line 231) | def test_022_csr_insert(self): method test_023_csr_insert (line 238) | def test_023_csr_insert(self): method test_024_csr_insert (line 245) | def test_024_csr_insert(self): method test_025_csr_insert (line 252) | def test_025_csr_insert(self): method test_026_csr_insert (line 259) | def test_026_csr_insert(self): method test_027_item_insert (line 266) | def test_027_item_insert(self): method test_028_item_insert (line 273) | def test_028_item_insert(self): method test_029_item_insert (line 286) | def test_029_item_insert(self): method test_030_item_insert (line 293) | def test_030_item_insert(self): method test_031_item_insert (line 300) | def test_031_item_insert(self): method test_032_item_insert (line 307) | def test_032_item_insert(self): method test_033_item_insert (line 314) | def test_033_item_insert(self): method test_034_item_insert (line 321) | def test_034_item_insert(self): method test_035_item_insert (line 334) | def test_035_item_insert(self): method test_036_csr_import (line 348) | def test_036_csr_import(self, mock_search): method test_037_csr_import (line 358) | def test_037_csr_import(self, mock_search, mock_csr_insert, mock_item_... method test_038_cert_insert (line 368) | def test_038_cert_insert(self): method test_039_cert_insert (line 373) | def test_039_cert_insert(self): method test_040_cert_insert (line 385) | def test_040_cert_insert(self): method test_041_cert_insert (line 397) | def test_041_cert_insert(self): method test_042_cert_insert (line 409) | def test_042_cert_insert(self): method test_043_cert_insert (line 421) | def test_043_cert_insert(self): method test_044_cert_insert (line 433) | def test_044_cert_insert(self): method test_045_cert_insert (line 445) | def test_045_cert_insert(self): method test_046_cert_insert (line 457) | def test_046_cert_insert(self): method test_047_cert_insert (line 470) | def test_047_cert_insert(self): method test_048_cert_insert (line 483) | def test_048_cert_insert(self): method test_049_cert_insert (line 496) | def test_049_cert_insert(self): method test_050_cert_insert (line 509) | def test_050_cert_insert(self): method test_051_cert_insert (line 524) | def test_051_cert_insert(self, mock_open, mock_close): method test_052_pemcertchain_generate (line 543) | def test_052_pemcertchain_generate(self): method test_053_pemcertchain_generate (line 550) | def test_053_pemcertchain_generate(self): method test_054_pemcertchain_generate (line 559) | def test_054_pemcertchain_generate(self): method test_055_pemcertchain_generate (line 571) | def test_055_pemcertchain_generate(self, mock_cert, mock_search): method test_056_pemcertchain_generate (line 585) | def test_056_pemcertchain_generate(self, mock_cert, mock_search): method test_057_pemcertchain_generate (line 600) | def test_057_pemcertchain_generate(self, mock_load, mock_search, mock_... method test_058_pemcertchain_generate (line 617) | def test_058_pemcertchain_generate(self, mock_load, mock_search, mock_... method test_059_requestname_get (line 632) | def test_059_requestname_get(self, mock_cn): method test_060_requestname_get (line 639) | def test_060_requestname_get(self, mock_cn, mock_san): method test_061_requestname_get (line 652) | def test_061_requestname_get(self, mock_cn, mock_san): method test_062_requestname_get (line 660) | def test_062_requestname_get(self, mock_cn, mock_san): method test_063_requestname_get (line 668) | def test_063_requestname_get(self, mock_cn, mock_san): method test_064_requestname_get (line 676) | def test_064_requestname_get(self, mock_cn, mock_san): method test_065_cert_insert (line 687) | def test_065_cert_insert(self): method test_066_cert_insert (line 692) | def test_066_cert_insert(self): method test_067_cert_insert (line 702) | def test_067_cert_insert(self): method test_068_cert_insert (line 707) | def test_068_cert_insert(self): method test_069_cert_insert (line 717) | def test_069_cert_insert(self): method test_070_cert_insert (line 722) | def test_070_cert_insert(self): method test_071_cert_insert (line 732) | def test_071_cert_insert(self): method test_072_cert_insert (line 743) | def test_072_cert_insert(self): method test_073_rev_insert (line 756) | def test_073_rev_insert(self, mock_open, mock_close): method test_074_revoke (line 773) | def test_074_revoke(self, mock_date): method test_075_revoke (line 784) | def test_075_revoke(self, mock_date, mock_ca, mock_serial): method test_076_revoke (line 802) | def test_076_revoke(self, mock_date, mock_ca, mock_serial): method test_077_revoke (line 822) | def test_077_revoke( method test_078_revoke (line 846) | def test_078_revoke( method test_079_revoke (line 871) | def test_079_revoke( method test_080_revoke (line 892) | def test_080_revoke( method test_081_cert_search (line 909) | def test_081_cert_search(self, mock_check): method test_082_cert_search (line 925) | def test_082_cert_search(self, mock_check): method test_083_cert_search (line 932) | def test_083_cert_search(self, mock_check): method test_084_cert_search (line 939) | def test_084_cert_search(self, mock_check): method test_085_config_load (line 960) | def test_085_config_load(self, mock_load_cfg): method test_086_config_load (line 974) | def test_086_config_load(self, mock_load_cfg): method test_087_config_load (line 983) | def test_087_config_load(self, mock_load_cfg): method test_088_config_load (line 992) | def test_088_config_load(self, mock_load_cfg): method test_089_config_load (line 1001) | def test_089_config_load(self, mock_load_cfg): method test_090_config_load (line 1010) | def test_090_config_load(self, mock_load_cfg): method test_091_config_load (line 1020) | def test_091_config_load(self, mock_load_cfg): method test_092_config_load (line 1030) | def test_092_config_load(self, mock_load_cfg): method test_093_config_load (line 1045) | def test_093_config_load(self, mock_load_cfg): method test_094_stream_split (line 1058) | def test_094_stream_split(self): method test_095_stream_split (line 1066) | def test_095_stream_split(self): method test_096_stream_split (line 1071) | def test_096_stream_split(self): method test_097_stream_split (line 1076) | def test_097_stream_split(self): method test_098__utf_stream_parse (line 1083) | def test_098__utf_stream_parse(self): method test_099__utf_stream_parse (line 1088) | def test_099__utf_stream_parse(self): method test_100__utf_stream_parse (line 1096) | def test_100__utf_stream_parse(self): method test_101__utf_stream_parse (line 1103) | def test_101__utf_stream_parse(self): method test_102__utf_stream_parse (line 1110) | def test_102__utf_stream_parse(self): method test_103__utf_stream_parse (line 1117) | def test_103__utf_stream_parse(self): method test_104__utf_stream_parse (line 1124) | def test_104__utf_stream_parse(self): method test_105__utf_stream_parse (line 1131) | def test_105__utf_stream_parse(self): method test_106__utf_stream_parse (line 1136) | def test_106__utf_stream_parse(self): method test_107__ans1_stream_parse (line 1148) | def test_107__ans1_stream_parse(self): method test_108__ans1_stream_parse (line 1155) | def test_108__ans1_stream_parse(self): method test_109__ans1_stream_parse (line 1165) | def test_109__ans1_stream_parse(self): method test_110__ans1_stream_parse (line 1179) | def test_110__ans1_stream_parse(self): method test_111__ans1_stream_parse (line 1194) | def test_111__ans1_stream_parse(self): method test_112__ans1_stream_parse (line 1210) | def test_112__ans1_stream_parse(self): method test_113__ans1_stream_parse (line 1218) | def test_113__ans1_stream_parse(self): method test_114__ans1_stream_parse (line 1223) | def test_114__ans1_stream_parse(self): method test_115__ans1_stream_parse (line 1228) | def test_115__ans1_stream_parse(self): method test_116__template_parse (line 1241) | def test_116__template_parse(self, mock_split, mock_asn, mock_utf, moc... method test_117__template_parse (line 1257) | def test_117__template_parse(self, mock_split, mock_asn, mock_utf, moc... method test_118__template_parse (line 1275) | def test_118__template_parse(self, mock_split, mock_utf, mock_valid): method test_119__template_parse (line 1288) | def test_119__template_parse(self, mock_split, mock_asn): method test_120__template_parse (line 1298) | def test_120__template_parse(self, mock_split): method test_121__template_parse (line 1308) | def test_121__template_parse(self, mock_split, mock_asn, mock_utf, moc... method test_122__template_parse (line 1327) | def test_122__template_parse(self, mock_split, mock_asn, mock_utf, moc... method test_123__template_load (line 1342) | def test_123__template_load(self): method test_124__template_load (line 1386) | def test_124__template_load(self): method test_125__validity_calculate (line 1392) | def test_125__validity_calculate(self): method test_126__validity_calculate (line 1397) | def test_126__validity_calculate(self): method test_127__validity_calculate (line 1402) | def test_127__validity_calculate(self): method test_128__validity_calculate (line 1407) | def test_128__validity_calculate(self): method test_129__validity_calculate (line 1412) | def test_129__validity_calculate(self): method test_130__kue_generate (line 1417) | def test_130__kue_generate(self): method test_131__kue_generate (line 1437) | def test_131__kue_generate(self): method test_132__kue_generate (line 1457) | def test_132__kue_generate(self): method test_133__kue_generate (line 1477) | def test_133__kue_generate(self): method test_134__kue_generate (line 1497) | def test_134__kue_generate(self): method test_135__kue_generate (line 1506) | def test_135__kue_generate(self): method test_136__kue_generate (line 1527) | def test_136__kue_generate(self): method test_137___keyusage_generate (line 1537) | def test_137___keyusage_generate(self, mock_kuegen): method test_138___keyusage_generate (line 1548) | def test_138___keyusage_generate(self, mock_kuegen): method test_139___keyusage_generate (line 1559) | def test_139___keyusage_generate(self, mock_kuegen): method test_140___keyusage_generate (line 1570) | def test_140___keyusage_generate(self, mock_kuegen): method test_141___keyusage_generate (line 1581) | def test_141___keyusage_generate(self, mock_kuegen): method test_142___keyusage_generate (line 1592) | def test_142___keyusage_generate(self, mock_kuegen): method test_143___keyusage_generate (line 1603) | def test_143___keyusage_generate(self, mock_kuegen): method test_144___keyusage_generate (line 1616) | def test_144___keyusage_generate(self, mock_kuegen): method test_145__enter__ (line 1627) | def test_145__enter__(self, mock_cfg): method test_146__enter__ (line 1634) | def test_146__enter__(self, mock_cfg): method test_147_trigger (line 1641) | def test_147_trigger(self): method test_148_poll (line 1647) | def test_148_poll(self): method test_149_stub_func (line 1654) | def test_149_stub_func(self): method test_150__store_cert (line 1660) | def test_150__store_cert(self, mock_i_insert, mock_c_insert): method test_151_revocation_search (line 1674) | def test_151_revocation_search( method test_152_revocation_search (line 1694) | def test_152_revocation_search( method test_153_revocation_search (line 1712) | def test_153_revocation_search( method test_154_revocation_search (line 1732) | def test_154_revocation_search( method test_155_revocation_search (line 1750) | def test_155_revocation_search( method test_156__store_cert (line 1770) | def test_156__store_cert(self, mock_i_insert, mock_c_insert): method test_157___extended_keyusage_generate (line 1780) | def test_157___extended_keyusage_generate(self): method test_158___extended_keyusage_generate (line 1791) | def test_158___extended_keyusage_generate(self): method test_159___extended_keyusage_generate (line 1802) | def test_159___extended_keyusage_generate(self): method test_160__extended_keyusage_generate (line 1813) | def test_160__extended_keyusage_generate(self): method test_161___extended_keyusage_generate (line 1824) | def test_161___extended_keyusage_generate(self): method test_162___extended_keyusage_generate (line 1835) | def test_162___extended_keyusage_generate(self): method test_163___extended_keyusage_generate (line 1846) | def test_163___extended_keyusage_generate(self): method test_164___extended_keyusage_generate (line 1862) | def test_164___extended_keyusage_generate(self): method test_165__cdp_list_generate (line 1873) | def test_165__cdp_list_generate(self): method test_166__cdp_list_generate (line 1879) | def test_166__cdp_list_generate(self, mock_cdp): method test_167__cdp_list_generate (line 1886) | def test_167__cdp_list_generate(self, mock_cdp): method test_168__cert_subject_generate (line 1896) | def test_168__cert_subject_generate(self, mock_submod, mock_name): method test_169__cert_subject_generate (line 1910) | def test_169__cert_subject_generate(self, mock_submod, mock_name): method test_170__cert_subject_generate (line 1926) | def test_170__cert_subject_generate(self, mock_submod, mock_name): method test_171__extension_list_default (line 1946) | def test_171__extension_list_default( method test_172__extension_list_default (line 1970) | def test_172__extension_list_default( method test_173__extension_list_default (line 1993) | def test_173__extension_list_default( method test_174__extension_list_generate (line 2014) | def test_174__extension_list_generate( method test_175__extension_list_generate (line 2037) | def test_175__extension_list_generate( method test_176__extension_list_generate (line 2060) | def test_176__extension_list_generate( method test_177__extension_list_generate (line 2085) | def test_177__extension_list_generate( method test_178__subject_name_hash_get (line 2108) | def test_178__subject_name_hash_get(self, mock_x509): method test_179__subject_name_hash_get (line 2117) | def test_179__subject_name_hash_get(self, mock_x509): method test_180__subject_modify (line 2127) | def test_180__subject_modify(self, mock_addr, mock_name): method test_181__subject_modify (line 2140) | def test_181__subject_modify(self, mock_addr, mock_name): method test_182__subject_modify (line 2153) | def test_182__subject_modify(self, mock_addr, mock_name): method test_183__subject_modify (line 2166) | def test_183__subject_modify(self, mock_addr, mock_name): method test_184__subject_modify (line 2179) | def test_184__subject_modify(self, mock_addr, mock_name): method test_185_enroll (line 2198) | def test_185_enroll( method test_186_enroll (line 2230) | def test_186_enroll( method test_187_enroll (line 2263) | def test_187_enroll( method test_188_enroll (line 2299) | def test_188_enroll( method test_189_enroll (line 2338) | def test_189_enroll( method test_190_enroll (line 2377) | def test_190_enroll( method test_191_enroll (line 2416) | def test_191_enroll( method test_192_enroll (line 2455) | def test_192_enroll( method test_193_enroll (line 2494) | def test_193_enroll( method test_194_enroll (line 2532) | def test_194_enroll( method test_195_cert_sign (line 2572) | def test_195_cert_sign( method test_196_cert_sign (line 2624) | def test_196_cert_sign( method test_197_cert_sign (line 2678) | def test_197_cert_sign( method test_198_xca_template_process (line 2728) | def test_198_xca_template_process( method test_199_xca_template_process (line 2780) | def test_199_xca_template_process( method test_200_xca_template_process (line 2833) | def test_200_xca_template_process( method test_201_xca_template_process (line 2887) | def test_201_xca_template_process( method test_202_xca_template_process (line 2941) | def test_202_xca_template_process( method test_203_xca_template_process (line 2995) | def test_203_xca_template_process( method test_204_xca_template_process (line 3049) | def test_204_xca_template_process( method test_205_xca_template_process (line 3103) | def test_205_xca_template_process( method test_206_db_check (line 3152) | def test_206_db_check(self, mock_stat, mock_access, mock_oct, mock_load): method test_207_db_check (line 3165) | def test_207_db_check(self, mock_stat, mock_access, mock_oct, mock_load): method test_208_db_check (line 3181) | def test_208_db_check(self, mock_stat, mock_access, mock_oct, mock_load): method test_209_db_check (line 3197) | def test_209_db_check(self, mock_stat, mock_access, mock_oct, mock_load): method test_210_db_check (line 3212) | def test_210_db_check(self, mock_stat, mock_access, mock_oct, mock_load): method test_211_db_check (line 3233) | def test_211_db_check(self, mock_stat, mock_access, mock_oct, mock_load): method test_212_db_check (line 3254) | def test_212_db_check(self, mock_stat, mock_access, mock_oct, mock_load): method test_213_table_check (line 3271) | def test_213_table_check(self): method test_214_identifier_check (line 3280) | def test_214_identifier_check(self, mock_chk, mock_col): method test_215_identifier_check (line 3293) | def test_215_identifier_check(self, mock_tg): method test_216_columnnames_get (line 3307) | def test_216_columnnames_get(self, mock_open, mock_close): method test_217_handler_check (line 3321) | def test_217_handler_check(self, mock_cfg, mock_db): method test_218_handler_check (line 3331) | def test_218_handler_check(self, mock_cfg, mock_db): method test_219_handler_check (line 3341) | def test_219_handler_check(self, mock_cfg, mock_db): FILE: tools/a2c_cli.py function csv_dump (line 35) | def csv_dump(logger, filename, content): function generate_random_string (line 45) | def generate_random_string(logger, length): function file_dump (line 52) | def file_dump(logger, filename, data_): function file_load (line 59) | def file_load(logger, filename): function is_url (line 67) | def is_url(string): function logger_setup (line 82) | def logger_setup(debug): class KeyOperations (line 96) | class KeyOperations(object): method __init__ (line 99) | def __init__(self, logger=None, printcommand=None): method generate (line 104) | def generate(self, filename): method load (line 141) | def load(self, filename): class MessageOperations (line 155) | class MessageOperations(object): method __init__ (line 158) | def __init__(self, logger=None, printcommand=None): method sign (line 163) | def sign(self, key, data, cli_type="Unknown"): method send (line 172) | def send(self, server=None, message=None): class CommandLineInterface (line 179) | class CommandLineInterface(object): method __init__ (line 182) | def __init__(self): method _load_cfg (line 211) | def _load_cfg(self, ifile): method _cli_print (line 228) | def _cli_print(self, text, date_print=True, printreturn=True): method _command_check (line 241) | def _command_check(self, command): method _certificate_operations (line 270) | def _certificate_operations(self, command): method _config_operations (line 273) | def _config_operations(self, command): method _exec_cmd (line 279) | def _exec_cmd(self, cmdinput): method _intro_print (line 296) | def _intro_print(self): method _key_operations (line 301) | def _key_operations(self, command): method _message_operations (line 325) | def _message_operations(self, command): method _report_operations (line 347) | def _report_operations(self, command): method _report_generate (line 371) | def _report_generate(self, filename, format_, command): method _prompt_get (line 400) | def _prompt_get(self): method _quit (line 405) | def _quit(self): method _server_set (line 410) | def _server_set(self, server): method help_print (line 424) | def help_print(self): method start (line 440) | def start(self): FILE: tools/cliuser_mgmt.py function arg_parse (line 21) | def arg_parse(): function file_load (line 88) | def file_load(filename): FILE: tools/django_update.py function setup_django (line 31) | def setup_django(): function run_migrations (line 61) | def run_migrations(): function update_status_fields (line 76) | def update_status_fields(): function update_db_version (line 93) | def update_db_version(): function main (line 107) | def main(): FILE: tools/eab_chk.py function _eab_dic_print (line 30) | def _eab_dic_print(logger, eab_dic: Dict[str, str], config_dic: Dict[str... function _summary_print (line 47) | def _summary_print(logger, eab_dic: Dict[str, str]) -> None: function _filter_eab_dic (line 53) | def _filter_eab_dic(logger, eab_dic: Dict[str, str], keyid: str) -> Dict... function arg_parse (line 59) | def arg_parse() -> Tuple[bool, Dict[str, Dict[str, str]]]: function eab_dic_load (line 100) | def eab_dic_load(logger, acme_srv_dic: Dict[str, Dict[str, str]]) -> Dic... FILE: tools/entrust_mgr.py function arg_parse (line 22) | def arg_parse():