Lines Matching defs:backend

86 def _load_cert(filename, loader, backend):  argument
143 def test_load_pem_crl(self, backend): argument
159 def test_load_der_crl(self, backend): argument
171 def test_invalid_pem(self, backend): argument
175 def test_invalid_der(self, backend): argument
179 def test_unknown_signature_algorithm(self, backend): argument
191 def test_issuer(self, backend): argument
210 def test_equality(self, backend): argument
233 def test_update_dates(self, backend): argument
246 def test_revoked_cert_retrieval(self, backend): argument
259 def test_get_revoked_certificate_by_serial_number(self, backend): argument
272 def test_revoked_cert_retrieval_retain_only_revoked(self, backend): argument
286 def test_extensions(self, backend): argument
324 def test_delta_crl_indicator(self, backend): argument
337 def test_signature(self, backend): argument
356 def test_tbs_certlist_bytes(self, backend): argument
376 def test_public_bytes_pem(self, backend): argument
395 def test_public_bytes_der(self, backend): argument
430 self, cert_path, loader_func, encoding, backend argument
439 def test_public_bytes_invalid_encoding(self, backend): argument
449 def test_verify_bad(self, backend): argument
463 def test_verify_good(self, backend): argument
477 def test_verify_argument_must_be_a_public_key(self, backend): argument
493 def test_revoked_basics(self, backend): argument
509 def test_revoked_extensions(self, backend): argument
572 def test_no_revoked_certs(self, backend): argument
580 def test_duplicate_entry_ext(self, backend): argument
590 def test_unsupported_crit_entry_ext(self, backend): argument
604 def test_unsupported_reason(self, backend): argument
614 def test_invalid_cert_issuer_ext(self, backend): argument
626 def test_indexing(self, backend): argument
643 def test_get_revoked_certificate_doesnt_reorder(self, backend): argument
682 def test_load_pem_cert(self, backend): argument
697 def test_negative_serial_number(self, backend): argument
705 def test_alternate_rsa_with_sha1_oid(self, backend): argument
717 def test_load_der_cert(self, backend): argument
729 def test_signature(self, backend): argument
748 def test_tbs_certificate_bytes(self, backend): argument
787 def test_issuer(self, backend): argument
811 def test_all_issuer_name_types(self, backend): argument
853 def test_subject(self, backend): argument
883 def test_unicode_name(self, backend): argument
896 def test_non_ascii_dns_name(self, backend): argument
918 def test_all_subject_name_types(self, backend): argument
963 def test_load_good_ca_cert(self, backend): argument
979 def test_utc_pre_2000_not_before_cert(self, backend): argument
993 def test_pre_2000_utc_not_after_cert(self, backend): argument
1007 def test_post_2000_utc_cert(self, backend): argument
1020 def test_generalized_time_not_before_cert(self, backend): argument
1035 def test_generalized_time_not_after_cert(self, backend): argument
1050 def test_invalid_version_cert(self, backend): argument
1060 def test_eq(self, backend): argument
1073 def test_ne(self, backend): argument
1092 def test_hash(self, backend): argument
1117 def test_version_1_cert(self, backend): argument
1125 def test_invalid_pem(self, backend): argument
1129 def test_invalid_der(self, backend): argument
1133 def test_unsupported_signature_hash_algorithm_cert(self, backend): argument
1142 def test_public_bytes_pem(self, backend): argument
1168 def test_public_bytes_der(self, backend): argument
1194 def test_public_bytes_invalid_encoding(self, backend): argument
1220 self, cert_path, loader_func, encoding, backend argument
1229 def test_certificate_repr(self, backend): argument
1241 def test_parse_tls_feature_extension(self, backend): argument
1270 def test_load_rsa_certificate_request(self, path, loader_func, backend): argument
1292 def test_get_attribute_for_oid_challenge(self, backend): argument
1305 def test_get_attribute_for_oid_multiple(self, backend): argument
1324 def test_invalid_attribute_for_oid(self, backend): argument
1341 def test_no_challenge_password(self, backend): argument
1356 def test_invalid_certificate_request(self, loader_func, backend): argument
1360 def test_unsupported_signature_hash_algorithm_request(self, backend): argument
1369 def test_duplicate_extension(self, backend): argument
1380 def test_unsupported_critical_extension(self, backend): argument
1393 def test_unsupported_extension(self, backend): argument
1406 def test_request_basic_constraints(self, backend): argument
1422 def test_subject_alt_name(self, backend): argument
1436 def test_public_bytes_pem(self, backend): argument
1466 def test_public_bytes_der(self, backend): argument
1496 def test_signature(self, backend): argument
1513 def test_tbs_certrequest_bytes(self, backend): argument
1541 def test_public_bytes_invalid_encoding(self, backend): argument
1551 def test_signature_invalid(self, backend): argument
1559 def test_signature_valid(self, backend): argument
1583 self, request_path, loader_func, encoding, backend argument
1592 def test_eq(self, backend): argument
1606 def test_ne(self, backend): argument
1621 def test_hash(self, backend): argument
1641 def test_build_cert(self, backend): argument
1713 def test_build_cert_private_type_encoding(self, backend): argument
1762 def test_build_cert_printable_string_country_name(self, backend): argument
1833 def test_checks_for_unsupported_extensions(self, backend): argument
1855 def test_encode_nonstandard_aia(self, backend): argument
1886 def test_encode_nonstandard_sia(self, backend): argument
1921 def test_subject_dn_asn1_types(self, backend): argument
1980 def test_extreme_times(self, not_valid_before, not_valid_after, backend): argument
2004 def test_no_subject_name(self, backend): argument
2021 def test_no_issuer_name(self, backend): argument
2038 def test_no_public_key(self, backend): argument
2057 def test_no_not_valid_before(self, backend): argument
2076 def test_no_not_valid_after(self, backend): argument
2095 def test_no_serial_number(self, backend): argument
2162 def test_public_key_must_be_public_key(self, backend): argument
2171 def test_public_key_may_only_be_set_once(self, backend): argument
2193 def test_minimal_serial_number(self, backend): argument
2213 def test_biggest_serial_number(self, backend): argument
2243 def test_aware_not_valid_after(self, backend): argument
2267 def test_earliest_time(self, backend): argument
2312 def test_aware_not_valid_before(self, backend): argument
2375 def test_sign_with_unsupported_hash(self, algorithm, backend): argument
2399 def test_sign_with_unsupported_hash_ed25519(self, backend): argument
2423 def test_sign_with_unsupported_hash_ed448(self, backend): argument
2448 def test_sign_rsa_with_md5(self, backend): argument
2472 def test_sign_dsa_with_md5(self, backend): argument
2496 def test_sign_ec_with_md5(self, backend): argument
2517 def test_build_cert_with_dsa_private_key(self, backend): argument
2567 def test_build_cert_with_ec_private_key(self, backend): argument
2621 def test_build_cert_with_ed25519(self, backend): argument
2680 def test_build_cert_with_public_ed25519_rsa_sig(self, backend): argument
2719 def test_build_cert_with_ed448(self, backend): argument
2778 def test_build_cert_with_public_ed448_rsa_sig(self, backend): argument
2814 def test_build_cert_with_rsa_key_too_small(self, backend): argument
3207 def test_ext(self, add_ext, backend): argument
3236 def test_key_usage(self, backend): argument
3288 def test_build_ca_request_with_path_length_none(self, backend): argument
3325 def test_unrecognized_extension(self, backend, unrecognized): argument
3352 def test_sign_invalid_hash_algorithm(self, backend): argument
3366 def test_request_with_unsupported_hash_ed25519(self, backend): argument
3380 def test_request_with_unsupported_hash_ed448(self, backend): argument
3394 def test_sign_rsa_with_md5(self, backend): argument
3408 def test_sign_dsa_with_md5(self, backend): argument
3421 def test_sign_ec_with_md5(self, backend): argument
3431 def test_no_subject_name(self, backend): argument
3439 def test_build_ca_request_with_rsa(self, backend): argument
3470 def test_build_ca_request_with_unicode(self, backend): argument
3500 def test_subject_dn_asn1_types(self, backend): argument
3563 def test_build_ca_request_with_multivalue_rdns(self, backend): argument
3593 def test_build_nonca_request_with_rsa(self, backend): argument
3623 def test_build_ca_request_with_ec(self, backend): argument
3663 def test_build_ca_request_with_ed25519(self, backend): argument
3702 def test_build_ca_request_with_ed448(self, backend): argument
3737 def test_build_ca_request_with_dsa(self, backend): argument
3787 def test_add_unsupported_extension(self, backend): argument
3805 def test_key_usage(self, backend): argument
3843 def test_key_usage_key_agreement_bit(self, backend): argument
3881 def test_add_two_extensions(self, backend): argument
3914 def test_add_attributes(self, backend): argument
3959 def test_add_attribute_bad_types(self, backend): argument
3969 def test_duplicate_attribute(self, backend): argument
3988 def test_subject_alt_names(self, backend): argument
4045 def test_invalid_asn1_othername(self, backend): argument
4068 def test_subject_alt_name_unsupported_general_name(self, backend): argument
4085 def test_extended_key_usage(self, backend): argument
4110 def test_rsa_key_too_small(self, backend): argument
4122 def test_build_cert_with_aia(self, backend): argument
4168 def test_build_cert_with_sia(self, backend): argument
4208 def test_build_cert_with_ski(self, backend): argument
4291 def test_build_cert_with_aki(self, aki, backend): argument
4320 def test_ocsp_nocheck(self, backend): argument
4351 def test_load_dsa_cert(self, backend): argument
4401 def test_signature(self, backend): argument
4415 def test_tbs_certificate_bytes(self, backend): argument
4488 def test_load_dsa_request(self, path, loader_func, backend): argument
4503 def test_signature(self, backend): argument
4514 def test_tbs_certrequest_bytes(self, backend): argument
4549 def test_load_ecdsa_cert(self, backend): argument
4572 def test_signature(self, backend): argument
4596 def test_tbs_certificate_bytes(self, backend): argument
4626 def test_load_ecdsa_no_named_curve(self, backend): argument
4653 def test_load_ecdsa_certificate_request(self, path, loader_func, backend): argument
4669 def test_signature(self, backend): argument
4683 def test_tbs_certrequest_bytes(self, backend): argument
4708 def test_unsupported_subject_public_key_info(self, backend): argument
4720 def test_bad_time_in_validity(self, backend): argument
5137 def test_bytes(self, backend): argument
5150 def test_bmpstring_bytes(self, backend): argument
5170 def test_universalstring_bytes(self, backend): argument
5195 def test_load_pem_cert(self, backend): argument
5208 def test_deepcopy(self, backend): argument
5223 def test_load_pem_cert(self, backend): argument
5241 def load_key(self, backend): argument
5251 def test_crt_signing_check(self, backend): argument
5273 def test_csr_signing_check(self, backend): argument
5282 def test_crl_signing_check(self, backend): argument