SYMBOL INDEX (6572 symbols across 293 files) FILE: .github/bin/bump_dependency.py function get_remote_commit_sha (line 9) | def get_remote_commit_sha(repo_url: str, branch: str) -> str: function get_remote_latest_tag (line 16) | def get_remote_latest_tag(repo_url: str, tag_pattern: str) -> str: function get_current_version_from_file (line 38) | def get_current_version_from_file(file_path: str, pattern: str) -> str: function update_file_version (line 46) | def update_file_version( function generate_commit_message (line 65) | def generate_commit_message( function main (line 100) | def main() -> int: FILE: .github/bin/compare_benchmarks.py function bench_data_as_dict (line 9) | def bench_data_as_dict(data): function main (line 13) | def main(base_bench_path, pr_bench_path): FILE: .github/bin/merge_rust_coverage.py class RustCoveragePlugin (line 14) | class RustCoveragePlugin(coverage.CoveragePlugin): method __init__ (line 15) | def __init__( method file_reporter (line 22) | def file_reporter(self, filename: str) -> coverage.FileReporter: class RustCoverageFileReporter (line 26) | class RustCoverageFileReporter(coverage.FileReporter): method __init__ (line 27) | def __init__( method lines (line 33) | def lines(self) -> set[int]: method arcs (line 36) | def arcs(self) -> set[tuple[int, int]]: function get_excluded_lines (line 40) | def get_excluded_lines(filename: str) -> list[int]: function parse_lcovs (line 59) | def parse_lcovs( function main (line 115) | def main(coverage_loc: str): FILE: docs/_ext/cryptography-docs.py class HazmatDirective (line 20) | class HazmatDirective(Directive): method run (line 23) | def run(self): class Hazmat (line 35) | class Hazmat(nodes.Admonition, nodes.Element): function html_visit_hazmat_node (line 39) | def html_visit_hazmat_node(self, node): function latex_visit_hazmat_node (line 43) | def latex_visit_hazmat_node(self, node): function depart_hazmat_node (line 47) | def depart_hazmat_node(self, node): function setup (line 51) | def setup(app): FILE: docs/_ext/linkcode_res.py function linkcode_resolve (line 45) | def linkcode_resolve(domain, info): FILE: docs/development/custom-vectors/aes-192-gcm-siv/generate_aes192gcmsiv.py function convert_key_to_192_bits (line 10) | def convert_key_to_192_bits(key: str) -> str: function encrypt (line 29) | def encrypt(key: str, iv: str, plaintext: str, aad: str) -> (str, str): function build_vectors (line 44) | def build_vectors(filename): function write_file (line 80) | def write_file(data, filename): FILE: docs/development/custom-vectors/aes-192-gcm-siv/verify-aes192gcmsiv/src/main.rs type Aes192GcmSiv (line 14) | pub type Aes192GcmSiv = AesGcmSiv; type VectorArgs (line 16) | struct VectorArgs { function validate (line 25) | fn validate(v: &VectorArgs) { function validate_vectors (line 48) | fn validate_vectors(filename: &Path) { function main (line 111) | fn main() { FILE: docs/development/custom-vectors/arc4/generate_arc4.py function _key_for_size (line 47) | def _key_for_size(size, keyinfo): function _build_vectors (line 55) | def _build_vectors(): function _write_file (line 91) | def _write_file(data, filename): FILE: docs/development/custom-vectors/arc4/verify_arc4.go function unhexlify (line 14) | func unhexlify(s string) []byte { type vectorArgs (line 22) | type vectorArgs struct type vectorVerifier (line 30) | type vectorVerifier interface type arc4Verifier (line 34) | type arc4Verifier struct method validate (line 36) | func (o arc4Verifier) validate(count string, offset uint64, key, plain... function validateVectors (line 62) | func validateVectors(verifier vectorVerifier, filename string) { function main (line 108) | func main() { FILE: docs/development/custom-vectors/cast5/generate_cast5.py function encrypt (line 10) | def encrypt(mode, key, iv, plaintext): function build_vectors (line 21) | def build_vectors(mode, filename): function write_file (line 51) | def write_file(data, filename): FILE: docs/development/custom-vectors/cast5/verify_cast5.go function unhexlify (line 14) | func unhexlify(s string) []byte { type vectorArgs (line 22) | type vectorArgs struct type vectorVerifier (line 30) | type vectorVerifier interface type ofbVerifier (line 34) | type ofbVerifier struct method validate (line 36) | func (o ofbVerifier) validate(count string, key, iv, plaintext, expect... type cbcVerifier (line 54) | type cbcVerifier struct method validate (line 56) | func (o cbcVerifier) validate(count string, key, iv, plaintext, expect... type cfbVerifier (line 74) | type cfbVerifier struct method validate (line 76) | func (o cfbVerifier) validate(count string, key, iv, plaintext, expect... type ctrVerifier (line 94) | type ctrVerifier struct method validate (line 96) | func (o ctrVerifier) validate(count string, key, iv, plaintext, expect... function validateVectors (line 114) | func validateVectors(verifier vectorVerifier, filename string) { function main (line 151) | func main() { FILE: docs/development/custom-vectors/chacha20/generate_chacha20_overflow.py function _build_vectors (line 15) | def _build_vectors(): function _write_file (line 41) | def _write_file(data, filename): FILE: docs/development/custom-vectors/chacha20/verify_chacha20_overflow.py function encrypt (line 17) | def encrypt( function verify_vectors (line 48) | def verify_vectors(filename: Path): FILE: docs/development/custom-vectors/hkdf/generate_hkdf.py function _build_vectors (line 20) | def _build_vectors(): function _write_file (line 33) | def _write_file(data, filename): FILE: docs/development/custom-vectors/hkdf/verify_hkdf.go function unhexlify (line 16) | func unhexlify(s string) []byte { function verifier (line 24) | func verifier(l uint64, ikm, okm []byte) bool { function validateVectors (line 32) | func validateVectors(filename string) bool { function main (line 62) | func main() { FILE: docs/development/custom-vectors/idea/generate_idea.py function encrypt (line 6) | def encrypt(mode, key, iv, plaintext): function build_vectors (line 17) | def build_vectors(mode, filename): function write_file (line 49) | def write_file(data, filename): FILE: docs/development/custom-vectors/idea/verify_idea.py function encrypt (line 10) | def encrypt(mode, key, iv, plaintext): function verify_vectors (line 21) | def verify_vectors(mode, filename): FILE: docs/development/custom-vectors/rc2/genrc2.go function main (line 11) | func main() { FILE: docs/development/custom-vectors/rc2/rc2/rc2.go constant BlockSize (line 22) | BlockSize = 8 type rc2Cipher (line 24) | type rc2Cipher struct method BlockSize (line 36) | func (*rc2Cipher) BlockSize() int { return BlockSize } method Encrypt (line 85) | func (c *rc2Cipher) Encrypt(dst, src []byte) { method Decrypt (line 178) | func (c *rc2Cipher) Decrypt(dst, src []byte) { function New (line 29) | func New(key []byte, t1 int) (cipher.Block, error) { function expandKey (line 57) | func expandKey(key []byte, t1 int) [64]uint16 { FILE: docs/development/custom-vectors/rsa-oaep-sha2/VerifyRSAOAEPSHA2.java class TestVectorData (line 22) | class TestVectorData { class TestVectorLoader (line 37) | class TestVectorLoader { method TestVectorLoader (line 61) | TestVectorLoader() { method finalize (line 65) | protected void finalize() { method open (line 69) | public void open(String path) throws IOException { method close (line 76) | public void close() { method loadNextTest (line 93) | public TestVectorData loadNextTest() throws IOException { method unhexlify (line 142) | private byte[] unhexlify(String line) { method readBigInteger (line 147) | private BigInteger readBigInteger(BufferedReader br) throws IOException { method skipFileHeader (line 151) | private void skipFileHeader(BufferedReader br) throws IOException { method startNewTest (line 157) | private void startNewTest(BufferedReader br) throws IOException { method loadPublicKey (line 163) | private void loadPublicKey(BufferedReader br, TestVectorData data) thr... method loadPrivateKey (line 175) | private void loadPrivateKey(BufferedReader br, TestVectorData data) th... method loadMessage (line 217) | private void loadMessage(BufferedReader br, TestVectorData data) throw... class VerifyRSAOAEPSHA2 (line 231) | public class VerifyRSAOAEPSHA2 { type SHAHash (line 233) | public enum SHAHash { method VerifyRSAOAEPSHA2 (line 243) | VerifyRSAOAEPSHA2(SHAHash mgf1_hash, SHAHash alg_hash, TestVectorData ... method getCipher (line 259) | private Cipher getCipher(SHAHash alg_hash) throws GeneralSecurityExcep... method getMGF1ParameterSpec (line 288) | private MGF1ParameterSpec getMGF1ParameterSpec(SHAHash mgf1_hash) { method getAlgorithmParameterSpec (line 316) | private AlgorithmParameterSpec getAlgorithmParameterSpec(SHAHash alg_h... method loadPrivateKey (line 346) | private PrivateKey loadPrivateKey(TestVectorData test_data) throws Exc... method testDecrypt (line 354) | public void testDecrypt(byte[] plaintext, byte[] ciphertext) throws Ex... method main (line 367) | public static void main(String[] args) { FILE: docs/development/custom-vectors/rsa-oaep-sha2/generate_rsa_oaep_sha2.py function build_vectors (line 14) | def build_vectors(mgf1alg, hashalg, filename): function write_file (line 97) | def write_file(data, filename): FILE: docs/development/custom-vectors/secp256k1/generate_secp256k1.py class TruncatedHash (line 21) | class TruncatedHash: method __init__ (line 22) | def __init__(self, hasher): method __call__ (line 25) | def __call__(self, data): method digest (line 29) | def digest(self): function build_vectors (line 33) | def build_vectors(fips_vectors): function write_file (line 68) | def write_file(lines, dest): FILE: docs/development/custom-vectors/secp256k1/verify_secp256k1.py function verify_one_vector (line 19) | def verify_one_vector(vector): function verify_vectors (line 37) | def verify_vectors(vectors): FILE: docs/development/custom-vectors/seed/generate_seed.py function encrypt (line 6) | def encrypt(mode, key, iv, plaintext): function build_vectors (line 17) | def build_vectors(mode, filename): function write_file (line 48) | def write_file(data, filename): FILE: docs/development/custom-vectors/seed/verify_seed.py function encrypt (line 8) | def encrypt(mode, key, iv, plaintext): function verify_vectors (line 19) | def verify_vectors(mode, filename): FILE: noxfile.py function install (line 27) | def install( function load_pyproject_toml (line 42) | def load_pyproject_toml() -> dict: function tests (line 52) | def tests(session: nox.Session) -> None: function docs (line 116) | def docs(session: nox.Session) -> None: function docs_linkcheck (line 178) | def docs_linkcheck(session: nox.Session) -> None: function flake (line 187) | def flake(session: nox.Session) -> None: function rust (line 216) | def rust(session: nox.Session) -> None: function local (line 271) | def local(session: nox.Session): function process_rust_coverage (line 341) | def process_rust_coverage( FILE: release.py function run (line 26) | def run(*args: str) -> None: function cli (line 32) | def cli(): function release (line 37) | def release() -> None: function replace_pattern (line 53) | def replace_pattern(p: pathlib.Path, pattern: str, replacement: str) -> ... function replace_version (line 63) | def replace_version( function bump_version (line 73) | def bump_version(new_version: str) -> None: FILE: src/_cffi_src/utils.py function build_ffi_for_binding (line 20) | def build_ffi_for_binding( function build_ffi (line 56) | def build_ffi( FILE: src/cryptography/exceptions.py class UnsupportedAlgorithm (line 17) | class UnsupportedAlgorithm(Exception): method __init__ (line 18) | def __init__(self, message: str, reason: _Reasons | None = None) -> None: class AlreadyFinalized (line 23) | class AlreadyFinalized(Exception): class AlreadyUpdated (line 27) | class AlreadyUpdated(Exception): class NotYetFinalized (line 31) | class NotYetFinalized(Exception): class InvalidTag (line 35) | class InvalidTag(Exception): class InvalidSignature (line 39) | class InvalidSignature(Exception): class InternalError (line 43) | class InternalError(Exception): method __init__ (line 44) | def __init__( class InvalidKey (line 51) | class InvalidKey(Exception): FILE: src/cryptography/fernet.py class InvalidToken (line 21) | class InvalidToken(Exception): class Fernet (line 28) | class Fernet: method __init__ (line 29) | def __init__( method generate_key (line 49) | def generate_key(cls) -> bytes: method encrypt (line 52) | def encrypt(self, data: bytes) -> bytes: method encrypt_at_time (line 55) | def encrypt_at_time(self, data: bytes, current_time: int) -> bytes: method _encrypt_from_parts (line 59) | def _encrypt_from_parts( method decrypt (line 84) | def decrypt(self, token: bytes | str, ttl: int | None = None) -> bytes: method decrypt_at_time (line 92) | def decrypt_at_time( method extract_timestamp (line 102) | def extract_timestamp(self, token: bytes | str) -> int: method _get_unverified_token_data (line 109) | def _get_unverified_token_data(token: bytes | str) -> tuple[int, bytes]: method _verify_signature (line 127) | def _verify_signature(self, data: bytes) -> None: method _decrypt_data (line 135) | def _decrypt_data( class MultiFernet (line 171) | class MultiFernet: method __init__ (line 172) | def __init__(self, fernets: Iterable[Fernet]): method encrypt (line 180) | def encrypt(self, msg: bytes) -> bytes: method encrypt_at_time (line 183) | def encrypt_at_time(self, msg: bytes, current_time: int) -> bytes: method rotate (line 186) | def rotate(self, msg: bytes | str) -> bytes: method decrypt (line 200) | def decrypt(self, msg: bytes | str, ttl: int | None = None) -> bytes: method decrypt_at_time (line 208) | def decrypt_at_time( method extract_timestamp (line 218) | def extract_timestamp(self, msg: bytes | str) -> int: FILE: src/cryptography/hazmat/_oid.py class ExtensionOID (line 13) | class ExtensionOID: class OCSPExtensionOID (line 46) | class OCSPExtensionOID: class CRLEntryExtensionOID (line 51) | class CRLEntryExtensionOID: class NameOID (line 57) | class NameOID: class SignatureAlgorithmOID (line 92) | class SignatureAlgorithmOID: class HashAlgorithmOID (line 159) | class HashAlgorithmOID: class PublicKeyAlgorithmOID (line 175) | class PublicKeyAlgorithmOID: class ExtendedKeyUsageOID (line 186) | class ExtendedKeyUsageOID: class OtherNameFormOID (line 201) | class OtherNameFormOID: class AuthorityInformationAccessOID (line 211) | class AuthorityInformationAccessOID: class SubjectInformationAccessOID (line 216) | class SubjectInformationAccessOID: class CertificatePoliciesOID (line 220) | class CertificatePoliciesOID: class AttributeOID (line 226) | class AttributeOID: FILE: src/cryptography/hazmat/asn1/asn1.py class Variant (line 51) | class Variant(typing.Generic[U, Tag]): function _is_union (line 77) | def _is_union(field_type: type) -> bool: function _extract_annotation (line 89) | def _extract_annotation( function _normalize_field_type (line 124) | def _normalize_field_type( function _type_to_variant (line 245) | def _type_to_variant( function _annotate_fields (line 288) | def _annotate_fields( function _register_asn1_sequence (line 301) | def _register_asn1_sequence(cls: type[U]) -> None: function sequence (line 320) | def sequence(cls: type[U]) -> type[U]: function sequence (line 345) | def sequence(cls: type[U]) -> type[U]: class Default (line 360) | class Default(typing.Generic[U]): FILE: src/cryptography/hazmat/backends/__init__.py function default_backend (line 10) | def default_backend() -> Any: FILE: src/cryptography/hazmat/backends/openssl/backend.py class Backend (line 31) | class Backend: method __init__ (line 69) | def __init__(self) -> None: method __repr__ (line 75) | def __repr__(self) -> str: method openssl_assert (line 82) | def openssl_assert(self, ok: bool) -> None: method _enable_fips (line 85) | def _enable_fips(self) -> None: method openssl_version_text (line 92) | def openssl_version_text(self) -> str: method openssl_version_number (line 101) | def openssl_version_number(self) -> int: method hash_supported (line 104) | def hash_supported(self, algorithm: hashes.HashAlgorithm) -> bool: method signature_hash_supported (line 110) | def signature_hash_supported( method scrypt_supported (line 119) | def scrypt_supported(self) -> bool: method argon2_supported (line 125) | def argon2_supported(self) -> bool: method hmac_supported (line 131) | def hmac_supported(self, algorithm: hashes.HashAlgorithm) -> bool: method cipher_supported (line 151) | def cipher_supported(self, cipher: CipherAlgorithm, mode: Mode) -> bool: method pbkdf2_hmac_supported (line 160) | def pbkdf2_hmac_supported(self, algorithm: hashes.HashAlgorithm) -> bool: method _consume_errors (line 163) | def _consume_errors(self) -> list[rust_openssl.OpenSSLError]: method _oaep_hash_supported (line 166) | def _oaep_hash_supported(self, algorithm: hashes.HashAlgorithm) -> bool: method rsa_padding_supported (line 181) | def rsa_padding_supported(self, padding: AsymmetricPadding) -> bool: method rsa_encryption_supported (line 203) | def rsa_encryption_supported(self, padding: AsymmetricPadding) -> bool: method dsa_supported (line 209) | def dsa_supported(self) -> bool: method dsa_hash_supported (line 215) | def dsa_hash_supported(self, algorithm: hashes.HashAlgorithm) -> bool: method cmac_algorithm_supported (line 220) | def cmac_algorithm_supported(self, algorithm) -> bool: method elliptic_curve_supported (line 225) | def elliptic_curve_supported(self, curve: ec.EllipticCurve) -> bool: method elliptic_curve_signature_algorithm_supported (line 233) | def elliptic_curve_signature_algorithm_supported( method elliptic_curve_exchange_algorithm_supported (line 247) | def elliptic_curve_exchange_algorithm_supported( method dh_supported (line 254) | def dh_supported(self) -> bool: method dh_x942_serialization_supported (line 260) | def dh_x942_serialization_supported(self) -> bool: method x25519_supported (line 263) | def x25519_supported(self) -> bool: method x448_supported (line 266) | def x448_supported(self) -> bool: method ed25519_supported (line 275) | def ed25519_supported(self) -> bool: method ed448_supported (line 278) | def ed448_supported(self) -> bool: method ecdsa_deterministic_supported (line 287) | def ecdsa_deterministic_supported(self) -> bool: method poly1305_supported (line 293) | def poly1305_supported(self) -> bool: method pkcs7_supported (line 296) | def pkcs7_supported(self) -> bool: FILE: src/cryptography/hazmat/bindings/_rust/__init__.pyi class PKCS7PaddingContext (line 13) | class PKCS7PaddingContext(padding.PaddingContext): method __init__ (line 14) | def __init__(self, block_size: int) -> None: ... method update (line 15) | def update(self, data: Buffer) -> bytes: ... method finalize (line 16) | def finalize(self) -> bytes: ... class ANSIX923PaddingContext (line 18) | class ANSIX923PaddingContext(padding.PaddingContext): method __init__ (line 19) | def __init__(self, block_size: int) -> None: ... method update (line 20) | def update(self, data: Buffer) -> bytes: ... method finalize (line 21) | def finalize(self) -> bytes: ... class PKCS7UnpaddingContext (line 23) | class PKCS7UnpaddingContext(padding.PaddingContext): method __init__ (line 24) | def __init__(self, block_size: int) -> None: ... method update (line 25) | def update(self, data: Buffer) -> bytes: ... method finalize (line 26) | def finalize(self) -> bytes: ... class ANSIX923UnpaddingContext (line 28) | class ANSIX923UnpaddingContext(padding.PaddingContext): method __init__ (line 29) | def __init__(self, block_size: int) -> None: ... method update (line 30) | def update(self, data: Buffer) -> bytes: ... method finalize (line 31) | def finalize(self) -> bytes: ... class Encoding (line 33) | class Encoding: class PrivateFormat (line 41) | class PrivateFormat: method encryption_builder (line 47) | def encryption_builder(self) -> KeySerializationEncryptionBuilder: ... class PublicFormat (line 49) | class PublicFormat: class ParameterFormat (line 57) | class ParameterFormat: class ObjectIdentifier (line 60) | class ObjectIdentifier: method __init__ (line 61) | def __init__(self, value: str) -> None: ... method dotted_string (line 63) | def dotted_string(self) -> str: ... method _name (line 65) | def _name(self) -> str: ... FILE: src/cryptography/hazmat/bindings/_rust/asn1.pyi function decode_dss_signature (line 5) | def decode_dss_signature(signature: bytes) -> tuple[int, int]: ... function encode_dss_signature (line 6) | def encode_dss_signature(r: int, s: int) -> bytes: ... function parse_spki_for_data (line 7) | def parse_spki_for_data(data: bytes) -> bytes: ... FILE: src/cryptography/hazmat/bindings/_rust/declarative_asn1.pyi function decode_der (line 8) | def decode_der(cls: type, value: bytes) -> typing.Any: ... function encode_der (line 9) | def encode_der(value: typing.Any) -> bytes: ... function non_root_python_to_rust (line 10) | def non_root_python_to_rust(cls: type) -> Type: ... class Type (line 14) | class Type: class Annotation (line 25) | class Annotation: method __new__ (line 29) | def __new__( method is_empty (line 35) | def is_empty(self) -> bool: ... class Encoding (line 39) | class Encoding: class Size (line 43) | class Size: method __new__ (line 47) | def __new__(cls, min: int, max: int | None) -> Size: ... method exact (line 49) | def exact(n: int) -> Size: ... class AnnotatedType (line 51) | class AnnotatedType: method __new__ (line 55) | def __new__(cls, inner: Type, annotation: Annotation) -> AnnotatedType... class AnnotatedTypeObject (line 57) | class AnnotatedTypeObject: method __new__ (line 61) | def __new__( class Variant (line 65) | class Variant: method __new__ (line 70) | def __new__( class PrintableString (line 77) | class PrintableString: method __new__ (line 78) | def __new__(cls, inner: str) -> PrintableString: ... method __repr__ (line 79) | def __repr__(self) -> str: ... method __eq__ (line 80) | def __eq__(self, other: object) -> bool: ... method as_str (line 81) | def as_str(self) -> str: ... class IA5String (line 83) | class IA5String: method __new__ (line 84) | def __new__(cls, inner: str) -> IA5String: ... method __repr__ (line 85) | def __repr__(self) -> str: ... method __eq__ (line 86) | def __eq__(self, other: object) -> bool: ... method as_str (line 87) | def as_str(self) -> str: ... class UtcTime (line 89) | class UtcTime: method __new__ (line 90) | def __new__(cls, inner: datetime.datetime) -> UtcTime: ... method __repr__ (line 91) | def __repr__(self) -> str: ... method __eq__ (line 92) | def __eq__(self, other: object) -> bool: ... method as_datetime (line 93) | def as_datetime(self) -> datetime.datetime: ... class GeneralizedTime (line 95) | class GeneralizedTime: method __new__ (line 96) | def __new__(cls, inner: datetime.datetime) -> GeneralizedTime: ... method __repr__ (line 97) | def __repr__(self) -> str: ... method __eq__ (line 98) | def __eq__(self, other: object) -> bool: ... method as_datetime (line 99) | def as_datetime(self) -> datetime.datetime: ... class BitString (line 101) | class BitString: method __new__ (line 102) | def __new__(cls, data: bytes, padding_bits: int) -> BitString: ... method __repr__ (line 103) | def __repr__(self) -> str: ... method __eq__ (line 104) | def __eq__(self, other: object) -> bool: ... method as_bytes (line 105) | def as_bytes(self) -> bytes: ... method padding_bits (line 106) | def padding_bits(self) -> int: ... class SetOf (line 110) | class SetOf(typing.Generic[T]): method __new__ (line 111) | def __new__(cls, inner: list[T]) -> SetOf[T]: ... method as_list (line 112) | def as_list(self) -> list[T]: ... method __eq__ (line 113) | def __eq__(self, other: object) -> bool: ... method __repr__ (line 114) | def __repr__(self) -> str: ... class Null (line 116) | class Null: method __new__ (line 117) | def __new__(cls) -> Null: ... method __repr__ (line 118) | def __repr__(self) -> str: ... method __eq__ (line 119) | def __eq__(self, other: object) -> bool: ... FILE: src/cryptography/hazmat/bindings/_rust/exceptions.pyi class _Reasons (line 5) | class _Reasons: FILE: src/cryptography/hazmat/bindings/_rust/ocsp.pyi class OCSPRequest (line 13) | class OCSPRequest: method issuer_key_hash (line 15) | def issuer_key_hash(self) -> bytes: ... method issuer_name_hash (line 17) | def issuer_name_hash(self) -> bytes: ... method hash_algorithm (line 19) | def hash_algorithm(self) -> hashes.HashAlgorithm: ... method serial_number (line 21) | def serial_number(self) -> int: ... method public_bytes (line 22) | def public_bytes(self, encoding: serialization.Encoding) -> bytes: ... method extensions (line 24) | def extensions(self) -> x509.Extensions: ... class OCSPResponse (line 26) | class OCSPResponse: method responses (line 28) | def responses(self) -> Iterator[OCSPSingleResponse]: ... method response_status (line 30) | def response_status(self) -> ocsp.OCSPResponseStatus: ... method signature_algorithm_oid (line 32) | def signature_algorithm_oid(self) -> x509.ObjectIdentifier: ... method signature_hash_algorithm (line 34) | def signature_hash_algorithm( method signature (line 38) | def signature(self) -> bytes: ... method tbs_response_bytes (line 40) | def tbs_response_bytes(self) -> bytes: ... method certificates (line 42) | def certificates(self) -> list[x509.Certificate]: ... method responder_key_hash (line 44) | def responder_key_hash(self) -> bytes | None: ... method responder_name (line 46) | def responder_name(self) -> x509.Name | None: ... method produced_at (line 48) | def produced_at(self) -> datetime.datetime: ... method produced_at_utc (line 50) | def produced_at_utc(self) -> datetime.datetime: ... method certificate_status (line 52) | def certificate_status(self) -> ocsp.OCSPCertStatus: ... method revocation_time (line 54) | def revocation_time(self) -> datetime.datetime | None: ... method revocation_time_utc (line 56) | def revocation_time_utc(self) -> datetime.datetime | None: ... method revocation_reason (line 58) | def revocation_reason(self) -> x509.ReasonFlags | None: ... method this_update (line 60) | def this_update(self) -> datetime.datetime: ... method this_update_utc (line 62) | def this_update_utc(self) -> datetime.datetime: ... method next_update (line 64) | def next_update(self) -> datetime.datetime | None: ... method next_update_utc (line 66) | def next_update_utc(self) -> datetime.datetime | None: ... method issuer_key_hash (line 68) | def issuer_key_hash(self) -> bytes: ... method issuer_name_hash (line 70) | def issuer_name_hash(self) -> bytes: ... method hash_algorithm (line 72) | def hash_algorithm(self) -> hashes.HashAlgorithm: ... method serial_number (line 74) | def serial_number(self) -> int: ... method extensions (line 76) | def extensions(self) -> x509.Extensions: ... method single_extensions (line 78) | def single_extensions(self) -> x509.Extensions: ... method public_bytes (line 79) | def public_bytes(self, encoding: serialization.Encoding) -> bytes: ... class OCSPSingleResponse (line 81) | class OCSPSingleResponse: method certificate_status (line 83) | def certificate_status(self) -> ocsp.OCSPCertStatus: ... method revocation_time (line 85) | def revocation_time(self) -> datetime.datetime | None: ... method revocation_time_utc (line 87) | def revocation_time_utc(self) -> datetime.datetime | None: ... method revocation_reason (line 89) | def revocation_reason(self) -> x509.ReasonFlags | None: ... method this_update (line 91) | def this_update(self) -> datetime.datetime: ... method this_update_utc (line 93) | def this_update_utc(self) -> datetime.datetime: ... method next_update (line 95) | def next_update(self) -> datetime.datetime | None: ... method next_update_utc (line 97) | def next_update_utc(self) -> datetime.datetime | None: ... method issuer_key_hash (line 99) | def issuer_key_hash(self) -> bytes: ... method issuer_name_hash (line 101) | def issuer_name_hash(self) -> bytes: ... method hash_algorithm (line 103) | def hash_algorithm(self) -> hashes.HashAlgorithm: ... method serial_number (line 105) | def serial_number(self) -> int: ... function load_der_ocsp_request (line 107) | def load_der_ocsp_request(data: bytes) -> ocsp.OCSPRequest: ... function load_der_ocsp_response (line 108) | def load_der_ocsp_response(data: bytes) -> ocsp.OCSPResponse: ... function create_ocsp_request (line 109) | def create_ocsp_request( function create_ocsp_response (line 112) | def create_ocsp_response( FILE: src/cryptography/hazmat/bindings/_rust/openssl/__init__.pyi class Providers (line 58) | class Providers: ... function openssl_version (line 63) | def openssl_version() -> int: ... function openssl_version_text (line 64) | def openssl_version_text() -> str: ... function raise_openssl_error (line 65) | def raise_openssl_error() -> typing.NoReturn: ... function capture_error_stack (line 66) | def capture_error_stack() -> list[OpenSSLError]: ... function is_fips_enabled (line 67) | def is_fips_enabled() -> bool: ... function enable_fips (line 68) | def enable_fips(providers: Providers) -> None: ... class OpenSSLError (line 70) | class OpenSSLError: method lib (line 72) | def lib(self) -> int: ... method reason (line 74) | def reason(self) -> int: ... method reason_text (line 76) | def reason_text(self) -> bytes: ... FILE: src/cryptography/hazmat/bindings/_rust/openssl/aead.pyi class AESGCM (line 9) | class AESGCM: method __init__ (line 10) | def __init__(self, key: Buffer) -> None: ... method generate_key (line 12) | def generate_key(bit_length: int) -> bytes: ... method encrypt (line 13) | def encrypt( method decrypt (line 19) | def decrypt( method encrypt_into (line 25) | def encrypt_into( method decrypt_into (line 32) | def decrypt_into( class ChaCha20Poly1305 (line 40) | class ChaCha20Poly1305: method __init__ (line 41) | def __init__(self, key: Buffer) -> None: ... method generate_key (line 43) | def generate_key() -> bytes: ... method encrypt (line 44) | def encrypt( method encrypt_into (line 50) | def encrypt_into( method decrypt (line 57) | def decrypt( method decrypt_into (line 63) | def decrypt_into( class AESCCM (line 71) | class AESCCM: method __init__ (line 72) | def __init__(self, key: Buffer, tag_length: int = 16) -> None: ... method generate_key (line 74) | def generate_key(bit_length: int) -> bytes: ... method encrypt (line 75) | def encrypt( method encrypt_into (line 81) | def encrypt_into( method decrypt (line 88) | def decrypt( method decrypt_into (line 94) | def decrypt_into( class AESSIV (line 102) | class AESSIV: method __init__ (line 103) | def __init__(self, key: Buffer) -> None: ... method generate_key (line 105) | def generate_key(bit_length: int) -> bytes: ... method encrypt (line 106) | def encrypt( method encrypt_into (line 111) | def encrypt_into( method decrypt (line 117) | def decrypt( method decrypt_into (line 122) | def decrypt_into( class AESOCB3 (line 129) | class AESOCB3: method __init__ (line 130) | def __init__(self, key: Buffer) -> None: ... method generate_key (line 132) | def generate_key(bit_length: int) -> bytes: ... method encrypt (line 133) | def encrypt( method encrypt_into (line 139) | def encrypt_into( method decrypt (line 146) | def decrypt( method decrypt_into (line 152) | def decrypt_into( class AESGCMSIV (line 160) | class AESGCMSIV: method __init__ (line 161) | def __init__(self, key: Buffer) -> None: ... method generate_key (line 163) | def generate_key(bit_length: int) -> bytes: ... method encrypt (line 164) | def encrypt( method encrypt_into (line 170) | def encrypt_into( method decrypt (line 177) | def decrypt( method decrypt_into (line 183) | def decrypt_into( FILE: src/cryptography/hazmat/bindings/_rust/openssl/ciphers.pyi function create_encryption_ctx (line 11) | def create_encryption_ctx( function create_encryption_ctx (line 15) | def create_encryption_ctx( function create_decryption_ctx (line 19) | def create_decryption_ctx( function create_decryption_ctx (line 23) | def create_decryption_ctx( function cipher_supported (line 26) | def cipher_supported( function _advance (line 29) | def _advance( function _advance_aad (line 32) | def _advance_aad( class CipherContext (line 36) | class CipherContext: ... class AEADEncryptionContext (line 37) | class AEADEncryptionContext: ... class AEADDecryptionContext (line 38) | class AEADDecryptionContext: ... FILE: src/cryptography/hazmat/bindings/_rust/openssl/cmac.pyi class CMAC (line 9) | class CMAC: method __init__ (line 10) | def __init__( method update (line 15) | def update(self, data: bytes) -> None: ... method finalize (line 16) | def finalize(self) -> bytes: ... method verify (line 17) | def verify(self, signature: bytes) -> None: ... method copy (line 18) | def copy(self) -> CMAC: ... FILE: src/cryptography/hazmat/bindings/_rust/openssl/dh.pyi class DHPrivateKey (line 11) | class DHPrivateKey: ... class DHPublicKey (line 12) | class DHPublicKey: ... class DHParameters (line 13) | class DHParameters: ... class DHPrivateNumbers (line 15) | class DHPrivateNumbers: method __init__ (line 16) | def __init__(self, x: int, public_numbers: DHPublicNumbers) -> None: ... method private_key (line 17) | def private_key(self, backend: typing.Any = None) -> dh.DHPrivateKey: ... method x (line 19) | def x(self) -> int: ... method public_numbers (line 21) | def public_numbers(self) -> DHPublicNumbers: ... class DHPublicNumbers (line 23) | class DHPublicNumbers: method __init__ (line 24) | def __init__( method public_key (line 27) | def public_key(self, backend: typing.Any = None) -> dh.DHPublicKey: ... method y (line 29) | def y(self) -> int: ... method parameter_numbers (line 31) | def parameter_numbers(self) -> DHParameterNumbers: ... class DHParameterNumbers (line 33) | class DHParameterNumbers: method __init__ (line 34) | def __init__(self, p: int, g: int, q: int | None = None) -> None: ... method parameters (line 35) | def parameters(self, backend: typing.Any = None) -> dh.DHParameters: ... method p (line 37) | def p(self) -> int: ... method g (line 39) | def g(self) -> int: ... method q (line 41) | def q(self) -> int | None: ... function generate_parameters (line 43) | def generate_parameters( function from_pem_parameters (line 46) | def from_pem_parameters( function from_der_parameters (line 49) | def from_der_parameters( FILE: src/cryptography/hazmat/bindings/_rust/openssl/dsa.pyi class DSAPrivateKey (line 9) | class DSAPrivateKey: ... class DSAPublicKey (line 10) | class DSAPublicKey: ... class DSAParameters (line 11) | class DSAParameters: ... class DSAPrivateNumbers (line 13) | class DSAPrivateNumbers: method __init__ (line 14) | def __init__(self, x: int, public_numbers: DSAPublicNumbers) -> None: ... method x (line 16) | def x(self) -> int: ... method public_numbers (line 18) | def public_numbers(self) -> DSAPublicNumbers: ... method private_key (line 19) | def private_key(self, backend: typing.Any = None) -> dsa.DSAPrivateKey... class DSAPublicNumbers (line 21) | class DSAPublicNumbers: method __init__ (line 22) | def __init__( method y (line 26) | def y(self) -> int: ... method parameter_numbers (line 28) | def parameter_numbers(self) -> DSAParameterNumbers: ... method public_key (line 29) | def public_key(self, backend: typing.Any = None) -> dsa.DSAPublicKey: ... class DSAParameterNumbers (line 31) | class DSAParameterNumbers: method __init__ (line 32) | def __init__(self, p: int, q: int, g: int) -> None: ... method p (line 34) | def p(self) -> int: ... method q (line 36) | def q(self) -> int: ... method g (line 38) | def g(self) -> int: ... method parameters (line 39) | def parameters(self, backend: typing.Any = None) -> dsa.DSAParameters:... function generate_parameters (line 41) | def generate_parameters(key_size: int) -> dsa.DSAParameters: ... FILE: src/cryptography/hazmat/bindings/_rust/openssl/ec.pyi class ECPrivateKey (line 9) | class ECPrivateKey: ... class ECPublicKey (line 10) | class ECPublicKey: ... class EllipticCurvePrivateNumbers (line 12) | class EllipticCurvePrivateNumbers: method __init__ (line 13) | def __init__( method private_key (line 16) | def private_key( method private_value (line 20) | def private_value(self) -> int: ... method public_numbers (line 22) | def public_numbers(self) -> EllipticCurvePublicNumbers: ... class EllipticCurvePublicNumbers (line 24) | class EllipticCurvePublicNumbers: method __init__ (line 25) | def __init__(self, x: int, y: int, curve: ec.EllipticCurve) -> None: ... method public_key (line 26) | def public_key( method x (line 30) | def x(self) -> int: ... method y (line 32) | def y(self) -> int: ... method curve (line 34) | def curve(self) -> ec.EllipticCurve: ... method __eq__ (line 35) | def __eq__(self, other: object) -> bool: ... function curve_supported (line 37) | def curve_supported(curve: ec.EllipticCurve) -> bool: ... function generate_private_key (line 38) | def generate_private_key( function from_private_numbers (line 41) | def from_private_numbers( function from_public_numbers (line 44) | def from_public_numbers( function from_public_bytes (line 47) | def from_public_bytes( function derive_private_key (line 50) | def derive_private_key( FILE: src/cryptography/hazmat/bindings/_rust/openssl/ed25519.pyi class Ed25519PrivateKey (line 8) | class Ed25519PrivateKey: ... class Ed25519PublicKey (line 9) | class Ed25519PublicKey: ... function generate_key (line 11) | def generate_key() -> ed25519.Ed25519PrivateKey: ... function from_private_bytes (line 12) | def from_private_bytes(data: Buffer) -> ed25519.Ed25519PrivateKey: ... function from_public_bytes (line 13) | def from_public_bytes(data: bytes) -> ed25519.Ed25519PublicKey: ... FILE: src/cryptography/hazmat/bindings/_rust/openssl/ed448.pyi class Ed448PrivateKey (line 8) | class Ed448PrivateKey: ... class Ed448PublicKey (line 9) | class Ed448PublicKey: ... function generate_key (line 11) | def generate_key() -> ed448.Ed448PrivateKey: ... function from_private_bytes (line 12) | def from_private_bytes(data: Buffer) -> ed448.Ed448PrivateKey: ... function from_public_bytes (line 13) | def from_public_bytes(data: bytes) -> ed448.Ed448PublicKey: ... FILE: src/cryptography/hazmat/bindings/_rust/openssl/hashes.pyi class Hash (line 10) | class Hash(hashes.HashContext): method __init__ (line 11) | def __init__( method algorithm (line 15) | def algorithm(self) -> hashes.HashAlgorithm: ... method update (line 16) | def update(self, data: Buffer) -> None: ... method finalize (line 17) | def finalize(self) -> bytes: ... method copy (line 18) | def copy(self) -> Hash: ... method hash (line 20) | def hash(algorithm: hashes.HashAlgorithm, data: Buffer) -> bytes: ... function hash_supported (line 22) | def hash_supported(algorithm: hashes.HashAlgorithm) -> bool: ... class XOFHash (line 24) | class XOFHash: method __init__ (line 25) | def __init__(self, algorithm: hashes.ExtendableOutputFunction) -> None... method algorithm (line 27) | def algorithm(self) -> hashes.ExtendableOutputFunction: ... method update (line 28) | def update(self, data: Buffer) -> None: ... method squeeze (line 29) | def squeeze(self, length: int) -> bytes: ... method copy (line 30) | def copy(self) -> XOFHash: ... FILE: src/cryptography/hazmat/bindings/_rust/openssl/hmac.pyi class HMAC (line 10) | class HMAC(hashes.HashContext): method __init__ (line 11) | def __init__( method algorithm (line 18) | def algorithm(self) -> hashes.HashAlgorithm: ... method update (line 19) | def update(self, data: Buffer) -> None: ... method finalize (line 20) | def finalize(self) -> bytes: ... method verify (line 21) | def verify(self, signature: bytes) -> None: ... method copy (line 22) | def copy(self) -> HMAC: ... FILE: src/cryptography/hazmat/bindings/_rust/openssl/hpke.pyi class KEM (line 8) | class KEM: class KDF (line 14) | class KDF: class AEAD (line 21) | class AEAD: class Suite (line 26) | class Suite: method __init__ (line 27) | def __init__(self, kem: KEM, kdf: KDF, aead: AEAD) -> None: ... method encrypt (line 28) | def encrypt( method decrypt (line 34) | def decrypt( function _encrypt_with_aad (line 41) | def _encrypt_with_aad( function _decrypt_with_aad (line 48) | def _decrypt_with_aad( FILE: src/cryptography/hazmat/bindings/_rust/openssl/kdf.pyi class PBKDF2HMAC (line 11) | class PBKDF2HMAC: method __init__ (line 12) | def __init__( method derive (line 20) | def derive(self, key_material: Buffer) -> bytes: ... method derive_into (line 21) | def derive_into(self, key_material: Buffer, buffer: Buffer) -> int: ... method verify (line 22) | def verify(self, key_material: bytes, expected_key: bytes) -> None: ... class Scrypt (line 24) | class Scrypt: method __init__ (line 25) | def __init__( method derive (line 34) | def derive(self, key_material: Buffer) -> bytes: ... method derive_into (line 35) | def derive_into(self, key_material: Buffer, buffer: Buffer) -> int: ... method verify (line 36) | def verify(self, key_material: bytes, expected_key: bytes) -> None: ... class Argon2d (line 38) | class Argon2d: method __init__ (line 39) | def __init__( method derive (line 50) | def derive(self, key_material: bytes) -> bytes: ... method derive_into (line 51) | def derive_into(self, key_material: bytes, buffer: Buffer) -> int: ... method verify (line 52) | def verify(self, key_material: bytes, expected_key: bytes) -> None: ... method derive_phc_encoded (line 53) | def derive_phc_encoded(self, key_material: bytes) -> str: ... method verify_phc_encoded (line 55) | def verify_phc_encoded( class Argon2i (line 59) | class Argon2i: method __init__ (line 60) | def __init__( method derive (line 71) | def derive(self, key_material: bytes) -> bytes: ... method derive_into (line 72) | def derive_into(self, key_material: bytes, buffer: Buffer) -> int: ... method verify (line 73) | def verify(self, key_material: bytes, expected_key: bytes) -> None: ... method derive_phc_encoded (line 74) | def derive_phc_encoded(self, key_material: bytes) -> str: ... method verify_phc_encoded (line 76) | def verify_phc_encoded( class Argon2id (line 80) | class Argon2id: method __init__ (line 81) | def __init__( method derive (line 92) | def derive(self, key_material: bytes) -> bytes: ... method derive_into (line 93) | def derive_into(self, key_material: bytes, buffer: Buffer) -> int: ... method verify (line 94) | def verify(self, key_material: bytes, expected_key: bytes) -> None: ... method derive_phc_encoded (line 95) | def derive_phc_encoded(self, key_material: bytes) -> str: ... method verify_phc_encoded (line 97) | def verify_phc_encoded( class HKDF (line 101) | class HKDF: method __init__ (line 102) | def __init__( method extract (line 111) | def extract( method derive (line 114) | def derive(self, key_material: Buffer) -> bytes: ... method derive_into (line 115) | def derive_into(self, key_material: Buffer, buffer: Buffer) -> int: ... method verify (line 116) | def verify(self, key_material: bytes, expected_key: bytes) -> None: ... class HKDFExpand (line 118) | class HKDFExpand: method __init__ (line 119) | def __init__( method derive (line 126) | def derive(self, key_material: Buffer) -> bytes: ... method derive_into (line 127) | def derive_into(self, key_material: Buffer, buffer: Buffer) -> int: ... method verify (line 128) | def verify(self, key_material: bytes, expected_key: bytes) -> None: ... class X963KDF (line 130) | class X963KDF: method __init__ (line 131) | def __init__( method derive (line 138) | def derive(self, key_material: Buffer) -> bytes: ... method derive_into (line 139) | def derive_into(self, key_material: Buffer, buffer: Buffer) -> int: ... method verify (line 140) | def verify(self, key_material: bytes, expected_key: bytes) -> None: ... class ConcatKDFHash (line 142) | class ConcatKDFHash: method __init__ (line 143) | def __init__( method derive (line 150) | def derive(self, key_material: Buffer) -> bytes: ... method derive_into (line 151) | def derive_into(self, key_material: Buffer, buffer: Buffer) -> int: ... method verify (line 152) | def verify(self, key_material: bytes, expected_key: bytes) -> None: ... class ConcatKDFHMAC (line 154) | class ConcatKDFHMAC: method __init__ (line 155) | def __init__( method derive (line 163) | def derive(self, key_material: Buffer) -> bytes: ... method derive_into (line 164) | def derive_into(self, key_material: Buffer, buffer: Buffer) -> int: ... method verify (line 165) | def verify(self, key_material: bytes, expected_key: bytes) -> None: ... class KBKDFHMAC (line 167) | class KBKDFHMAC: method __init__ (line 168) | def __init__( method derive (line 183) | def derive(self, key_material: Buffer) -> bytes: ... method derive_into (line 184) | def derive_into(self, key_material: Buffer, buffer: Buffer) -> int: ... method verify (line 185) | def verify(self, key_material: bytes, expected_key: bytes) -> None: ... class KBKDFCMAC (line 187) | class KBKDFCMAC: method __init__ (line 188) | def __init__( method derive (line 203) | def derive(self, key_material: Buffer) -> bytes: ... method derive_into (line 204) | def derive_into(self, key_material: Buffer, buffer: Buffer) -> int: ... method verify (line 205) | def verify(self, key_material: bytes, expected_key: bytes) -> None: ... FILE: src/cryptography/hazmat/bindings/_rust/openssl/keys.pyi function load_der_private_key (line 13) | def load_der_private_key( function load_pem_private_key (line 20) | def load_pem_private_key( function load_der_public_key (line 27) | def load_der_public_key( function load_pem_public_key (line 31) | def load_pem_public_key( FILE: src/cryptography/hazmat/bindings/_rust/openssl/poly1305.pyi class Poly1305 (line 7) | class Poly1305: method __init__ (line 8) | def __init__(self, key: Buffer) -> None: ... method generate_tag (line 10) | def generate_tag(key: Buffer, data: Buffer) -> bytes: ... method verify_tag (line 12) | def verify_tag(key: Buffer, data: Buffer, tag: bytes) -> None: ... method update (line 13) | def update(self, data: Buffer) -> None: ... method finalize (line 14) | def finalize(self) -> bytes: ... method verify (line 15) | def verify(self, tag: bytes) -> None: ... FILE: src/cryptography/hazmat/bindings/_rust/openssl/rsa.pyi class RSAPrivateKey (line 9) | class RSAPrivateKey: ... class RSAPublicKey (line 10) | class RSAPublicKey: ... class RSAPrivateNumbers (line 12) | class RSAPrivateNumbers: method __init__ (line 13) | def __init__( method p (line 24) | def p(self) -> int: ... method q (line 26) | def q(self) -> int: ... method d (line 28) | def d(self) -> int: ... method dmp1 (line 30) | def dmp1(self) -> int: ... method dmq1 (line 32) | def dmq1(self) -> int: ... method iqmp (line 34) | def iqmp(self) -> int: ... method public_numbers (line 36) | def public_numbers(self) -> RSAPublicNumbers: ... method private_key (line 37) | def private_key( class RSAPublicNumbers (line 44) | class RSAPublicNumbers: method __init__ (line 45) | def __init__(self, e: int, n: int) -> None: ... method n (line 47) | def n(self) -> int: ... method e (line 49) | def e(self) -> int: ... method public_key (line 50) | def public_key(self, backend: typing.Any = None) -> rsa.RSAPublicKey: ... function generate_private_key (line 52) | def generate_private_key( FILE: src/cryptography/hazmat/bindings/_rust/openssl/x25519.pyi class X25519PrivateKey (line 8) | class X25519PrivateKey: ... class X25519PublicKey (line 9) | class X25519PublicKey: ... function generate_key (line 11) | def generate_key() -> x25519.X25519PrivateKey: ... function from_private_bytes (line 12) | def from_private_bytes(data: Buffer) -> x25519.X25519PrivateKey: ... function from_public_bytes (line 13) | def from_public_bytes(data: bytes) -> x25519.X25519PublicKey: ... FILE: src/cryptography/hazmat/bindings/_rust/openssl/x448.pyi class X448PrivateKey (line 8) | class X448PrivateKey: ... class X448PublicKey (line 9) | class X448PublicKey: ... function generate_key (line 11) | def generate_key() -> x448.X448PrivateKey: ... function from_private_bytes (line 12) | def from_private_bytes(data: Buffer) -> x448.X448PrivateKey: ... function from_public_bytes (line 13) | def from_public_bytes(data: bytes) -> x448.X448PublicKey: ... FILE: src/cryptography/hazmat/bindings/_rust/pkcs12.pyi class PKCS12Certificate (line 19) | class PKCS12Certificate: method __init__ (line 20) | def __init__( method friendly_name (line 24) | def friendly_name(self) -> bytes | None: ... method certificate (line 26) | def certificate(self) -> x509.Certificate: ... function load_key_and_certificates (line 28) | def load_key_and_certificates( function load_pkcs12 (line 37) | def load_pkcs12( function serialize_java_truststore (line 42) | def serialize_java_truststore( function serialize_key_and_certificates (line 46) | def serialize_key_and_certificates( FILE: src/cryptography/hazmat/bindings/_rust/pkcs7.pyi function serialize_certificates (line 12) | def serialize_certificates( function encrypt_and_serialize (line 16) | def encrypt_and_serialize( function sign_and_serialize (line 22) | def sign_and_serialize( function decrypt_der (line 27) | def decrypt_der( function decrypt_pem (line 33) | def decrypt_pem( function decrypt_smime (line 39) | def decrypt_smime( function load_pem_pkcs7_certificates (line 45) | def load_pem_pkcs7_certificates( function load_der_pkcs7_certificates (line 48) | def load_der_pkcs7_certificates( FILE: src/cryptography/hazmat/bindings/_rust/test_support.pyi class TestCertificate (line 10) | class TestCertificate: function test_parse_certificate (line 16) | def test_parse_certificate(data: bytes) -> TestCertificate: ... function pkcs7_verify (line 17) | def pkcs7_verify( FILE: src/cryptography/hazmat/bindings/_rust/x509.pyi function load_pem_x509_certificate (line 20) | def load_pem_x509_certificate( function load_der_x509_certificate (line 23) | def load_der_x509_certificate( function load_pem_x509_certificates (line 26) | def load_pem_x509_certificates( function load_pem_x509_crl (line 29) | def load_pem_x509_crl( function load_der_x509_crl (line 32) | def load_der_x509_crl( function load_pem_x509_csr (line 35) | def load_pem_x509_csr( function load_der_x509_csr (line 38) | def load_der_x509_csr( function encode_name_bytes (line 41) | def encode_name_bytes(name: x509.Name) -> bytes: ... function encode_extension_value (line 42) | def encode_extension_value(extension: x509.ExtensionType) -> bytes: ... function create_x509_certificate (line 43) | def create_x509_certificate( function create_x509_csr (line 50) | def create_x509_csr( function create_revoked_certificate (line 57) | def create_revoked_certificate( function create_x509_crl (line 60) | def create_x509_crl( class Sct (line 68) | class Sct: method version (line 70) | def version(self) -> certificate_transparency.Version: ... method log_id (line 72) | def log_id(self) -> bytes: ... method timestamp (line 74) | def timestamp(self) -> datetime.datetime: ... method entry_type (line 76) | def entry_type(self) -> certificate_transparency.LogEntryType: ... method signature_hash_algorithm (line 78) | def signature_hash_algorithm(self) -> hashes.HashAlgorithm: ... method signature_algorithm (line 80) | def signature_algorithm( method signature (line 84) | def signature(self) -> bytes: ... method extension_bytes (line 86) | def extension_bytes(self) -> bytes: ... class Certificate (line 88) | class Certificate: method fingerprint (line 89) | def fingerprint(self, algorithm: hashes.HashAlgorithm) -> bytes: ... method serial_number (line 91) | def serial_number(self) -> int: ... method version (line 93) | def version(self) -> x509.Version: ... method public_key (line 94) | def public_key(self) -> CertificatePublicKeyTypes: ... method public_key_algorithm_oid (line 96) | def public_key_algorithm_oid(self) -> x509.ObjectIdentifier: ... method not_valid_before (line 98) | def not_valid_before(self) -> datetime.datetime: ... method not_valid_before_utc (line 100) | def not_valid_before_utc(self) -> datetime.datetime: ... method not_valid_after (line 102) | def not_valid_after(self) -> datetime.datetime: ... method not_valid_after_utc (line 104) | def not_valid_after_utc(self) -> datetime.datetime: ... method issuer (line 106) | def issuer(self) -> x509.Name: ... method subject (line 108) | def subject(self) -> x509.Name: ... method signature_hash_algorithm (line 110) | def signature_hash_algorithm( method signature_algorithm_oid (line 114) | def signature_algorithm_oid(self) -> x509.ObjectIdentifier: ... method signature_algorithm_parameters (line 116) | def signature_algorithm_parameters( method extensions (line 120) | def extensions(self) -> x509.Extensions: ... method signature (line 122) | def signature(self) -> bytes: ... method tbs_certificate_bytes (line 124) | def tbs_certificate_bytes(self) -> bytes: ... method tbs_precertificate_bytes (line 126) | def tbs_precertificate_bytes(self) -> bytes: ... method __eq__ (line 127) | def __eq__(self, other: object) -> bool: ... method __hash__ (line 128) | def __hash__(self) -> int: ... method public_bytes (line 129) | def public_bytes(self, encoding: serialization.Encoding) -> bytes: ... method verify_directly_issued_by (line 130) | def verify_directly_issued_by(self, issuer: Certificate) -> None: ... class RevokedCertificate (line 132) | class RevokedCertificate: method serial_number (line 134) | def serial_number(self) -> int: ... method revocation_date (line 136) | def revocation_date(self) -> datetime.datetime: ... method revocation_date_utc (line 138) | def revocation_date_utc(self) -> datetime.datetime: ... method extensions (line 140) | def extensions(self) -> x509.Extensions: ... class CertificateRevocationList (line 142) | class CertificateRevocationList: method public_bytes (line 143) | def public_bytes(self, encoding: serialization.Encoding) -> bytes: ... method fingerprint (line 144) | def fingerprint(self, algorithm: hashes.HashAlgorithm) -> bytes: ... method get_revoked_certificate_by_serial_number (line 145) | def get_revoked_certificate_by_serial_number( method signature_hash_algorithm (line 149) | def signature_hash_algorithm( method signature_algorithm_oid (line 153) | def signature_algorithm_oid(self) -> x509.ObjectIdentifier: ... method signature_algorithm_parameters (line 155) | def signature_algorithm_parameters( method issuer (line 159) | def issuer(self) -> x509.Name: ... method next_update (line 161) | def next_update(self) -> datetime.datetime | None: ... method next_update_utc (line 163) | def next_update_utc(self) -> datetime.datetime | None: ... method last_update (line 165) | def last_update(self) -> datetime.datetime: ... method last_update_utc (line 167) | def last_update_utc(self) -> datetime.datetime: ... method extensions (line 169) | def extensions(self) -> x509.Extensions: ... method signature (line 171) | def signature(self) -> bytes: ... method tbs_certlist_bytes (line 173) | def tbs_certlist_bytes(self) -> bytes: ... method __eq__ (line 174) | def __eq__(self, other: object) -> bool: ... method __len__ (line 175) | def __len__(self) -> int: ... method __getitem__ (line 177) | def __getitem__(self, idx: int) -> x509.RevokedCertificate: ... method __getitem__ (line 179) | def __getitem__(self, idx: slice) -> list[x509.RevokedCertificate]: ... method __iter__ (line 180) | def __iter__(self) -> Iterator[x509.RevokedCertificate]: ... method is_signature_valid (line 181) | def is_signature_valid( class CertificateSigningRequest (line 185) | class CertificateSigningRequest: method __eq__ (line 186) | def __eq__(self, other: object) -> bool: ... method __hash__ (line 187) | def __hash__(self) -> int: ... method public_key (line 188) | def public_key(self) -> CertificatePublicKeyTypes: ... method subject (line 190) | def subject(self) -> x509.Name: ... method signature_hash_algorithm (line 192) | def signature_hash_algorithm( method signature_algorithm_oid (line 196) | def signature_algorithm_oid(self) -> x509.ObjectIdentifier: ... method signature_algorithm_parameters (line 198) | def signature_algorithm_parameters( method extensions (line 202) | def extensions(self) -> x509.Extensions: ... method attributes (line 204) | def attributes(self) -> x509.Attributes: ... method public_bytes (line 205) | def public_bytes(self, encoding: serialization.Encoding) -> bytes: ... method signature (line 207) | def signature(self) -> bytes: ... method tbs_certrequest_bytes (line 209) | def tbs_certrequest_bytes(self) -> bytes: ... method is_signature_valid (line 211) | def is_signature_valid(self) -> bool: ... class PolicyBuilder (line 213) | class PolicyBuilder: method time (line 214) | def time(self, time: datetime.datetime) -> PolicyBuilder: ... method store (line 215) | def store(self, store: Store) -> PolicyBuilder: ... method max_chain_depth (line 216) | def max_chain_depth(self, max_chain_depth: int) -> PolicyBuilder: ... method extension_policies (line 217) | def extension_policies( method build_client_verifier (line 220) | def build_client_verifier(self) -> ClientVerifier: ... method build_server_verifier (line 221) | def build_server_verifier( class Policy (line 225) | class Policy: method max_chain_depth (line 227) | def max_chain_depth(self) -> int: ... method subject (line 229) | def subject(self) -> x509.verification.Subject | None: ... method validation_time (line 231) | def validation_time(self) -> datetime.datetime: ... method extended_key_usage (line 233) | def extended_key_usage(self) -> x509.ObjectIdentifier: ... method minimum_rsa_modulus (line 235) | def minimum_rsa_modulus(self) -> int: ... class Criticality (line 237) | class Criticality: class ExtensionPolicy (line 258) | class ExtensionPolicy: method permit_all (line 260) | def permit_all() -> ExtensionPolicy: ... method webpki_defaults_ca (line 262) | def webpki_defaults_ca() -> ExtensionPolicy: ... method webpki_defaults_ee (line 264) | def webpki_defaults_ee() -> ExtensionPolicy: ... method require_not_present (line 265) | def require_not_present( method may_be_present (line 268) | def may_be_present( method require_present (line 274) | def require_present( class VerifiedClient (line 281) | class VerifiedClient: method subjects (line 283) | def subjects(self) -> list[x509.GeneralName] | None: ... method chain (line 285) | def chain(self) -> list[x509.Certificate]: ... class ClientVerifier (line 287) | class ClientVerifier: method policy (line 289) | def policy(self) -> Policy: ... method store (line 291) | def store(self) -> Store: ... method verify (line 292) | def verify( class ServerVerifier (line 298) | class ServerVerifier: method policy (line 300) | def policy(self) -> Policy: ... method store (line 302) | def store(self) -> Store: ... method verify (line 303) | def verify( class Store (line 309) | class Store: method __init__ (line 310) | def __init__(self, certs: list[x509.Certificate]) -> None: ... class VerificationError (line 312) | class VerificationError(Exception): ... FILE: src/cryptography/hazmat/bindings/openssl/_conditional.py function cryptography_has_set_cert_cb (line 8) | def cryptography_has_set_cert_cb() -> list[str]: function cryptography_has_ssl_st (line 15) | def cryptography_has_ssl_st() -> list[str]: function cryptography_has_tls_st (line 24) | def cryptography_has_tls_st() -> list[str]: function cryptography_has_ssl_sigalgs (line 31) | def cryptography_has_ssl_sigalgs() -> list[str]: function cryptography_has_psk (line 37) | def cryptography_has_psk() -> list[str]: function cryptography_has_psk_tlsv13 (line 45) | def cryptography_has_psk_tlsv13() -> list[str]: function cryptography_has_custom_ext (line 57) | def cryptography_has_custom_ext() -> list[str]: function cryptography_has_tlsv13_functions (line 65) | def cryptography_has_tlsv13_functions() -> list[str]: function cryptography_has_tlsv13_hs_functions (line 71) | def cryptography_has_tlsv13_hs_functions() -> list[str]: function cryptography_has_ssl_verify_client_post_handshake (line 84) | def cryptography_has_ssl_verify_client_post_handshake() -> list[str]: function cryptography_has_engine (line 90) | def cryptography_has_engine() -> list[str]: function cryptography_has_verified_chain (line 109) | def cryptography_has_verified_chain() -> list[str]: function cryptography_has_srtp (line 115) | def cryptography_has_srtp() -> list[str]: function cryptography_has_dtls_get_data_mtu (line 123) | def cryptography_has_dtls_get_data_mtu() -> list[str]: function cryptography_has_ssl_cookie (line 129) | def cryptography_has_ssl_cookie() -> list[str]: function cryptography_has_prime_checks (line 139) | def cryptography_has_prime_checks() -> list[str]: function cryptography_has_unexpected_eof_while_reading (line 145) | def cryptography_has_unexpected_eof_while_reading() -> list[str]: function cryptography_has_ssl_op_ignore_unexpected_eof (line 149) | def cryptography_has_ssl_op_ignore_unexpected_eof() -> list[str]: function cryptography_has_get_extms_support (line 155) | def cryptography_has_get_extms_support() -> list[str]: function cryptography_has_ssl_get0_group_name (line 159) | def cryptography_has_ssl_get0_group_name() -> list[str]: FILE: src/cryptography/hazmat/bindings/openssl/binding.py function _openssl_assert (line 21) | def _openssl_assert(ok: bool) -> None: function build_conditional_library (line 37) | def build_conditional_library( class Binding (line 55) | class Binding: method __init__ (line 65) | def __init__(self) -> None: method _ensure_ffi_initialized (line 69) | def _ensure_ffi_initialized(cls) -> None: method init_static_locks (line 78) | def init_static_locks(cls) -> None: function _verify_package_version (line 82) | def _verify_package_version(version: str) -> None: FILE: src/cryptography/hazmat/decrepit/ciphers/algorithms.py class ARC4 (line 17) | class ARC4(CipherAlgorithm): method __init__ (line 21) | def __init__(self, key: bytes): method key_size (line 25) | def key_size(self) -> int: class TripleDES (line 29) | class TripleDES(BlockCipherAlgorithm): method __init__ (line 34) | def __init__(self, key: bytes): method key_size (line 56) | def key_size(self) -> int: class _DES (line 61) | class _DES: class Blowfish (line 65) | class Blowfish(BlockCipherAlgorithm): method __init__ (line 70) | def __init__(self, key: bytes): method key_size (line 74) | def key_size(self) -> int: class CAST5 (line 78) | class CAST5(BlockCipherAlgorithm): method __init__ (line 83) | def __init__(self, key: bytes): method key_size (line 87) | def key_size(self) -> int: class SEED (line 91) | class SEED(BlockCipherAlgorithm): method __init__ (line 96) | def __init__(self, key: bytes): method key_size (line 100) | def key_size(self) -> int: class IDEA (line 104) | class IDEA(BlockCipherAlgorithm): method __init__ (line 109) | def __init__(self, key: bytes): method key_size (line 113) | def key_size(self) -> int: class Camellia (line 117) | class Camellia(BlockCipherAlgorithm): method __init__ (line 122) | def __init__(self, key: bytes): method key_size (line 126) | def key_size(self) -> int: class RC2 (line 132) | class RC2(BlockCipherAlgorithm): method __init__ (line 137) | def __init__(self, key: bytes): method key_size (line 141) | def key_size(self) -> int: FILE: src/cryptography/hazmat/decrepit/ciphers/modes.py class OFB (line 14) | class OFB(ModeWithInitializationVector): method __init__ (line 17) | def __init__(self, initialization_vector: utils.Buffer): method initialization_vector (line 22) | def initialization_vector(self) -> utils.Buffer: class CFB (line 28) | class CFB(ModeWithInitializationVector): method __init__ (line 31) | def __init__(self, initialization_vector: utils.Buffer): method initialization_vector (line 36) | def initialization_vector(self) -> utils.Buffer: class CFB8 (line 42) | class CFB8(ModeWithInitializationVector): method __init__ (line 45) | def __init__(self, initialization_vector: utils.Buffer): method initialization_vector (line 50) | def initialization_vector(self) -> utils.Buffer: FILE: src/cryptography/hazmat/primitives/_asymmetric.py class AsymmetricPadding (line 13) | class AsymmetricPadding(metaclass=abc.ABCMeta): method name (line 16) | def name(self) -> str: FILE: src/cryptography/hazmat/primitives/_cipheralgorithm.py class CipherAlgorithm (line 15) | class CipherAlgorithm(metaclass=abc.ABCMeta): method name (line 18) | def name(self) -> str: method key_sizes (line 25) | def key_sizes(self) -> frozenset[int]: method key_size (line 32) | def key_size(self) -> int: class BlockCipherAlgorithm (line 38) | class BlockCipherAlgorithm(CipherAlgorithm): method block_size (line 43) | def block_size(self) -> int: function _verify_key_size (line 49) | def _verify_key_size( FILE: src/cryptography/hazmat/primitives/_modes.py class Mode (line 17) | class Mode(metaclass=abc.ABCMeta): method name (line 20) | def name(self) -> str: method validate_for_algorithm (line 26) | def validate_for_algorithm(self, algorithm: CipherAlgorithm) -> None: class ModeWithInitializationVector (line 33) | class ModeWithInitializationVector(Mode, metaclass=abc.ABCMeta): method initialization_vector (line 36) | def initialization_vector(self) -> utils.Buffer: class ModeWithTweak (line 42) | class ModeWithTweak(Mode, metaclass=abc.ABCMeta): method tweak (line 45) | def tweak(self) -> utils.Buffer: class ModeWithNonce (line 51) | class ModeWithNonce(Mode, metaclass=abc.ABCMeta): method nonce (line 54) | def nonce(self) -> utils.Buffer: class ModeWithAuthenticationTag (line 60) | class ModeWithAuthenticationTag(Mode, metaclass=abc.ABCMeta): method tag (line 63) | def tag(self) -> bytes | None: function _check_aes_key_length (line 69) | def _check_aes_key_length(self: Mode, algorithm: CipherAlgorithm) -> None: function _check_iv_length (line 76) | def _check_iv_length( function _check_nonce_length (line 84) | def _check_nonce_length( function _check_iv_and_key_length (line 96) | def _check_iv_and_key_length( FILE: src/cryptography/hazmat/primitives/_serialization.py class PBES (line 22) | class PBES(utils.Enum): class KeySerializationEncryption (line 27) | class KeySerializationEncryption(metaclass=abc.ABCMeta): class BestAvailableEncryption (line 31) | class BestAvailableEncryption(KeySerializationEncryption): method __init__ (line 32) | def __init__(self, password: bytes): class NoEncryption (line 39) | class NoEncryption(KeySerializationEncryption): class KeySerializationEncryptionBuilder (line 43) | class KeySerializationEncryptionBuilder: method __init__ (line 44) | def __init__( method kdf_rounds (line 58) | def kdf_rounds(self, rounds: int) -> KeySerializationEncryptionBuilder: method hmac_hash (line 75) | def hmac_hash( method key_cert_algorithm (line 92) | def key_cert_algorithm( method build (line 108) | def build(self, password: bytes) -> KeySerializationEncryption: class _KeySerializationEncryption (line 121) | class _KeySerializationEncryption(KeySerializationEncryption): method __init__ (line 122) | def __init__( FILE: src/cryptography/hazmat/primitives/asymmetric/dh.py class DHParameters (line 20) | class DHParameters(metaclass=abc.ABCMeta): method generate_private_key (line 22) | def generate_private_key(self) -> DHPrivateKey: method parameter_bytes (line 28) | def parameter_bytes( method parameter_numbers (line 38) | def parameter_numbers(self) -> DHParameterNumbers: class DHPublicKey (line 48) | class DHPublicKey(metaclass=abc.ABCMeta): method key_size (line 51) | def key_size(self) -> int: method parameters (line 57) | def parameters(self) -> DHParameters: method public_numbers (line 63) | def public_numbers(self) -> DHPublicNumbers: method public_bytes (line 69) | def public_bytes( method __eq__ (line 79) | def __eq__(self, other: object) -> bool: method __copy__ (line 85) | def __copy__(self) -> DHPublicKey: method __deepcopy__ (line 91) | def __deepcopy__(self, memo: dict) -> DHPublicKey: class DHPrivateKey (line 101) | class DHPrivateKey(metaclass=abc.ABCMeta): method key_size (line 104) | def key_size(self) -> int: method public_key (line 110) | def public_key(self) -> DHPublicKey: method parameters (line 116) | def parameters(self) -> DHParameters: method exchange (line 122) | def exchange(self, peer_public_key: DHPublicKey) -> bytes: method private_numbers (line 129) | def private_numbers(self) -> DHPrivateNumbers: method private_bytes (line 135) | def private_bytes( method __copy__ (line 146) | def __copy__(self) -> DHPrivateKey: method __deepcopy__ (line 152) | def __deepcopy__(self, memo: dict) -> DHPrivateKey: FILE: src/cryptography/hazmat/primitives/asymmetric/dsa.py class DSAParameters (line 16) | class DSAParameters(metaclass=abc.ABCMeta): method generate_private_key (line 18) | def generate_private_key(self) -> DSAPrivateKey: method parameter_numbers (line 24) | def parameter_numbers(self) -> DSAParameterNumbers: class DSAPrivateKey (line 34) | class DSAPrivateKey(metaclass=abc.ABCMeta): method key_size (line 37) | def key_size(self) -> int: method public_key (line 43) | def public_key(self) -> DSAPublicKey: method parameters (line 49) | def parameters(self) -> DSAParameters: method sign (line 55) | def sign( method private_numbers (line 65) | def private_numbers(self) -> DSAPrivateNumbers: method private_bytes (line 71) | def private_bytes( method __copy__ (line 82) | def __copy__(self) -> DSAPrivateKey: method __deepcopy__ (line 88) | def __deepcopy__(self, memo: dict) -> DSAPrivateKey: class DSAPublicKey (line 98) | class DSAPublicKey(metaclass=abc.ABCMeta): method key_size (line 101) | def key_size(self) -> int: method parameters (line 107) | def parameters(self) -> DSAParameters: method public_numbers (line 113) | def public_numbers(self) -> DSAPublicNumbers: method public_bytes (line 119) | def public_bytes( method verify (line 129) | def verify( method __eq__ (line 140) | def __eq__(self, other: object) -> bool: method __copy__ (line 146) | def __copy__(self) -> DSAPublicKey: method __deepcopy__ (line 152) | def __deepcopy__(self, memo: dict) -> DSAPublicKey: function generate_parameters (line 166) | def generate_parameters( function generate_private_key (line 175) | def generate_private_key( FILE: src/cryptography/hazmat/primitives/asymmetric/ec.py class EllipticCurveOID (line 18) | class EllipticCurveOID: class EllipticCurve (line 30) | class EllipticCurve(metaclass=abc.ABCMeta): method name (line 33) | def name(self) -> str: method key_size (line 40) | def key_size(self) -> int: method group_order (line 47) | def group_order(self) -> int: class EllipticCurveSignatureAlgorithm (line 53) | class EllipticCurveSignatureAlgorithm(metaclass=abc.ABCMeta): method algorithm (line 56) | def algorithm( class EllipticCurvePrivateKey (line 64) | class EllipticCurvePrivateKey(metaclass=abc.ABCMeta): method exchange (line 66) | def exchange( method public_key (line 75) | def public_key(self) -> EllipticCurvePublicKey: method curve (line 82) | def curve(self) -> EllipticCurve: method key_size (line 89) | def key_size(self) -> int: method sign (line 95) | def sign( method private_numbers (line 105) | def private_numbers(self) -> EllipticCurvePrivateNumbers: method private_bytes (line 111) | def private_bytes( method __copy__ (line 122) | def __copy__(self) -> EllipticCurvePrivateKey: method __deepcopy__ (line 128) | def __deepcopy__(self, memo: dict) -> EllipticCurvePrivateKey: class EllipticCurvePublicKey (line 138) | class EllipticCurvePublicKey(metaclass=abc.ABCMeta): method curve (line 141) | def curve(self) -> EllipticCurve: method key_size (line 148) | def key_size(self) -> int: method public_numbers (line 154) | def public_numbers(self) -> EllipticCurvePublicNumbers: method public_bytes (line 160) | def public_bytes( method verify (line 170) | def verify( method from_encoded_point (line 181) | def from_encoded_point( method __eq__ (line 195) | def __eq__(self, other: object) -> bool: method __copy__ (line 201) | def __copy__(self) -> EllipticCurvePublicKey: method __deepcopy__ (line 207) | def __deepcopy__(self, memo: dict) -> EllipticCurvePublicKey: class SECP521R1 (line 220) | class SECP521R1(EllipticCurve): class SECP384R1 (line 226) | class SECP384R1(EllipticCurve): class SECP256R1 (line 232) | class SECP256R1(EllipticCurve): class SECP256K1 (line 240) | class SECP256K1(EllipticCurve): class SECP224R1 (line 248) | class SECP224R1(EllipticCurve): class SECP192R1 (line 254) | class SECP192R1(EllipticCurve): class BrainpoolP256R1 (line 260) | class BrainpoolP256R1(EllipticCurve): class BrainpoolP384R1 (line 268) | class BrainpoolP384R1(EllipticCurve): class BrainpoolP512R1 (line 274) | class BrainpoolP512R1(EllipticCurve): class ECDSA (line 295) | class ECDSA(EllipticCurveSignatureAlgorithm): method __init__ (line 296) | def __init__( method algorithm (line 316) | def algorithm( method deterministic_signing (line 322) | def deterministic_signing( function derive_private_key (line 331) | def derive_private_key( class ECDH (line 345) | class ECDH: function get_curve_for_oid (line 362) | def get_curve_for_oid(oid: ObjectIdentifier) -> type[EllipticCurve]: FILE: src/cryptography/hazmat/primitives/asymmetric/ed25519.py class Ed25519PublicKey (line 15) | class Ed25519PublicKey(metaclass=abc.ABCMeta): method from_public_bytes (line 17) | def from_public_bytes(cls, data: bytes) -> Ed25519PublicKey: method public_bytes (line 29) | def public_bytes( method public_bytes_raw (line 39) | def public_bytes_raw(self) -> bytes: method verify (line 46) | def verify(self, signature: Buffer, data: Buffer) -> None: method __eq__ (line 52) | def __eq__(self, other: object) -> bool: method __copy__ (line 58) | def __copy__(self) -> Ed25519PublicKey: method __deepcopy__ (line 64) | def __deepcopy__(self, memo: dict) -> Ed25519PublicKey: class Ed25519PrivateKey (line 73) | class Ed25519PrivateKey(metaclass=abc.ABCMeta): method generate (line 75) | def generate(cls) -> Ed25519PrivateKey: method from_private_bytes (line 87) | def from_private_bytes(cls, data: Buffer) -> Ed25519PrivateKey: method public_key (line 99) | def public_key(self) -> Ed25519PublicKey: method private_bytes (line 105) | def private_bytes( method private_bytes_raw (line 116) | def private_bytes_raw(self) -> bytes: method sign (line 123) | def sign(self, data: Buffer) -> bytes: method __copy__ (line 129) | def __copy__(self) -> Ed25519PrivateKey: method __deepcopy__ (line 135) | def __deepcopy__(self, memo: dict) -> Ed25519PrivateKey: FILE: src/cryptography/hazmat/primitives/asymmetric/ed448.py class Ed448PublicKey (line 15) | class Ed448PublicKey(metaclass=abc.ABCMeta): method from_public_bytes (line 17) | def from_public_bytes(cls, data: bytes) -> Ed448PublicKey: method public_bytes (line 29) | def public_bytes( method public_bytes_raw (line 39) | def public_bytes_raw(self) -> bytes: method verify (line 46) | def verify(self, signature: Buffer, data: Buffer) -> None: method __eq__ (line 52) | def __eq__(self, other: object) -> bool: method __copy__ (line 58) | def __copy__(self) -> Ed448PublicKey: method __deepcopy__ (line 64) | def __deepcopy__(self, memo: dict) -> Ed448PublicKey: class Ed448PrivateKey (line 74) | class Ed448PrivateKey(metaclass=abc.ABCMeta): method generate (line 76) | def generate(cls) -> Ed448PrivateKey: method from_private_bytes (line 88) | def from_private_bytes(cls, data: Buffer) -> Ed448PrivateKey: method public_key (line 100) | def public_key(self) -> Ed448PublicKey: method sign (line 106) | def sign(self, data: Buffer) -> bytes: method private_bytes (line 112) | def private_bytes( method private_bytes_raw (line 123) | def private_bytes_raw(self) -> bytes: method __copy__ (line 130) | def __copy__(self) -> Ed448PrivateKey: method __deepcopy__ (line 136) | def __deepcopy__(self, memo: dict) -> Ed448PrivateKey: FILE: src/cryptography/hazmat/primitives/asymmetric/padding.py class PKCS1v15 (line 16) | class PKCS1v15(AsymmetricPadding): class _MaxLength (line 20) | class _MaxLength: class _Auto (line 24) | class _Auto: class _DigestLength (line 28) | class _DigestLength: class PSS (line 32) | class PSS(AsymmetricPadding): method __init__ (line 39) | def __init__( method mgf (line 60) | def mgf(self) -> MGF: class OAEP (line 64) | class OAEP(AsymmetricPadding): method __init__ (line 67) | def __init__( method algorithm (line 81) | def algorithm(self) -> hashes.HashAlgorithm: method mgf (line 85) | def mgf(self) -> MGF: class MGF (line 89) | class MGF(metaclass=abc.ABCMeta): class MGF1 (line 93) | class MGF1(MGF): method __init__ (line 94) | def __init__(self, algorithm: hashes.HashAlgorithm): function calculate_max_pss_salt_length (line 101) | def calculate_max_pss_salt_length( FILE: src/cryptography/hazmat/primitives/asymmetric/rsa.py class RSAPrivateKey (line 18) | class RSAPrivateKey(metaclass=abc.ABCMeta): method decrypt (line 20) | def decrypt(self, ciphertext: bytes, padding: AsymmetricPadding) -> by... method key_size (line 27) | def key_size(self) -> int: method public_key (line 33) | def public_key(self) -> RSAPublicKey: method sign (line 39) | def sign( method private_numbers (line 52) | def private_numbers(self) -> RSAPrivateNumbers: method private_bytes (line 58) | def private_bytes( method __copy__ (line 69) | def __copy__(self) -> RSAPrivateKey: method __deepcopy__ (line 75) | def __deepcopy__(self, memo: dict) -> RSAPrivateKey: class RSAPublicKey (line 85) | class RSAPublicKey(metaclass=abc.ABCMeta): method encrypt (line 87) | def encrypt(self, plaintext: bytes, padding: AsymmetricPadding) -> bytes: method key_size (line 94) | def key_size(self) -> int: method public_numbers (line 100) | def public_numbers(self) -> RSAPublicNumbers: method public_bytes (line 106) | def public_bytes( method verify (line 116) | def verify( method recover_data_from_signature (line 128) | def recover_data_from_signature( method __eq__ (line 139) | def __eq__(self, other: object) -> bool: method __copy__ (line 145) | def __copy__(self) -> RSAPublicKey: method __deepcopy__ (line 151) | def __deepcopy__(self, memo: dict) -> RSAPublicKey: function generate_private_key (line 164) | def generate_private_key( function _verify_rsa_parameters (line 173) | def _verify_rsa_parameters(public_exponent: int, key_size: int) -> None: function _modinv (line 184) | def _modinv(e: int, m: int) -> int: function rsa_crt_iqmp (line 197) | def rsa_crt_iqmp(p: int, q: int) -> int: function rsa_crt_dmp1 (line 206) | def rsa_crt_dmp1(private_exponent: int, p: int) -> int: function rsa_crt_dmq1 (line 216) | def rsa_crt_dmq1(private_exponent: int, q: int) -> int: function rsa_recover_private_exponent (line 226) | def rsa_recover_private_exponent(e: int, p: int, q: int) -> int: function rsa_recover_prime_factors (line 254) | def rsa_recover_prime_factors(n: int, e: int, d: int) -> tuple[int, int]: FILE: src/cryptography/hazmat/primitives/asymmetric/utils.py class NoDigestInfo (line 14) | class NoDigestInfo: class Prehashed (line 18) | class Prehashed: method __init__ (line 19) | def __init__(self, algorithm: hashes.HashAlgorithm): method digest_size (line 27) | def digest_size(self) -> int: FILE: src/cryptography/hazmat/primitives/asymmetric/x25519.py class X25519PublicKey (line 15) | class X25519PublicKey(metaclass=abc.ABCMeta): method from_public_bytes (line 17) | def from_public_bytes(cls, data: bytes) -> X25519PublicKey: method public_bytes (line 29) | def public_bytes( method public_bytes_raw (line 39) | def public_bytes_raw(self) -> bytes: method __eq__ (line 46) | def __eq__(self, other: object) -> bool: method __copy__ (line 52) | def __copy__(self) -> X25519PublicKey: method __deepcopy__ (line 58) | def __deepcopy__(self, memo: dict) -> X25519PublicKey: class X25519PrivateKey (line 67) | class X25519PrivateKey(metaclass=abc.ABCMeta): method generate (line 69) | def generate(cls) -> X25519PrivateKey: method from_private_bytes (line 80) | def from_private_bytes(cls, data: Buffer) -> X25519PrivateKey: method public_key (line 92) | def public_key(self) -> X25519PublicKey: method private_bytes (line 98) | def private_bytes( method private_bytes_raw (line 109) | def private_bytes_raw(self) -> bytes: method exchange (line 116) | def exchange(self, peer_public_key: X25519PublicKey) -> bytes: method __copy__ (line 122) | def __copy__(self) -> X25519PrivateKey: method __deepcopy__ (line 128) | def __deepcopy__(self, memo: dict) -> X25519PrivateKey: FILE: src/cryptography/hazmat/primitives/asymmetric/x448.py class X448PublicKey (line 15) | class X448PublicKey(metaclass=abc.ABCMeta): method from_public_bytes (line 17) | def from_public_bytes(cls, data: bytes) -> X448PublicKey: method public_bytes (line 29) | def public_bytes( method public_bytes_raw (line 39) | def public_bytes_raw(self) -> bytes: method __eq__ (line 46) | def __eq__(self, other: object) -> bool: method __copy__ (line 52) | def __copy__(self) -> X448PublicKey: method __deepcopy__ (line 58) | def __deepcopy__(self, memo: dict) -> X448PublicKey: class X448PrivateKey (line 68) | class X448PrivateKey(metaclass=abc.ABCMeta): method generate (line 70) | def generate(cls) -> X448PrivateKey: method from_private_bytes (line 82) | def from_private_bytes(cls, data: Buffer) -> X448PrivateKey: method public_key (line 94) | def public_key(self) -> X448PublicKey: method private_bytes (line 100) | def private_bytes( method private_bytes_raw (line 111) | def private_bytes_raw(self) -> bytes: method exchange (line 118) | def exchange(self, peer_public_key: X448PublicKey) -> bytes: method __copy__ (line 124) | def __copy__(self) -> X448PrivateKey: method __deepcopy__ (line 130) | def __deepcopy__(self, memo: dict) -> X448PrivateKey: FILE: src/cryptography/hazmat/primitives/ciphers/algorithms.py class AES (line 36) | class AES(BlockCipherAlgorithm): method __init__ (line 42) | def __init__(self, key: utils.Buffer): method key_size (line 46) | def key_size(self) -> int: class AES128 (line 50) | class AES128(BlockCipherAlgorithm): method __init__ (line 56) | def __init__(self, key: utils.Buffer): class AES256 (line 60) | class AES256(BlockCipherAlgorithm): method __init__ (line 66) | def __init__(self, key: utils.Buffer): class ChaCha20 (line 106) | class ChaCha20(CipherAlgorithm): method __init__ (line 110) | def __init__(self, key: utils.Buffer, nonce: utils.Buffer): method nonce (line 120) | def nonce(self) -> utils.Buffer: method key_size (line 124) | def key_size(self) -> int: class SM4 (line 128) | class SM4(BlockCipherAlgorithm): method __init__ (line 133) | def __init__(self, key: bytes): method key_size (line 137) | def key_size(self) -> int: FILE: src/cryptography/hazmat/primitives/ciphers/base.py class CipherContext (line 16) | class CipherContext(metaclass=abc.ABCMeta): method update (line 18) | def update(self, data: Buffer) -> bytes: method update_into (line 25) | def update_into(self, data: Buffer, buf: Buffer) -> int: method finalize (line 32) | def finalize(self) -> bytes: method reset_nonce (line 38) | def reset_nonce(self, nonce: bytes) -> None: class AEADCipherContext (line 46) | class AEADCipherContext(CipherContext, metaclass=abc.ABCMeta): method authenticate_additional_data (line 48) | def authenticate_additional_data(self, data: Buffer) -> None: class AEADDecryptionContext (line 54) | class AEADDecryptionContext(AEADCipherContext, metaclass=abc.ABCMeta): method finalize_with_tag (line 56) | def finalize_with_tag(self, tag: bytes) -> bytes: class AEADEncryptionContext (line 63) | class AEADEncryptionContext(AEADCipherContext, metaclass=abc.ABCMeta): method tag (line 66) | def tag(self) -> bytes: class Cipher (line 78) | class Cipher(typing.Generic[Mode]): method __init__ (line 79) | def __init__( method encryptor (line 98) | def encryptor( method encryptor (line 103) | def encryptor( method encryptor (line 107) | def encryptor(self): method decryptor (line 119) | def decryptor( method decryptor (line 124) | def decryptor( method decryptor (line 128) | def decryptor(self): FILE: src/cryptography/hazmat/primitives/ciphers/modes.py class CBC (line 39) | class CBC(ModeWithInitializationVector): method __init__ (line 42) | def __init__(self, initialization_vector: utils.Buffer): method initialization_vector (line 47) | def initialization_vector(self) -> utils.Buffer: class XTS (line 53) | class XTS(ModeWithTweak): method __init__ (line 56) | def __init__(self, tweak: utils.Buffer): method tweak (line 65) | def tweak(self) -> utils.Buffer: method validate_for_algorithm (line 68) | def validate_for_algorithm(self, algorithm: CipherAlgorithm) -> None: class ECB (line 82) | class ECB(Mode): class CTR (line 88) | class CTR(ModeWithNonce): method __init__ (line 91) | def __init__(self, nonce: utils.Buffer): method nonce (line 96) | def nonce(self) -> utils.Buffer: method validate_for_algorithm (line 99) | def validate_for_algorithm(self, algorithm: CipherAlgorithm) -> None: class GCM (line 104) | class GCM(ModeWithInitializationVector, ModeWithAuthenticationTag): method __init__ (line 109) | def __init__( method tag (line 137) | def tag(self) -> bytes | None: method initialization_vector (line 141) | def initialization_vector(self) -> utils.Buffer: method validate_for_algorithm (line 144) | def validate_for_algorithm(self, algorithm: CipherAlgorithm) -> None: FILE: src/cryptography/hazmat/primitives/constant_time.py function bytes_eq (line 10) | def bytes_eq(a: bytes, b: bytes) -> bool: FILE: src/cryptography/hazmat/primitives/hashes.py class HashAlgorithm (line 38) | class HashAlgorithm(metaclass=abc.ABCMeta): method name (line 41) | def name(self) -> str: method digest_size (line 48) | def digest_size(self) -> int: method block_size (line 55) | def block_size(self) -> int | None: class HashContext (line 62) | class HashContext(metaclass=abc.ABCMeta): method algorithm (line 65) | def algorithm(self) -> HashAlgorithm: method update (line 71) | def update(self, data: Buffer) -> None: method finalize (line 77) | def finalize(self) -> bytes: method copy (line 83) | def copy(self) -> HashContext: class ExtendableOutputFunction (line 95) | class ExtendableOutputFunction(metaclass=abc.ABCMeta): class SHA1 (line 101) | class SHA1(HashAlgorithm): class SHA512_224 (line 107) | class SHA512_224(HashAlgorithm): # noqa: N801 class SHA512_256 (line 113) | class SHA512_256(HashAlgorithm): # noqa: N801 class SHA224 (line 119) | class SHA224(HashAlgorithm): class SHA256 (line 125) | class SHA256(HashAlgorithm): class SHA384 (line 131) | class SHA384(HashAlgorithm): class SHA512 (line 137) | class SHA512(HashAlgorithm): class SHA3_224 (line 143) | class SHA3_224(HashAlgorithm): # noqa: N801 class SHA3_256 (line 149) | class SHA3_256(HashAlgorithm): # noqa: N801 class SHA3_384 (line 155) | class SHA3_384(HashAlgorithm): # noqa: N801 class SHA3_512 (line 161) | class SHA3_512(HashAlgorithm): # noqa: N801 class SHAKE128 (line 167) | class SHAKE128(HashAlgorithm, ExtendableOutputFunction): method __init__ (line 171) | def __init__(self, digest_size: int): method digest_size (line 181) | def digest_size(self) -> int: class SHAKE256 (line 185) | class SHAKE256(HashAlgorithm, ExtendableOutputFunction): method __init__ (line 189) | def __init__(self, digest_size: int): method digest_size (line 199) | def digest_size(self) -> int: class MD5 (line 203) | class MD5(HashAlgorithm): class BLAKE2b (line 209) | class BLAKE2b(HashAlgorithm): method __init__ (line 215) | def __init__(self, digest_size: int): method digest_size (line 222) | def digest_size(self) -> int: class BLAKE2s (line 226) | class BLAKE2s(HashAlgorithm): method __init__ (line 232) | def __init__(self, digest_size: int): method digest_size (line 239) | def digest_size(self) -> int: class SM3 (line 243) | class SM3(HashAlgorithm): FILE: src/cryptography/hazmat/primitives/kdf/__init__.py class KeyDerivationFunction (line 12) | class KeyDerivationFunction(metaclass=abc.ABCMeta): method derive (line 14) | def derive(self, key_material: bytes) -> bytes: method derive_into (line 21) | def derive_into(self, key_material: bytes, buffer: Buffer) -> None: method verify (line 28) | def verify(self, key_material: bytes, expected_key: bytes) -> None: FILE: src/cryptography/hazmat/primitives/kdf/kbkdf.py class Mode (line 12) | class Mode(utils.Enum): class CounterLocation (line 16) | class CounterLocation(utils.Enum): FILE: src/cryptography/hazmat/primitives/keywrap.py function _wrap_core (line 15) | def _wrap_core( function aes_key_wrap (line 39) | def aes_key_wrap( function _unwrap_core (line 58) | def _unwrap_core( function aes_key_wrap_with_padding (line 81) | def aes_key_wrap_with_padding( function aes_key_unwrap_with_padding (line 106) | def aes_key_unwrap_with_padding( function aes_key_unwrap (line 152) | def aes_key_unwrap( class InvalidUnwrap (line 176) | class InvalidUnwrap(Exception): FILE: src/cryptography/hazmat/primitives/padding.py class PaddingContext (line 18) | class PaddingContext(metaclass=abc.ABCMeta): method update (line 20) | def update(self, data: utils.Buffer) -> bytes: method finalize (line 26) | def finalize(self) -> bytes: function _byte_padding_check (line 32) | def _byte_padding_check(block_size: int) -> None: class PKCS7 (line 40) | class PKCS7: method __init__ (line 41) | def __init__(self, block_size: int): method padder (line 45) | def padder(self) -> PaddingContext: method unpadder (line 48) | def unpadder(self) -> PaddingContext: class ANSIX923 (line 56) | class ANSIX923: method __init__ (line 57) | def __init__(self, block_size: int): method padder (line 61) | def padder(self) -> PaddingContext: method unpadder (line 64) | def unpadder(self) -> PaddingContext: FILE: src/cryptography/hazmat/primitives/serialization/pkcs12.py class PKCS12KeyAndCertificates (line 46) | class PKCS12KeyAndCertificates: method __init__ (line 47) | def __init__( method key (line 82) | def key(self) -> PrivateKeyTypes | None: method cert (line 86) | def cert(self) -> PKCS12Certificate | None: method additional_certs (line 90) | def additional_certs(self) -> list[PKCS12Certificate]: method __eq__ (line 93) | def __eq__(self, other: object) -> bool: method __hash__ (line 103) | def __hash__(self) -> int: method __repr__ (line 106) | def __repr__(self) -> str: function serialize_java_truststore (line 123) | def serialize_java_truststore( function serialize_key_and_certificates (line 141) | def serialize_key_and_certificates( FILE: src/cryptography/hazmat/primitives/serialization/pkcs7.py class PKCS7Options (line 47) | class PKCS7Options(utils.Enum): class PKCS7SignatureBuilder (line 56) | class PKCS7SignatureBuilder: method __init__ (line 57) | def __init__( method set_data (line 74) | def set_data(self, data: utils.Buffer) -> PKCS7SignatureBuilder: method add_signer (line 81) | def add_signer( method add_certificate (line 124) | def add_certificate( method sign (line 134) | def sign( class PKCS7EnvelopeBuilder (line 189) | class PKCS7EnvelopeBuilder: method __init__ (line 190) | def __init__( method set_data (line 212) | def set_data(self, data: bytes) -> PKCS7EnvelopeBuilder: method add_recipient (line 223) | def add_recipient( method set_content_encryption_algorithm (line 242) | def set_content_encryption_algorithm( method encrypt (line 259) | def encrypt( function _smime_signed_encode (line 313) | def _smime_signed_encode( function _smime_enveloped_encode (line 361) | def _smime_enveloped_encode(data: bytes) -> bytes: function _smime_enveloped_decode (line 378) | def _smime_enveloped_decode(data: bytes) -> bytes: function _smime_remove_text_headers (line 388) | def _smime_remove_text_headers(data: bytes) -> bytes: class OpenSSLMimePart (line 406) | class OpenSSLMimePart(email.message.MIMEPart): method _write_headers (line 409) | def _write_headers(self, generator) -> None: FILE: src/cryptography/hazmat/primitives/serialization/ssh.py function _bcrypt_kdf (line 49) | def _bcrypt_kdf( class _SSHCipher (line 93) | class _SSHCipher: function _get_ssh_key_type (line 142) | def _get_ssh_key_type(key: SSHPrivateKeyTypes | SSHPublicKeyTypes) -> by... function _ecdsa_key_type (line 161) | def _ecdsa_key_type(public_key: ec.EllipticCurvePublicKey) -> bytes: function _ssh_pem_encode (line 171) | def _ssh_pem_encode( function _check_block_size (line 179) | def _check_block_size(data: utils.Buffer, block_len: int) -> None: function _check_empty (line 185) | def _check_empty(data: utils.Buffer) -> None: function _init_cipher (line 191) | def _init_cipher( function _get_u32 (line 213) | def _get_u32(data: memoryview) -> tuple[int, memoryview]: function _get_u64 (line 220) | def _get_u64(data: memoryview) -> tuple[int, memoryview]: function _get_sshstr (line 227) | def _get_sshstr(data: memoryview) -> tuple[memoryview, memoryview]: function _get_mpint (line 235) | def _get_mpint(data: memoryview) -> tuple[int, memoryview]: function _to_mpint (line 243) | def _to_mpint(val: int) -> bytes: class _FragList (line 253) | class _FragList: method __init__ (line 258) | def __init__(self, init: list[utils.Buffer] | None = None) -> None: method put_raw (line 263) | def put_raw(self, val: utils.Buffer) -> None: method put_u32 (line 267) | def put_u32(self, val: int) -> None: method put_u64 (line 271) | def put_u64(self, val: int) -> None: method put_sshstr (line 275) | def put_sshstr(self, val: bytes | _FragList) -> None: method put_mpint (line 284) | def put_mpint(self, val: int) -> None: method size (line 288) | def size(self) -> int: method render (line 292) | def render(self, dstbuf: memoryview, pos: int = 0) -> int: method tobytes (line 300) | def tobytes(self) -> bytes: class _SSHFormatRSA (line 307) | class _SSHFormatRSA: method get_public (line 316) | def get_public( method load_public (line 324) | def load_public( method load_private (line 333) | def load_private( method encode_public (line 357) | def encode_public( method encode_private (line 365) | def encode_private( class _SSHFormatDSA (line 381) | class _SSHFormatDSA: method get_public (line 390) | def get_public(self, data: memoryview) -> tuple[tuple, memoryview]: method load_public (line 398) | def load_public( method load_private (line 409) | def load_private( method encode_public (line 425) | def encode_public( method encode_private (line 438) | def encode_private( method _validate (line 445) | def _validate(self, public_numbers: dsa.DSAPublicNumbers) -> None: class _SSHFormatECDSA (line 451) | class _SSHFormatECDSA: method __init__ (line 463) | def __init__(self, ssh_curve_name: bytes, curve: ec.EllipticCurve): method get_public (line 467) | def get_public( method load_public (line 481) | def load_public( method load_private (line 491) | def load_private( method encode_public (line 503) | def encode_public( method encode_private (line 513) | def encode_private( class _SSHFormatEd25519 (line 524) | class _SSHFormatEd25519: method get_public (line 534) | def get_public( method load_public (line 541) | def load_public( method load_private (line 551) | def load_private( method encode_public (line 565) | def encode_public( method encode_private (line 574) | def encode_private( function load_application (line 591) | def load_application(data) -> tuple[memoryview, memoryview]: class _SSHFormatSKEd25519 (line 604) | class _SSHFormatSKEd25519: method load_public (line 613) | def load_public( method get_public (line 621) | def get_public(self, data: memoryview) -> typing.NoReturn: class _SSHFormatSKECDSA (line 629) | class _SSHFormatSKECDSA: method load_public (line 639) | def load_public( method get_public (line 647) | def get_public(self, data: memoryview) -> typing.NoReturn: function _lookup_kformat (line 667) | def _lookup_kformat(key_type: utils.Buffer): function load_ssh_private_key (line 684) | def load_ssh_private_key( function _serialize_ssh_private_key (line 798) | def _serialize_ssh_private_key( class SSHCertificateType (line 889) | class SSHCertificateType(enum.Enum): class SSHCertificate (line 894) | class SSHCertificate: method __init__ (line 895) | def __init__( method nonce (line 937) | def nonce(self) -> bytes: method public_key (line 940) | def public_key(self) -> SSHCertPublicKeyTypes: method serial (line 946) | def serial(self) -> int: method type (line 950) | def type(self) -> SSHCertificateType: method key_id (line 954) | def key_id(self) -> bytes: method valid_principals (line 958) | def valid_principals(self) -> list[bytes]: method valid_before (line 962) | def valid_before(self) -> int: method valid_after (line 966) | def valid_after(self) -> int: method critical_options (line 970) | def critical_options(self) -> dict[bytes, bytes]: method extensions (line 974) | def extensions(self) -> dict[bytes, bytes]: method signature_key (line 977) | def signature_key(self) -> SSHCertPublicKeyTypes: method public_bytes (line 983) | def public_bytes(self) -> bytes: method verify_cert_signature (line 990) | def verify_cert_signature(self) -> None: function _get_ec_hash_alg (line 1023) | def _get_ec_hash_alg(curve: ec.EllipticCurve) -> hashes.HashAlgorithm: function _load_ssh_public_identity (line 1033) | def _load_ssh_public_identity( function load_ssh_public_identity (line 1128) | def load_ssh_public_identity( function _parse_exts_opts (line 1134) | def _parse_exts_opts(exts_opts: memoryview) -> dict[bytes, bytes]: function ssh_key_fingerprint (line 1154) | def ssh_key_fingerprint( function load_ssh_public_key (line 1176) | def load_ssh_public_key( function serialize_ssh_public_key (line 1196) | def serialize_ssh_public_key(public_key: SSHPublicKeyTypes) -> bytes: class SSHCertificateBuilder (line 1228) | class SSHCertificateBuilder: method __init__ (line 1229) | def __init__( method public_key (line 1253) | def public_key( method serial (line 1281) | def serial(self, serial: int) -> SSHCertificateBuilder: method type (line 1302) | def type(self, type: SSHCertificateType) -> SSHCertificateBuilder: method key_id (line 1321) | def key_id(self, key_id: bytes) -> SSHCertificateBuilder: method valid_principals (line 1340) | def valid_principals( method valid_for_all_principals (line 1376) | def valid_for_all_principals(self): method valid_before (line 1398) | def valid_before(self, valid_before: int | float) -> SSHCertificateBui... method valid_after (line 1420) | def valid_after(self, valid_after: int | float) -> SSHCertificateBuilder: method add_critical_option (line 1442) | def add_critical_option( method add_extension (line 1464) | def add_extension( method sign (line 1486) | def sign(self, private_key: SSHCertPrivateKeyTypes) -> SSHCertificate: FILE: src/cryptography/hazmat/primitives/twofactor/__init__.py class InvalidToken (line 8) | class InvalidToken(Exception): FILE: src/cryptography/hazmat/primitives/twofactor/hotp.py function _generate_uri (line 19) | def _generate_uri( class HOTP (line 45) | class HOTP: method __init__ (line 46) | def __init__( method generate (line 70) | def generate(self, counter: int) -> bytes: method verify (line 78) | def verify(self, hotp: bytes, counter: int) -> None: method _dynamic_truncate (line 82) | def _dynamic_truncate(self, counter: int) -> int: method get_provisioning_uri (line 96) | def get_provisioning_uri( FILE: src/cryptography/hazmat/primitives/twofactor/totp.py class TOTP (line 19) | class TOTP: method __init__ (line 20) | def __init__( method generate (line 34) | def generate(self, time: int | float) -> bytes: method verify (line 43) | def verify(self, totp: bytes, time: int) -> None: method get_provisioning_uri (line 47) | def get_provisioning_uri( FILE: src/cryptography/utils.py class CryptographyDeprecationWarning (line 17) | class CryptographyDeprecationWarning(UserWarning): function _check_bytes (line 42) | def _check_bytes(name: str, value: bytes) -> None: function _check_byteslike (line 47) | def _check_byteslike(name: str, value: Buffer) -> None: function int_to_bytes (line 54) | def int_to_bytes(integer: int, length: int | None = None) -> bytes: class InterfaceNotImplemented (line 62) | class InterfaceNotImplemented(Exception): class _DeprecatedValue (line 66) | class _DeprecatedValue: method __init__ (line 67) | def __init__(self, value: object, message: str, warning_class): class _ModuleWithDeprecations (line 73) | class _ModuleWithDeprecations(types.ModuleType): method __init__ (line 74) | def __init__(self, module: types.ModuleType): method __getattr__ (line 78) | def __getattr__(self, name: str) -> typing.Any: method __setattr__ (line 85) | def __setattr__(self, attr: str, value: object) -> None: method __delattr__ (line 88) | def __delattr__(self, attr: str) -> None: method __dir__ (line 95) | def __dir__(self) -> Sequence[str]: function deprecated (line 99) | def deprecated( function cached_property (line 116) | def cached_property(func: Callable) -> property: class Enum (line 133) | class Enum(enum.Enum): method __repr__ (line 134) | def __repr__(self) -> str: method __str__ (line 137) | def __str__(self) -> str: FILE: src/cryptography/x509/base.py class AttributeNotFound (line 53) | class AttributeNotFound(Exception): method __init__ (line 54) | def __init__(self, msg: str, oid: ObjectIdentifier) -> None: function _reject_duplicate_extension (line 59) | def _reject_duplicate_extension( function _reject_duplicate_attribute (line 69) | def _reject_duplicate_attribute( function _convert_to_naive_utc_time (line 79) | def _convert_to_naive_utc_time(time: datetime.datetime) -> datetime.date... class Attribute (line 93) | class Attribute: method __init__ (line 94) | def __init__( method oid (line 105) | def oid(self) -> ObjectIdentifier: method value (line 109) | def value(self) -> bytes: method __repr__ (line 112) | def __repr__(self) -> str: method __eq__ (line 115) | def __eq__(self, other: object) -> bool: method __hash__ (line 125) | def __hash__(self) -> int: class Attributes (line 129) | class Attributes: method __init__ (line 130) | def __init__( method __repr__ (line 138) | def __repr__(self) -> str: method get_attribute_for_oid (line 141) | def get_attribute_for_oid(self, oid: ObjectIdentifier) -> Attribute: class Version (line 149) | class Version(utils.Enum): class InvalidVersion (line 154) | class InvalidVersion(Exception): method __init__ (line 155) | def __init__(self, msg: str, parsed_version: int) -> None: class CertificateSigningRequestBuilder (line 180) | class CertificateSigningRequestBuilder: method __init__ (line 181) | def __init__( method subject_name (line 194) | def subject_name(self, name: Name) -> CertificateSigningRequestBuilder: method add_extension (line 206) | def add_extension( method add_attribute (line 224) | def add_attribute( method sign (line 256) | def sign( class CertificateBuilder (line 292) | class CertificateBuilder: method __init__ (line 295) | def __init__( method issuer_name (line 314) | def issuer_name(self, name: Name) -> CertificateBuilder: method subject_name (line 332) | def subject_name(self, name: Name) -> CertificateBuilder: method public_key (line 350) | def public_key( method serial_number (line 387) | def serial_number(self, number: int) -> CertificateBuilder: method not_valid_before (line 414) | def not_valid_before(self, time: datetime.datetime) -> CertificateBuil... method not_valid_after (line 443) | def not_valid_after(self, time: datetime.datetime) -> CertificateBuilder: method add_extension (line 474) | def add_extension( method sign (line 496) | def sign( class CertificateRevocationListBuilder (line 547) | class CertificateRevocationListBuilder: method __init__ (line 551) | def __init__( method issuer_name (line 565) | def issuer_name( method last_update (line 580) | def last_update( method next_update (line 604) | def next_update( method add_extension (line 628) | def add_extension( method add_revoked_certificate (line 647) | def add_revoked_certificate( method sign (line 664) | def sign( class RevokedCertificateBuilder (line 703) | class RevokedCertificateBuilder: method __init__ (line 704) | def __init__( method serial_number (line 714) | def serial_number(self, number: int) -> RevokedCertificateBuilder: method revocation_date (line 732) | def revocation_date( method add_extension (line 748) | def add_extension( method build (line 762) | def build(self, backend: typing.Any = None) -> RevokedCertificate: function random_serial_number (line 772) | def random_serial_number() -> int: FILE: src/cryptography/x509/certificate_transparency.py class LogEntryType (line 11) | class LogEntryType(utils.Enum): class Version (line 16) | class Version(utils.Enum): class SignatureAlgorithm (line 20) | class SignatureAlgorithm(utils.Enum): FILE: src/cryptography/x509/extensions.py function _key_identifier_from_public_key (line 51) | def _key_identifier_from_public_key( function _make_sequence_methods (line 75) | def _make_sequence_methods(field_name: str): class DuplicateExtension (line 88) | class DuplicateExtension(Exception): method __init__ (line 89) | def __init__(self, msg: str, oid: ObjectIdentifier) -> None: class ExtensionNotFound (line 94) | class ExtensionNotFound(Exception): method __init__ (line 95) | def __init__(self, msg: str, oid: ObjectIdentifier) -> None: class ExtensionType (line 100) | class ExtensionType(metaclass=abc.ABCMeta): method public_bytes (line 103) | def public_bytes(self) -> bytes: class Extensions (line 112) | class Extensions: method __init__ (line 113) | def __init__(self, extensions: Iterable[Extension[ExtensionType]]) -> ... method get_extension_for_oid (line 116) | def get_extension_for_oid( method get_extension_for_class (line 125) | def get_extension_for_class( method __repr__ (line 145) | def __repr__(self) -> str: class CRLNumber (line 149) | class CRLNumber(ExtensionType): method __init__ (line 152) | def __init__(self, crl_number: int) -> None: method __eq__ (line 158) | def __eq__(self, other: object) -> bool: method __hash__ (line 164) | def __hash__(self) -> int: method __repr__ (line 167) | def __repr__(self) -> str: method crl_number (line 171) | def crl_number(self) -> int: method public_bytes (line 174) | def public_bytes(self) -> bytes: class AuthorityKeyIdentifier (line 178) | class AuthorityKeyIdentifier(ExtensionType): method __init__ (line 181) | def __init__( method from_issuer_public_key (line 220) | def from_issuer_public_key( method from_issuer_subject_key_identifier (line 231) | def from_issuer_subject_key_identifier( method __repr__ (line 240) | def __repr__(self) -> str: method __eq__ (line 248) | def __eq__(self, other: object) -> bool: method __hash__ (line 259) | def __hash__(self) -> int: method key_identifier (line 269) | def key_identifier(self) -> bytes | None: method authority_cert_issuer (line 273) | def authority_cert_issuer( method authority_cert_serial_number (line 279) | def authority_cert_serial_number(self) -> int | None: method public_bytes (line 282) | def public_bytes(self) -> bytes: class SubjectKeyIdentifier (line 286) | class SubjectKeyIdentifier(ExtensionType): method __init__ (line 289) | def __init__(self, digest: bytes) -> None: method from_public_key (line 293) | def from_public_key( method digest (line 299) | def digest(self) -> bytes: method key_identifier (line 303) | def key_identifier(self) -> bytes: method __repr__ (line 306) | def __repr__(self) -> str: method __eq__ (line 309) | def __eq__(self, other: object) -> bool: method __hash__ (line 315) | def __hash__(self) -> int: method public_bytes (line 318) | def public_bytes(self) -> bytes: class AuthorityInformationAccess (line 322) | class AuthorityInformationAccess(ExtensionType): method __init__ (line 325) | def __init__(self, descriptions: Iterable[AccessDescription]) -> None: method __repr__ (line 337) | def __repr__(self) -> str: method __eq__ (line 340) | def __eq__(self, other: object) -> bool: method __hash__ (line 346) | def __hash__(self) -> int: method public_bytes (line 349) | def public_bytes(self) -> bytes: class SubjectInformationAccess (line 353) | class SubjectInformationAccess(ExtensionType): method __init__ (line 356) | def __init__(self, descriptions: Iterable[AccessDescription]) -> None: method __repr__ (line 368) | def __repr__(self) -> str: method __eq__ (line 371) | def __eq__(self, other: object) -> bool: method __hash__ (line 377) | def __hash__(self) -> int: method public_bytes (line 380) | def public_bytes(self) -> bytes: class AccessDescription (line 384) | class AccessDescription: method __init__ (line 385) | def __init__( method __repr__ (line 397) | def __repr__(self) -> str: method __eq__ (line 403) | def __eq__(self, other: object) -> bool: method __hash__ (line 412) | def __hash__(self) -> int: method access_method (line 416) | def access_method(self) -> ObjectIdentifier: method access_location (line 420) | def access_location(self) -> GeneralName: class BasicConstraints (line 424) | class BasicConstraints(ExtensionType): method __init__ (line 427) | def __init__(self, ca: bool, path_length: int | None) -> None: method ca (line 445) | def ca(self) -> bool: method path_length (line 449) | def path_length(self) -> int | None: method __repr__ (line 452) | def __repr__(self) -> str: method __eq__ (line 457) | def __eq__(self, other: object) -> bool: method __hash__ (line 463) | def __hash__(self) -> int: method public_bytes (line 466) | def public_bytes(self) -> bytes: class DeltaCRLIndicator (line 470) | class DeltaCRLIndicator(ExtensionType): method __init__ (line 473) | def __init__(self, crl_number: int) -> None: method crl_number (line 480) | def crl_number(self) -> int: method __eq__ (line 483) | def __eq__(self, other: object) -> bool: method __hash__ (line 489) | def __hash__(self) -> int: method __repr__ (line 492) | def __repr__(self) -> str: method public_bytes (line 495) | def public_bytes(self) -> bytes: class CRLDistributionPoints (line 499) | class CRLDistributionPoints(ExtensionType): method __init__ (line 502) | def __init__( method __repr__ (line 520) | def __repr__(self) -> str: method __eq__ (line 523) | def __eq__(self, other: object) -> bool: method __hash__ (line 529) | def __hash__(self) -> int: method public_bytes (line 532) | def public_bytes(self) -> bytes: class FreshestCRL (line 536) | class FreshestCRL(ExtensionType): method __init__ (line 539) | def __init__( method __repr__ (line 557) | def __repr__(self) -> str: method __eq__ (line 560) | def __eq__(self, other: object) -> bool: method __hash__ (line 566) | def __hash__(self) -> int: method public_bytes (line 569) | def public_bytes(self) -> bytes: class DistributionPoint (line 573) | class DistributionPoint: method __init__ (line 574) | def __init__( method __repr__ (line 632) | def __repr__(self) -> str: method __eq__ (line 639) | def __eq__(self, other: object) -> bool: method __hash__ (line 650) | def __hash__(self) -> int: method full_name (line 664) | def full_name(self) -> list[GeneralName] | None: method relative_name (line 668) | def relative_name(self) -> RelativeDistinguishedName | None: method reasons (line 672) | def reasons(self) -> frozenset[ReasonFlags] | None: method crl_issuer (line 676) | def crl_issuer(self) -> list[GeneralName] | None: class ReasonFlags (line 680) | class ReasonFlags(utils.Enum): class PolicyConstraints (line 753) | class PolicyConstraints(ExtensionType): method __init__ (line 756) | def __init__( method __repr__ (line 785) | def __repr__(self) -> str: method __eq__ (line 792) | def __eq__(self, other: object) -> bool: method __hash__ (line 801) | def __hash__(self) -> int: method require_explicit_policy (line 807) | def require_explicit_policy(self) -> int | None: method inhibit_policy_mapping (line 811) | def inhibit_policy_mapping(self) -> int | None: method public_bytes (line 814) | def public_bytes(self) -> bytes: class CertificatePolicies (line 818) | class CertificatePolicies(ExtensionType): method __init__ (line 821) | def __init__(self, policies: Iterable[PolicyInformation]) -> None: method __repr__ (line 832) | def __repr__(self) -> str: method __eq__ (line 835) | def __eq__(self, other: object) -> bool: method __hash__ (line 841) | def __hash__(self) -> int: method public_bytes (line 844) | def public_bytes(self) -> bytes: class PolicyInformation (line 848) | class PolicyInformation: method __init__ (line 849) | def __init__( method __repr__ (line 871) | def __repr__(self) -> str: method __eq__ (line 877) | def __eq__(self, other: object) -> bool: method __hash__ (line 886) | def __hash__(self) -> int: method policy_identifier (line 895) | def policy_identifier(self) -> ObjectIdentifier: method policy_qualifiers (line 899) | def policy_qualifiers( class UserNotice (line 905) | class UserNotice: method __init__ (line 906) | def __init__( method __repr__ (line 921) | def __repr__(self) -> str: method __eq__ (line 927) | def __eq__(self, other: object) -> bool: method __hash__ (line 936) | def __hash__(self) -> int: method notice_reference (line 940) | def notice_reference(self) -> NoticeReference | None: method explicit_text (line 944) | def explicit_text(self) -> str | None: class NoticeReference (line 948) | class NoticeReference: method __init__ (line 949) | def __init__( method __repr__ (line 961) | def __repr__(self) -> str: method __eq__ (line 967) | def __eq__(self, other: object) -> bool: method __hash__ (line 976) | def __hash__(self) -> int: method organization (line 980) | def organization(self) -> str | None: method notice_numbers (line 984) | def notice_numbers(self) -> list[int]: class ExtendedKeyUsage (line 988) | class ExtendedKeyUsage(ExtensionType): method __init__ (line 991) | def __init__(self, usages: Iterable[ObjectIdentifier]) -> None: method __repr__ (line 1002) | def __repr__(self) -> str: method __eq__ (line 1005) | def __eq__(self, other: object) -> bool: method __hash__ (line 1011) | def __hash__(self) -> int: method public_bytes (line 1014) | def public_bytes(self) -> bytes: class OCSPNoCheck (line 1018) | class OCSPNoCheck(ExtensionType): method __eq__ (line 1021) | def __eq__(self, other: object) -> bool: method __hash__ (line 1027) | def __hash__(self) -> int: method __repr__ (line 1030) | def __repr__(self) -> str: method public_bytes (line 1033) | def public_bytes(self) -> bytes: class PrecertPoison (line 1037) | class PrecertPoison(ExtensionType): method __eq__ (line 1040) | def __eq__(self, other: object) -> bool: method __hash__ (line 1046) | def __hash__(self) -> int: method __repr__ (line 1049) | def __repr__(self) -> str: method public_bytes (line 1052) | def public_bytes(self) -> bytes: class TLSFeature (line 1056) | class TLSFeature(ExtensionType): method __init__ (line 1059) | def __init__(self, features: Iterable[TLSFeatureType]) -> None: method __repr__ (line 1074) | def __repr__(self) -> str: method __eq__ (line 1077) | def __eq__(self, other: object) -> bool: method __hash__ (line 1083) | def __hash__(self) -> int: method public_bytes (line 1086) | def public_bytes(self) -> bytes: class TLSFeatureType (line 1090) | class TLSFeatureType(utils.Enum): class InhibitAnyPolicy (line 1104) | class InhibitAnyPolicy(ExtensionType): method __init__ (line 1107) | def __init__(self, skip_certs: int) -> None: method __repr__ (line 1116) | def __repr__(self) -> str: method __eq__ (line 1119) | def __eq__(self, other: object) -> bool: method __hash__ (line 1125) | def __hash__(self) -> int: method skip_certs (line 1129) | def skip_certs(self) -> int: method public_bytes (line 1132) | def public_bytes(self) -> bytes: class KeyUsage (line 1136) | class KeyUsage(ExtensionType): method __init__ (line 1139) | def __init__( method digital_signature (line 1168) | def digital_signature(self) -> bool: method content_commitment (line 1172) | def content_commitment(self) -> bool: method key_encipherment (line 1176) | def key_encipherment(self) -> bool: method data_encipherment (line 1180) | def data_encipherment(self) -> bool: method key_agreement (line 1184) | def key_agreement(self) -> bool: method key_cert_sign (line 1188) | def key_cert_sign(self) -> bool: method crl_sign (line 1192) | def crl_sign(self) -> bool: method encipher_only (line 1196) | def encipher_only(self) -> bool: method decipher_only (line 1205) | def decipher_only(self) -> bool: method __repr__ (line 1213) | def __repr__(self) -> str: method __eq__ (line 1234) | def __eq__(self, other: object) -> bool: method __hash__ (line 1250) | def __hash__(self) -> int: method public_bytes (line 1265) | def public_bytes(self) -> bytes: class PrivateKeyUsagePeriod (line 1269) | class PrivateKeyUsagePeriod(ExtensionType): method __init__ (line 1272) | def __init__( method not_before (line 1305) | def not_before(self) -> datetime.datetime | None: method not_after (line 1309) | def not_after(self) -> datetime.datetime | None: method __repr__ (line 1312) | def __repr__(self) -> str: method __eq__ (line 1318) | def __eq__(self, other: object) -> bool: method __hash__ (line 1327) | def __hash__(self) -> int: method public_bytes (line 1330) | def public_bytes(self) -> bytes: class NameConstraints (line 1334) | class NameConstraints(ExtensionType): method __init__ (line 1337) | def __init__( method __eq__ (line 1379) | def __eq__(self, other: object) -> bool: method _validate_tree (line 1388) | def _validate_tree(self, tree: Iterable[GeneralName]) -> None: method _validate_ip_name (line 1392) | def _validate_ip_name(self, tree: Iterable[GeneralName]) -> None: method _validate_dns_name (line 1405) | def _validate_dns_name(self, tree: Iterable[GeneralName]) -> None: method __repr__ (line 1414) | def __repr__(self) -> str: method __hash__ (line 1420) | def __hash__(self) -> int: method permitted_subtrees (line 1434) | def permitted_subtrees( method excluded_subtrees (line 1440) | def excluded_subtrees( method public_bytes (line 1445) | def public_bytes(self) -> bytes: class Extension (line 1449) | class Extension(typing.Generic[ExtensionTypeVar]): method __init__ (line 1450) | def __init__( method oid (line 1466) | def oid(self) -> ObjectIdentifier: method critical (line 1470) | def critical(self) -> bool: method value (line 1474) | def value(self) -> ExtensionTypeVar: method __repr__ (line 1477) | def __repr__(self) -> str: method __eq__ (line 1483) | def __eq__(self, other: object) -> bool: method __hash__ (line 1493) | def __hash__(self) -> int: class GeneralNames (line 1497) | class GeneralNames: method __init__ (line 1498) | def __init__(self, general_names: Iterable[GeneralName]) -> None: method get_values_for_type (line 1511) | def get_values_for_type( method get_values_for_type (line 1519) | def get_values_for_type( method get_values_for_type (line 1525) | def get_values_for_type( method get_values_for_type (line 1531) | def get_values_for_type( method get_values_for_type (line 1536) | def get_values_for_type( method get_values_for_type (line 1540) | def get_values_for_type( method __repr__ (line 1564) | def __repr__(self) -> str: method __eq__ (line 1567) | def __eq__(self, other: object) -> bool: method __hash__ (line 1573) | def __hash__(self) -> int: class SubjectAlternativeName (line 1577) | class SubjectAlternativeName(ExtensionType): method __init__ (line 1580) | def __init__(self, general_names: Iterable[GeneralName]) -> None: method get_values_for_type (line 1586) | def get_values_for_type( method get_values_for_type (line 1594) | def get_values_for_type( method get_values_for_type (line 1600) | def get_values_for_type( method get_values_for_type (line 1606) | def get_values_for_type( method get_values_for_type (line 1611) | def get_values_for_type( method get_values_for_type (line 1615) | def get_values_for_type( method __repr__ (line 1633) | def __repr__(self) -> str: method __eq__ (line 1636) | def __eq__(self, other: object) -> bool: method __hash__ (line 1642) | def __hash__(self) -> int: method public_bytes (line 1645) | def public_bytes(self) -> bytes: class IssuerAlternativeName (line 1649) | class IssuerAlternativeName(ExtensionType): method __init__ (line 1652) | def __init__(self, general_names: Iterable[GeneralName]) -> None: method get_values_for_type (line 1658) | def get_values_for_type( method get_values_for_type (line 1666) | def get_values_for_type( method get_values_for_type (line 1672) | def get_values_for_type( method get_values_for_type (line 1678) | def get_values_for_type( method get_values_for_type (line 1683) | def get_values_for_type( method get_values_for_type (line 1687) | def get_values_for_type( method __repr__ (line 1705) | def __repr__(self) -> str: method __eq__ (line 1708) | def __eq__(self, other: object) -> bool: method __hash__ (line 1714) | def __hash__(self) -> int: method public_bytes (line 1717) | def public_bytes(self) -> bytes: class CertificateIssuer (line 1721) | class CertificateIssuer(ExtensionType): method __init__ (line 1724) | def __init__(self, general_names: Iterable[GeneralName]) -> None: method get_values_for_type (line 1730) | def get_values_for_type( method get_values_for_type (line 1738) | def get_values_for_type( method get_values_for_type (line 1744) | def get_values_for_type( method get_values_for_type (line 1750) | def get_values_for_type( method get_values_for_type (line 1755) | def get_values_for_type( method get_values_for_type (line 1759) | def get_values_for_type( method __repr__ (line 1777) | def __repr__(self) -> str: method __eq__ (line 1780) | def __eq__(self, other: object) -> bool: method __hash__ (line 1786) | def __hash__(self) -> int: method public_bytes (line 1789) | def public_bytes(self) -> bytes: class CRLReason (line 1793) | class CRLReason(ExtensionType): method __init__ (line 1796) | def __init__(self, reason: ReasonFlags) -> None: method __repr__ (line 1802) | def __repr__(self) -> str: method __eq__ (line 1805) | def __eq__(self, other: object) -> bool: method __hash__ (line 1811) | def __hash__(self) -> int: method reason (line 1815) | def reason(self) -> ReasonFlags: method public_bytes (line 1818) | def public_bytes(self) -> bytes: class InvalidityDate (line 1822) | class InvalidityDate(ExtensionType): method __init__ (line 1825) | def __init__(self, invalidity_date: datetime.datetime) -> None: method __repr__ (line 1831) | def __repr__(self) -> str: method __eq__ (line 1834) | def __eq__(self, other: object) -> bool: method __hash__ (line 1840) | def __hash__(self) -> int: method invalidity_date (line 1844) | def invalidity_date(self) -> datetime.datetime: method invalidity_date_utc (line 1848) | def invalidity_date_utc(self) -> datetime.datetime: method public_bytes (line 1854) | def public_bytes(self) -> bytes: class PrecertificateSignedCertificateTimestamps (line 1858) | class PrecertificateSignedCertificateTimestamps(ExtensionType): method __init__ (line 1861) | def __init__( method __repr__ (line 1880) | def __repr__(self) -> str: method __hash__ (line 1883) | def __hash__(self) -> int: method __eq__ (line 1886) | def __eq__(self, other: object) -> bool: method public_bytes (line 1895) | def public_bytes(self) -> bytes: class SignedCertificateTimestamps (line 1899) | class SignedCertificateTimestamps(ExtensionType): method __init__ (line 1902) | def __init__( method __repr__ (line 1921) | def __repr__(self) -> str: method __hash__ (line 1924) | def __hash__(self) -> int: method __eq__ (line 1927) | def __eq__(self, other: object) -> bool: method public_bytes (line 1936) | def public_bytes(self) -> bytes: class OCSPNonce (line 1940) | class OCSPNonce(ExtensionType): method __init__ (line 1943) | def __init__(self, nonce: bytes) -> None: method __eq__ (line 1949) | def __eq__(self, other: object) -> bool: method __hash__ (line 1955) | def __hash__(self) -> int: method __repr__ (line 1958) | def __repr__(self) -> str: method nonce (line 1962) | def nonce(self) -> bytes: method public_bytes (line 1965) | def public_bytes(self) -> bytes: class OCSPAcceptableResponses (line 1969) | class OCSPAcceptableResponses(ExtensionType): method __init__ (line 1972) | def __init__(self, responses: Iterable[ObjectIdentifier]) -> None: method __eq__ (line 1979) | def __eq__(self, other: object) -> bool: method __hash__ (line 1985) | def __hash__(self) -> int: method __repr__ (line 1988) | def __repr__(self) -> str: method __iter__ (line 1991) | def __iter__(self) -> Iterator[ObjectIdentifier]: method public_bytes (line 1994) | def public_bytes(self) -> bytes: class IssuingDistributionPoint (line 1998) | class IssuingDistributionPoint(ExtensionType): method __init__ (line 2001) | def __init__( method __repr__ (line 2086) | def __repr__(self) -> str: method __eq__ (line 2098) | def __eq__(self, other: object) -> bool: method __hash__ (line 2113) | def __hash__(self) -> int: method full_name (line 2132) | def full_name(self) -> list[GeneralName] | None: method relative_name (line 2136) | def relative_name(self) -> RelativeDistinguishedName | None: method only_contains_user_certs (line 2140) | def only_contains_user_certs(self) -> bool: method only_contains_ca_certs (line 2144) | def only_contains_ca_certs(self) -> bool: method only_some_reasons (line 2148) | def only_some_reasons( method indirect_crl (line 2154) | def indirect_crl(self) -> bool: method only_contains_attribute_certs (line 2158) | def only_contains_attribute_certs(self) -> bool: method public_bytes (line 2161) | def public_bytes(self) -> bytes: class MSCertificateTemplate (line 2165) | class MSCertificateTemplate(ExtensionType): method __init__ (line 2168) | def __init__( method template_id (line 2189) | def template_id(self) -> ObjectIdentifier: method major_version (line 2193) | def major_version(self) -> int | None: method minor_version (line 2197) | def minor_version(self) -> int | None: method __repr__ (line 2200) | def __repr__(self) -> str: method __eq__ (line 2207) | def __eq__(self, other: object) -> bool: method __hash__ (line 2217) | def __hash__(self) -> int: method public_bytes (line 2220) | def public_bytes(self) -> bytes: class NamingAuthority (line 2224) | class NamingAuthority: method __init__ (line 2225) | def __init__( method id (line 2245) | def id(self) -> ObjectIdentifier | None: method url (line 2249) | def url(self) -> str | None: method text (line 2253) | def text(self) -> str | None: method __repr__ (line 2256) | def __repr__(self) -> str: method __eq__ (line 2262) | def __eq__(self, other: object) -> bool: method __hash__ (line 2272) | def __hash__(self) -> int: class ProfessionInfo (line 2282) | class ProfessionInfo: method __init__ (line 2283) | def __init__( method naming_authority (line 2329) | def naming_authority(self) -> NamingAuthority | None: method profession_items (line 2333) | def profession_items(self) -> list[str]: method profession_oids (line 2337) | def profession_oids(self) -> list[ObjectIdentifier] | None: method registration_number (line 2341) | def registration_number(self) -> str | None: method add_profession_info (line 2345) | def add_profession_info(self) -> bytes | None: method __repr__ (line 2348) | def __repr__(self) -> str: method __eq__ (line 2357) | def __eq__(self, other: object) -> bool: method __hash__ (line 2369) | def __hash__(self) -> int: class Admission (line 2385) | class Admission: method __init__ (line 2386) | def __init__( method admission_authority (line 2416) | def admission_authority(self) -> GeneralName | None: method naming_authority (line 2420) | def naming_authority(self) -> NamingAuthority | None: method profession_infos (line 2424) | def profession_infos(self) -> list[ProfessionInfo]: method __repr__ (line 2427) | def __repr__(self) -> str: method __eq__ (line 2434) | def __eq__(self, other: object) -> bool: method __hash__ (line 2444) | def __hash__(self) -> int: class Admissions (line 2454) | class Admissions(ExtensionType): method __init__ (line 2457) | def __init__( method authority (line 2480) | def authority(self) -> GeneralName | None: method __repr__ (line 2483) | def __repr__(self) -> str: method __eq__ (line 2489) | def __eq__(self, other: object) -> bool: method __hash__ (line 2498) | def __hash__(self) -> int: method public_bytes (line 2501) | def public_bytes(self) -> bytes: class UnrecognizedExtension (line 2505) | class UnrecognizedExtension(ExtensionType): method __init__ (line 2506) | def __init__(self, oid: ObjectIdentifier, value: bytes) -> None: method oid (line 2513) | def oid(self) -> ObjectIdentifier: # type: ignore[override] method value (line 2517) | def value(self) -> bytes: method __repr__ (line 2520) | def __repr__(self) -> str: method __eq__ (line 2523) | def __eq__(self, other: object) -> bool: method __hash__ (line 2529) | def __hash__(self) -> int: method public_bytes (line 2532) | def public_bytes(self) -> bytes: FILE: src/cryptography/x509/general_name.py class UnsupportedGeneralNameType (line 23) | class UnsupportedGeneralNameType(Exception): class GeneralName (line 27) | class GeneralName(metaclass=abc.ABCMeta): method value (line 30) | def value(self) -> typing.Any: class RFC822Name (line 36) | class RFC822Name(GeneralName): method __init__ (line 37) | def __init__(self, value: str) -> None: method value (line 59) | def value(self) -> str: method _init_without_validation (line 63) | def _init_without_validation(cls, value: str) -> RFC822Name: method __repr__ (line 68) | def __repr__(self) -> str: method __eq__ (line 71) | def __eq__(self, other: object) -> bool: method __hash__ (line 77) | def __hash__(self) -> int: class DNSName (line 81) | class DNSName(GeneralName): method __init__ (line 82) | def __init__(self, value: str) -> None: method value (line 98) | def value(self) -> str: method _init_without_validation (line 102) | def _init_without_validation(cls, value: str) -> DNSName: method __repr__ (line 107) | def __repr__(self) -> str: method __eq__ (line 110) | def __eq__(self, other: object) -> bool: method __hash__ (line 116) | def __hash__(self) -> int: class UniformResourceIdentifier (line 120) | class UniformResourceIdentifier(GeneralName): method __init__ (line 121) | def __init__(self, value: str) -> None: method value (line 137) | def value(self) -> str: method _init_without_validation (line 141) | def _init_without_validation(cls, value: str) -> UniformResourceIdenti... method __repr__ (line 146) | def __repr__(self) -> str: method __eq__ (line 149) | def __eq__(self, other: object) -> bool: method __hash__ (line 155) | def __hash__(self) -> int: class DirectoryName (line 159) | class DirectoryName(GeneralName): method __init__ (line 160) | def __init__(self, value: Name) -> None: method value (line 167) | def value(self) -> Name: method __repr__ (line 170) | def __repr__(self) -> str: method __eq__ (line 173) | def __eq__(self, other: object) -> bool: method __hash__ (line 179) | def __hash__(self) -> int: class RegisteredID (line 183) | class RegisteredID(GeneralName): method __init__ (line 184) | def __init__(self, value: ObjectIdentifier) -> None: method value (line 191) | def value(self) -> ObjectIdentifier: method __repr__ (line 194) | def __repr__(self) -> str: method __eq__ (line 197) | def __eq__(self, other: object) -> bool: method __hash__ (line 203) | def __hash__(self) -> int: class IPAddress (line 207) | class IPAddress(GeneralName): method __init__ (line 208) | def __init__(self, value: _IPAddressTypes) -> None: method value (line 227) | def value(self) -> _IPAddressTypes: method _packed (line 230) | def _packed(self) -> bytes: method __repr__ (line 240) | def __repr__(self) -> str: method __eq__ (line 243) | def __eq__(self, other: object) -> bool: method __hash__ (line 249) | def __hash__(self) -> int: class OtherName (line 253) | class OtherName(GeneralName): method __init__ (line 254) | def __init__(self, type_id: ObjectIdentifier, value: bytes) -> None: method type_id (line 264) | def type_id(self) -> ObjectIdentifier: method value (line 268) | def value(self) -> bytes: method __repr__ (line 271) | def __repr__(self) -> str: method __eq__ (line 274) | def __eq__(self, other: object) -> bool: method __hash__ (line 280) | def __hash__(self) -> int: FILE: src/cryptography/x509/name.py class _ASN1Type (line 19) | class _ASN1Type(utils.Enum): function _escape_dn_value (line 70) | def _escape_dn_value(val: str | bytes) -> str: function _unescape_dn_value (line 99) | def _unescape_dn_value(val: str) -> str: class NameAttribute (line 128) | class NameAttribute(typing.Generic[NameAttributeValueType]): method __init__ (line 129) | def __init__( method oid (line 183) | def oid(self) -> ObjectIdentifier: method value (line 187) | def value(self) -> NameAttributeValueType: method rfc4514_attribute_name (line 191) | def rfc4514_attribute_name(self) -> str: method rfc4514_string (line 198) | def rfc4514_string( method __eq__ (line 215) | def __eq__(self, other: object) -> bool: method __hash__ (line 221) | def __hash__(self) -> int: method __repr__ (line 224) | def __repr__(self) -> str: class RelativeDistinguishedName (line 228) | class RelativeDistinguishedName: method __init__ (line 229) | def __init__(self, attributes: Iterable[NameAttribute[str | bytes]]): method get_attributes_for_oid (line 243) | def get_attributes_for_oid( method rfc4514_string (line 249) | def rfc4514_string( method __eq__ (line 263) | def __eq__(self, other: object) -> bool: method __hash__ (line 269) | def __hash__(self) -> int: method __iter__ (line 272) | def __iter__(self) -> Iterator[NameAttribute[str | bytes]]: method __len__ (line 275) | def __len__(self) -> int: method __repr__ (line 278) | def __repr__(self) -> str: class Name (line 282) | class Name: method __init__ (line 284) | def __init__( method __init__ (line 289) | def __init__( method __init__ (line 293) | def __init__( method from_rfc4514_string (line 316) | def from_rfc4514_string( method rfc4514_string (line 323) | def rfc4514_string( method get_attributes_for_oid (line 341) | def get_attributes_for_oid( method rdns (line 348) | def rdns(self) -> list[RelativeDistinguishedName]: method public_bytes (line 351) | def public_bytes(self, backend: typing.Any = None) -> bytes: method __eq__ (line 354) | def __eq__(self, other: object) -> bool: method __hash__ (line 360) | def __hash__(self) -> int: method __iter__ (line 365) | def __iter__(self) -> Iterator[NameAttribute[str | bytes]]: method __len__ (line 369) | def __len__(self) -> int: method __repr__ (line 372) | def __repr__(self) -> str: class _RFC4514NameParser (line 376) | class _RFC4514NameParser: method __init__ (line 405) | def __init__(self, data: str, attr_name_overrides: _NameOidMap) -> None: method _has_data (line 411) | def _has_data(self) -> bool: method _peek (line 414) | def _peek(self) -> str | None: method _read_char (line 419) | def _read_char(self, ch: str) -> None: method _read_re (line 424) | def _read_re(self, pat) -> str: method parse (line 432) | def parse(self) -> Name: method _parse_rdn (line 453) | def _parse_rdn(self) -> RelativeDistinguishedName: method _parse_na (line 461) | def _parse_na(self) -> NameAttribute[str]: FILE: src/cryptography/x509/ocsp.py class OCSPResponderEncoding (line 19) | class OCSPResponderEncoding(utils.Enum): class OCSPResponseStatus (line 24) | class OCSPResponseStatus(utils.Enum): function _verify_algorithm (line 42) | def _verify_algorithm(algorithm: hashes.HashAlgorithm) -> None: class OCSPCertStatus (line 49) | class OCSPCertStatus(utils.Enum): class _SingleResponse (line 55) | class _SingleResponse: method __init__ (line 56) | def __init__( class OCSPRequestBuilder (line 118) | class OCSPRequestBuilder: method __init__ (line 119) | def __init__( method add_certificate (line 133) | def add_certificate( method add_certificate_by_hash (line 152) | def add_certificate_by_hash( method add_extension (line 182) | def add_extension( method build (line 195) | def build(self) -> OCSPRequest: class OCSPResponseBuilder (line 202) | class OCSPResponseBuilder: method __init__ (line 203) | def __init__( method add_response (line 216) | def add_response( method add_response_by_hash (line 252) | def add_response_by_hash( method responder_id (line 298) | def responder_id( method certificates (line 317) | def certificates( method add_extension (line 334) | def add_extension( method sign (line 350) | def sign( method build_unsuccessful (line 365) | def build_unsuccessful( FILE: src/rust/build.rs function main (line 8) | fn main() { FILE: src/rust/cryptography-cffi/build.rs function main (line 9) | fn main() { function run_python_script (line 107) | fn run_python_script(interpreter: impl AsRef, script: &str) -> Res... function macos_link_search_path (line 131) | fn macos_link_search_path() -> Option { FILE: src/rust/cryptography-cffi/src/lib.rs function Cryptography_make_openssl_module (line 9) | fn Cryptography_make_openssl_module() -> std::os::raw::c_int; function PyInit__openssl (line 13) | fn PyInit__openssl() -> *mut pyo3::ffi::PyObject; function create_module (line 16) | pub fn create_module( FILE: src/rust/cryptography-crypto/src/constant_time.rs function bytes_eq (line 6) | pub fn bytes_eq(a: &[u8], b: &[u8]) -> bool { FILE: src/rust/cryptography-crypto/src/encoding.rs function hex_decode (line 5) | pub fn hex_decode(v: &str) -> Option> { function hex_encode (line 33) | pub fn hex_encode(data: &[u8]) -> String { function test_hex_decode (line 48) | fn test_hex_decode() { function test_hex_encode (line 64) | fn test_hex_encode() { FILE: src/rust/cryptography-crypto/src/pbkdf1.rs function openssl_kdf (line 7) | pub fn openssl_kdf( function pbkdf1 (line 34) | pub fn pbkdf1( function test_openssl_kdf (line 66) | fn test_openssl_kdf() { function test_pbkdf1 (line 131) | fn test_pbkdf1() { FILE: src/rust/cryptography-crypto/src/pkcs12.rs constant KDF_ENCRYPTION_KEY_ID (line 5) | pub const KDF_ENCRYPTION_KEY_ID: u8 = 1; constant KDF_IV_ID (line 6) | pub const KDF_IV_ID: u8 = 2; constant KDF_MAC_KEY_ID (line 7) | pub const KDF_MAC_KEY_ID: u8 = 3; function kdf (line 9) | pub fn kdf( function test_pkcs12_kdf (line 113) | fn test_pkcs12_kdf() { FILE: src/rust/cryptography-keepalive/src/lib.rs type KeepAlive (line 12) | pub struct KeepAlive { type StableDeref (line 19) | pub unsafe trait StableDeref: Deref {} function new (line 32) | pub fn new() -> Self { function add (line 38) | pub fn add(&self, v: T) -> &T::Target { FILE: src/rust/cryptography-key-parsing/build.rs function main (line 7) | fn main() { FILE: src/rust/cryptography-key-parsing/src/dsa.rs type DsaPrivateKey (line 8) | struct DsaPrivateKey<'a> { function serialize_pkcs1_private_key (line 17) | pub fn serialize_pkcs1_private_key( function parse_pkcs1_private_key (line 37) | pub fn parse_pkcs1_private_key( FILE: src/rust/cryptography-key-parsing/src/ec.rs type EcPrivateKey (line 12) | pub(crate) struct EcPrivateKey<'a> { function group_to_curve_oid (line 21) | pub(crate) fn group_to_curve_oid( function ec_params_to_group (line 42) | pub(crate) fn ec_params_to_group( function serialize_pkcs1_private_key (line 99) | pub fn serialize_pkcs1_private_key( function parse_pkcs1_private_key (line 130) | pub fn parse_pkcs1_private_key( FILE: src/rust/cryptography-key-parsing/src/lib.rs constant MIN_DH_MODULUS_SIZE (line 18) | pub const MIN_DH_MODULUS_SIZE: u32 = 512; type KeyParsingError (line 20) | pub enum KeyParsingError { method from (line 41) | fn from(e: asn1::ParseError) -> KeyParsingError { method from (line 47) | fn from(e: openssl::error::ErrorStack) -> KeyParsingError { type KeyParsingResult (line 52) | pub type KeyParsingResult = Result; type KeySerializationError (line 54) | pub enum KeySerializationError { method from (line 61) | fn from(e: asn1::WriteError) -> KeySerializationError { method from (line 67) | fn from(e: openssl::error::ErrorStack) -> KeySerializationError { type KeySerializationResult (line 72) | pub type KeySerializationResult = Result; function test_key_parsing_error_from (line 79) | fn test_key_parsing_error_from() { function test_key_serialization_error_from_asn1_write_error (line 89) | fn test_key_serialization_error_from_asn1_write_error() { function test_key_serialization_error_from_openssl_error_stack (line 98) | fn test_key_serialization_error_from_openssl_error_stack() { FILE: src/rust/cryptography-key-parsing/src/pbe.rs type EncryptionAlgorithm (line 7) | pub enum EncryptionAlgorithm { method salt_length (line 13) | pub fn salt_length(&self) -> usize { method algorithm_identifier (line 20) | pub fn algorithm_identifier<'a>( method encrypt (line 75) | pub fn encrypt( FILE: src/rust/cryptography-key-parsing/src/pem.rs function decrypt_pem (line 16) | pub fn decrypt_pem<'a>( constant ENCODE_CONFIG (line 70) | pub const ENCODE_CONFIG: pem::EncodeConfig = function encrypt_pem (line 78) | pub fn encrypt_pem( FILE: src/rust/cryptography-key-parsing/src/pkcs8.rs type PrivateKeyInfo (line 17) | pub struct PrivateKeyInfo<'a> { function parse_private_key (line 25) | pub fn parse_private_key( function parse_dh_private_key (line 118) | fn parse_dh_private_key( function pkcs12_pbe_decrypt (line 136) | fn pkcs12_pbe_decrypt( function pkcs5_pbe_decrypt (line 167) | fn pkcs5_pbe_decrypt( function parse_encrypted_private_key (line 192) | pub fn parse_encrypted_private_key( function serialize_private_key (line 338) | pub fn serialize_private_key( constant KDF_ITERATION_COUNT (line 463) | const KDF_ITERATION_COUNT: u64 = 2048; function serialize_encrypted_private_key (line 465) | pub fn serialize_encrypted_private_key( function test_serialize_private_key_unknown_key_type (line 496) | fn test_serialize_private_key_unknown_key_type() { FILE: src/rust/cryptography-key-parsing/src/rsa.rs type RsaPrivateKey (line 11) | pub(crate) struct RsaPrivateKey<'a> { function parse_pkcs1_public_key (line 25) | pub fn parse_pkcs1_public_key( function serialize_pkcs1_public_key (line 37) | pub fn serialize_pkcs1_public_key( function serialize_pkcs1_private_key (line 50) | pub fn serialize_pkcs1_private_key( function parse_pkcs1_private_key (line 77) | pub fn parse_pkcs1_private_key( FILE: src/rust/cryptography-key-parsing/src/spki.rs function parse_public_key (line 12) | pub fn parse_public_key( function serialize_public_key (line 109) | pub fn serialize_public_key( function test_serialize_public_key_unknown_key_type (line 239) | fn test_serialize_public_key_unknown_key_type() { function test_serialize_public_key_unknown_curve (line 252) | fn test_serialize_public_key_unknown_curve() { FILE: src/rust/cryptography-key-parsing/src/utils.rs function is_dh (line 5) | pub(crate) fn is_dh(id: openssl::pkey::Id) -> bool { FILE: src/rust/cryptography-openssl/build.rs function main (line 8) | fn main() { FILE: src/rust/cryptography-openssl/src/aead.rs type AeadType (line 10) | pub enum AeadType { method new (line 30) | pub fn new(aead: AeadType, key: &[u8]) -> OpenSSLResult { method encrypt (line 51) | pub fn encrypt( method decrypt (line 78) | pub fn decrypt( FILE: src/rust/cryptography-openssl/src/cmac.rs method new (line 27) | pub fn new(key: &[u8], cipher: &openssl::cipher::CipherRef) -> OpenSSLRe... method update (line 44) | pub fn update(&mut self, data: &[u8]) -> OpenSSLResult<()> { method finish (line 56) | pub fn finish(&mut self) -> OpenSSLResult { method copy (line 66) | pub fn copy(&self) -> OpenSSLResult { FILE: src/rust/cryptography-openssl/src/fips.rs function is_enabled (line 26) | pub fn is_enabled() -> bool { function enable (line 47) | pub fn enable() -> OpenSSLResult<()> { FILE: src/rust/cryptography-openssl/src/hmac.rs method new (line 32) | pub fn new(key: &[u8], md: openssl::hash::MessageDigest) -> OpenSSLResul... method update (line 51) | pub fn update(&mut self, data: &[u8]) -> OpenSSLResult<()> { method finish (line 59) | pub fn finish(&mut self) -> OpenSSLResult { method copy (line 72) | pub fn copy(&self) -> OpenSSLResult { type DigestBytes (line 82) | pub struct DigestBytes { type Target (line 88) | type Target = [u8]; method deref (line 91) | fn deref(&self) -> &[u8] { function test_digest_bytes (line 103) | fn test_digest_bytes() { FILE: src/rust/cryptography-openssl/src/lib.rs type OpenSSLResult (line 21) | pub type OpenSSLResult = Result; function cvt (line 24) | fn cvt(r: std::os::raw::c_int) -> Result(r: *mut T) -> Result<*mut T, openssl::error::ErrorStack> { function test_cvt (line 46) | fn test_cvt() { FILE: src/rust/cryptography-openssl/src/poly1305.rs type Poly1305State (line 9) | pub struct Poly1305State { method new (line 18) | pub fn new(key: &[u8]) -> Poly1305State { method update (line 38) | pub fn update(&mut self, data: &[u8]) { method finalize (line 45) | pub fn finalize(&mut self, output: &mut [u8]) { FILE: src/rust/cryptography-openssl/src/rand.rs function rand_bytes (line 8) | pub fn rand_bytes(buf: &mut [u8]) -> OpenSSLResult<()> { FILE: src/rust/cryptography-openssl/src/utils.rs function bn_to_big_endian_bytes (line 7) | pub fn bn_to_big_endian_bytes(b: &openssl::bn::BigNumRef) -> OpenSSLResu... FILE: src/rust/cryptography-x509-verification/src/certificate.rs function cert_is_self_issued (line 9) | pub(crate) fn cert_is_self_issued(cert: &Certificate<'_>) -> bool { function test_certificate_v1 (line 21) | fn test_certificate_v1() { function ca_pem (line 28) | fn ca_pem() -> pem::Pem { function test_certificate_ca (line 46) | fn test_certificate_ca() { type PublicKeyErrorOps (line 53) | pub(crate) struct PublicKeyErrorOps {} type Key (line 55) | type Key = (); type Err (line 56) | type Err = (); type CertificateExtra (line 57) | type CertificateExtra = (); type PolicyExtra (line 58) | type PolicyExtra = (); method public_key (line 60) | fn public_key(&self, _cert: &Certificate<'_>) -> Result Self::Key { method clone_extra (line 77) | fn clone_extra(extra: &Self::CertificateExtra) -> Self::CertificateExtra { function test_clone (line 83) | fn test_clone() { function test_certificate_public_key_error (line 89) | fn test_certificate_public_key_error() { function test_certificate_public_key_error_ops (line 97) | fn test_certificate_public_key_error_ops() { FILE: src/rust/cryptography-x509-verification/src/lib.rs type ValidationErrorKind (line 35) | pub enum ValidationErrorKind<'chain, B: CryptoOps> { type ValidationError (line 46) | pub struct ValidationError<'chain, B: CryptoOps> { function new (line 52) | pub fn new(kind: ValidationErrorKind<'chain, B>) -> Self { function set_cert (line 56) | pub(crate) fn set_cert(mut self, cert: VerificationCertificate<'chain, B... function certificate (line 61) | pub fn certificate(&self) -> Option<&VerificationCertificate<'chain, B>> { type ValidationResult (line 66) | pub type ValidationResult<'chain, T, B> = Result Self { function from (line 75) | fn from(value: DuplicateExtensionsError) -> Self { method fmt (line 84) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type Budget (line 99) | struct Budget { constant DEFAULT_NAME_CONSTRAINT_CHECK_LIMIT (line 105) | const DEFAULT_NAME_CONSTRAINT_CHECK_LIMIT: usize = 1 << 20; method new (line 107) | fn new() -> Budget { method name_constraint_check (line 113) | fn name_constraint_check<'chain, B: CryptoOps>(&mut self) -> Validatio... type NameChain (line 124) | struct NameChain<'a, 'chain> { function new (line 130) | fn new( function evaluate_single_constraint (line 148) | fn evaluate_single_constraint( function evaluate_constraints (line 223) | fn evaluate_constraints( type Chain (line 269) | pub type Chain<'c, B> = Vec>; function verify (line 271) | pub fn verify<'chain, B: CryptoOps>( type ChainBuilder (line 283) | struct ChainBuilder<'a, 'chain, B: CryptoOps> { type ApplyNameConstraintStatus (line 293) | enum ApplyNameConstraintStatus { method is_applied (line 299) | fn is_applied(&self) -> bool { method is_match (line 303) | fn is_match(&self) -> bool { function new (line 309) | fn new( function potential_issuers (line 321) | fn potential_issuers( function build_chain_inner (line 335) | fn build_chain_inner( function build_chain (line 451) | fn build_chain( function test_validationerror_display (line 489) | fn test_validationerror_display() { FILE: src/rust/cryptography-x509-verification/src/ops.rs type VerificationCertificate (line 9) | pub struct VerificationCertificate<'a, B: CryptoOps> { function new (line 16) | pub fn new(cert: &'a Certificate<'a>, extra: B::CertificateExtra) -> Self { function certificate (line 24) | pub fn certificate(&self) -> &Certificate<'a> { function public_key (line 28) | pub fn public_key(&self, ops: &B) -> Result<&B::Key, B::Err> { function extra (line 37) | pub fn extra(&self) -> &B::CertificateExtra { function fmt (line 43) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method eq (line 49) | fn eq(&self, other: &Self) -> bool { method clone (line 56) | fn clone(&self) -> Self { type CryptoOps (line 71) | pub trait CryptoOps { method public_key (line 87) | fn public_key(&self, cert: &Certificate<'_>) -> Result, key: &Self::Key) ->... method clone_public_key (line 94) | fn clone_public_key(extra: &Self::Key) -> Self::Key; method clone_extra (line 97) | fn clone_extra(extra: &Self::CertificateExtra) -> Self::CertificateExtra; function v1_cert_pem (line 107) | pub(crate) fn v1_cert_pem() -> pem::Pem { function epoch (line 124) | pub(crate) fn epoch() -> asn1::DateTime { function cert (line 128) | pub(crate) fn cert(cert_pem: &pem::Pem) -> Certificate<'_> { function test_verification_certificate_debug (line 133) | fn test_verification_certificate_debug() { FILE: src/rust/cryptography-x509-verification/src/policy/extension.rs type ExtensionPolicy (line 19) | pub struct ExtensionPolicy<'cb, B: CryptoOps> { function new_permit_all (line 31) | pub fn new_permit_all() -> Self { function new_default_webpki_ca (line 56) | pub fn new_default_webpki_ca() -> Self { function new_default_webpki_ee (line 118) | pub fn new_default_webpki_ee() -> Self { function permits (line 174) | pub(crate) fn permits<'chain>( type Criticality (line 272) | pub enum Criticality { method permits (line 282) | pub(crate) fn permits(&self, critical: bool) -> bool { type PresentExtensionValidatorCallback (line 293) | pub type PresentExtensionValidatorCallback<'cb, B> = Arc< type MaybeExtensionValidatorCallback (line 304) | pub type MaybeExtensionValidatorCallback<'cb, B> = Arc< type ExtensionValidator (line 317) | pub enum ExtensionValidator<'cb, B: CryptoOps> { function not_present (line 339) | pub(crate) fn not_present(oid: asn1::ObjectIdentifier) -> Self { function present (line 343) | pub(crate) fn present( function maybe_present (line 355) | pub(crate) fn maybe_present( function permits (line 367) | pub(crate) fn permits<'chain>( function basic_constraints (line 440) | pub(crate) fn basic_constraints<'chain, B: CryptoOps>( function subject_alternative_name (line 458) | pub(crate) fn subject_alternative_name<'chain, B: CryptoOps>( function extended_key_usage (line 485) | pub(crate) fn extended_key_usage<'chain, B: CryptoOps>( function key_usage (line 511) | pub(crate) fn key_usage<'chain, B: CryptoOps>( function authority_key_identifier (line 540) | pub(crate) fn authority_key_identifier<'chain, B: CryptoOps>( function key_usage (line 583) | pub(crate) fn key_usage<'chain, B: CryptoOps>( function name_constraints (line 599) | pub(crate) fn name_constraints<'chain, B: CryptoOps>( function extended_key_usage (line 631) | pub(crate) fn extended_key_usage<'chain, B: CryptoOps>( function authority_information_access (line 661) | pub(crate) fn authority_information_access<'chain, B: CryptoOps>( function test_criticality_variants (line 692) | fn test_criticality_variants() { function create_encoded_extension (line 706) | fn create_encoded_extension( function present_extension_validator (line 723) | fn present_extension_validator<'chain, B: CryptoOps>( function test_extension_validator_present (line 732) | fn test_extension_validator_present() { function maybe_extension_validator (line 773) | fn maybe_extension_validator<'chain, B: CryptoOps>( function test_extension_validator_maybe (line 782) | fn test_extension_validator_maybe() { function test_extension_validator_not_present (line 824) | fn test_extension_validator_not_present() { function test_extension_validator_present_incorrect_criticality (line 862) | fn test_extension_validator_present_incorrect_criticality() { function test_extension_validator_maybe_present_incorrect_criticality (line 902) | fn test_extension_validator_maybe_present_incorrect_criticality() { FILE: src/rust/cryptography-x509-verification/src/policy/mod.rs constant WEBPKI_MINIMUM_RSA_MODULUS (line 35) | const WEBPKI_MINIMUM_RSA_MODULUS: usize = 2048; constant SPKI_RSA (line 40) | const SPKI_RSA: AlgorithmIdentifier<'_> = AlgorithmIdentifier { constant SPKI_SECP256R1 (line 46) | const SPKI_SECP256R1: AlgorithmIdentifier<'_> = AlgorithmIdentifier { constant SPKI_SECP384R1 (line 52) | const SPKI_SECP384R1: AlgorithmIdentifier<'_> = AlgorithmIdentifier { constant SPKI_SECP521R1 (line 58) | const SPKI_SECP521R1: AlgorithmIdentifier<'_> = AlgorithmIdentifier { constant RSASSA_PKCS1V15_SHA256 (line 78) | const RSASSA_PKCS1V15_SHA256: AlgorithmIdentifier<'_> = AlgorithmIdentif... constant RSASSA_PKCS1V15_SHA384 (line 84) | const RSASSA_PKCS1V15_SHA384: AlgorithmIdentifier<'_> = AlgorithmIdentif... constant RSASSA_PKCS1V15_SHA512 (line 90) | const RSASSA_PKCS1V15_SHA512: AlgorithmIdentifier<'_> = AlgorithmIdentif... constant ECDSA_SHA256 (line 132) | const ECDSA_SHA256: AlgorithmIdentifier<'_> = AlgorithmIdentifier { constant ECDSA_SHA384 (line 138) | const ECDSA_SHA384: AlgorithmIdentifier<'_> = AlgorithmIdentifier { constant ECDSA_SHA512 (line 144) | const ECDSA_SHA512: AlgorithmIdentifier<'_> = AlgorithmIdentifier { constant DEFAULT_MAX_CHAIN_DEPTH (line 175) | const DEFAULT_MAX_CHAIN_DEPTH: u8 = 8; type Subject (line 179) | pub enum Subject<'a> { function subject_alt_name_matches (line 185) | fn subject_alt_name_matches(&self, general_name: &GeneralName<'_>) -> bo... function matches (line 199) | pub fn matches(&self, san: &SubjectAlternativeName<'_>) -> bool { type PolicyDefinition (line 205) | pub struct PolicyDefinition<'a, B: CryptoOps> { function new (line 243) | fn new( function client (line 301) | pub fn client( function server (line 321) | pub fn server( type Policy (line 341) | pub struct Policy<'a, B: CryptoOps> { type Target (line 347) | type Target = PolicyDefinition<'a, B>; method deref (line 349) | fn deref(&self) -> &Self::Target { function new (line 355) | pub fn new(definition: &'a PolicyDefinition<'a, B>, extra: B::PolicyExtr... function permits_basic (line 359) | fn permits_basic<'chain>(&self, cert: &Certificate<'_>) -> ValidationRes... function permits_ca (line 422) | pub(crate) fn permits_ca<'chain>( function permits_ee (line 468) | pub(crate) fn permits_ee<'chain>( function valid_issuer (line 502) | pub(crate) fn valid_issuer<'chain>( function permits_validity_date (line 578) | fn permits_validity_date<'chain, B: CryptoOps>( function permits_subject_alternative_name (line 596) | fn permits_subject_alternative_name<'chain, B: CryptoOps>( function test_webpki_permitted_spki_algorithms_canonical_encodings (line 637) | fn test_webpki_permitted_spki_algorithms_canonical_encodings() { function test_webpki_permitted_signature_algorithms_canonical_encodings (line 664) | fn test_webpki_permitted_signature_algorithms_canonical_encodings() { function test_subject_matches (line 739) | fn test_subject_matches() { function test_validity_date (line 789) | fn test_validity_date() { FILE: src/rust/cryptography-x509-verification/src/trust_store.rs type Store (line 12) | pub struct Store<'a, B: CryptoOps> { function new (line 18) | pub fn new(trusted: impl IntoIterator) -> bool { function get_by_subject (line 35) | pub fn get_by_subject(&self, subject: &Name<'a>) -> &[VerificationCertif... function test_store (line 51) | fn test_store() { FILE: src/rust/cryptography-x509-verification/src/types.rs constant ATEXT_CHARS (line 11) | const ATEXT_CHARS: &str = "!#$%&'*+-/=?^_`{|}~"; type DNSName (line 31) | pub struct DNSName<'a>(asn1::IA5String<'a>); function new (line 34) | pub fn new(value: &'a str) -> Option { function as_str (line 62) | pub fn as_str(&self) -> &'a str { function parent (line 73) | pub fn parent(&self) -> Option { function rlabels (line 82) | fn rlabels(&self) -> impl Iterator { function is_subdomain_of (line 87) | fn is_subdomain_of(&self, other: &DNSName<'_>) -> bool { method eq (line 99) | fn eq(&self, other: &Self) -> bool { type DNSPattern (line 117) | pub enum DNSPattern<'a> { function new (line 123) | pub fn new(pat: &'a str) -> Option { function matches (line 131) | pub fn matches(&self, name: &DNSName<'_>) -> bool { function inner_name (line 148) | pub fn inner_name(&self) -> &DNSName<'a> { type DNSConstraint (line 159) | pub struct DNSConstraint<'a>(DNSName<'a>); function new (line 162) | pub fn new(pattern: &'a str) -> Option { function matches (line 181) | pub fn matches(&self, name: &DNSName<'_>) -> bool { type IPAddress (line 199) | pub struct IPAddress(IpAddr); method from_str (line 206) | pub fn from_str(s: &str) -> Option { method from_bytes (line 215) | pub fn from_bytes(b: &[u8]) -> Option { method as_prefix (line 232) | pub fn as_prefix(&self) -> Option { method mask (line 258) | pub fn mask(&self, prefix: u8) -> Self { method from (line 285) | fn from(addr: IpAddr) -> Self { type IPConstraint (line 291) | pub struct IPConstraint { method from_bytes (line 308) | pub fn from_bytes(b: &[u8]) -> Option { method matches (line 330) | pub fn matches(&self, addr: &IPAddress) -> bool { type RFC822Name (line 345) | pub struct RFC822Name<'a> { function new (line 351) | pub fn new(value: &'a str) -> Option { type RFC822Constraint (line 382) | pub enum RFC822Constraint<'a> { function new (line 395) | pub fn new(constraint: &'a str) -> Option { function matches (line 405) | pub fn matches(&self, email: &RFC822Name<'_>) -> bool { function test_dnsname_debug_trait (line 420) | fn test_dnsname_debug_trait() { function test_dnsname_new (line 429) | fn test_dnsname_new() { function test_dnsname_equality (line 479) | fn test_dnsname_equality() { function test_dnsname_parent (line 497) | fn test_dnsname_parent() { function test_dnsname_is_subdomain_of (line 510) | fn test_dnsname_is_subdomain_of() { function test_dnspattern_new (line 537) | fn test_dnspattern_new() { function test_dnspattern_matches (line 557) | fn test_dnspattern_matches() { function test_dnsconstraint_new (line 581) | fn test_dnsconstraint_new() { function test_dnsconstraint_matches (line 596) | fn test_dnsconstraint_matches() { function test_ipaddress_from_str (line 611) | fn test_ipaddress_from_str() { function test_ipaddress_from_bytes (line 616) | fn test_ipaddress_from_bytes() { function test_ipaddress_as_prefix (line 634) | fn test_ipaddress_as_prefix() { function test_ipaddress_mask (line 647) | fn test_ipaddress_mask() { function test_ipconstraint_from_bytes (line 666) | fn test_ipconstraint_from_bytes() { function test_ipconstraint_matches (line 702) | fn test_ipconstraint_matches() { function test_rfc822name (line 733) | fn test_rfc822name() { function test_rfc822constraint_new (line 790) | fn test_rfc822constraint_new() { function test_rfc822constraint_matches (line 821) | fn test_rfc822constraint_matches() { FILE: src/rust/cryptography-x509/src/certificate.rs type Certificate (line 10) | pub struct Certificate<'a> { function issuer (line 18) | pub fn issuer(&self) -> &NameReadable<'_> { function subject (line 23) | pub fn subject(&self) -> &NameReadable<'_> { function extensions (line 29) | pub fn extensions(&self) -> Result, DuplicateExtensionsEr... type SerialNumber (line 37) | pub type SerialNumber<'a> = asn1::BigInt<'a>; type TbsCertificate (line 40) | pub struct TbsCertificate<'a> { function extensions (line 61) | pub fn extensions(&self) -> Result, DuplicateExtensionsEr... type Validity (line 67) | pub struct Validity { FILE: src/rust/cryptography-x509/src/common.rs type AlgorithmIdentifier (line 10) | pub struct AlgorithmIdentifier<'a> { function oid (line 17) | pub fn oid(&self) -> &asn1::ObjectIdentifier { type AlgorithmParameters (line 23) | pub enum AlgorithmParameters<'a> { type SubjectPublicKeyInfo (line 190) | pub struct SubjectPublicKeyInfo<'a> { type Pkcs1RsaPublicKey (line 196) | pub struct Pkcs1RsaPublicKey<'a> { type AttributeTypeValue (line 202) | pub struct AttributeTypeValue<'a> { type AttributeValue (line 208) | pub enum AttributeValue<'a> { function tag (line 218) | pub fn tag(&self) -> asn1::Tag { type RawTlv (line 231) | pub struct RawTlv<'a> { function new (line 237) | pub fn new(tag: asn1::Tag, value: &'a [u8]) -> Self { function tag (line 241) | pub fn tag(&self) -> asn1::Tag { function data (line 244) | pub fn data(&self) -> &'a [u8] { function parse (line 249) | fn parse(parser: &mut asn1::Parser<'a>) -> asn1::ParseResult { function can_parse (line 254) | fn can_parse(_tag: asn1::Tag) -> bool { type Error (line 259) | type Error = asn1::WriteError; function write (line 260) | fn write(&self, w: &mut asn1::Writer<'_>) -> asn1::WriteResult { function encoded_length (line 266) | fn encoded_length(&self) -> Option { type Time (line 273) | pub enum Time { method as_datetime (line 279) | pub fn as_datetime(&self) -> &asn1::DateTime { type Asn1ReadableOrWritable (line 288) | pub enum Asn1ReadableOrWritable { function new_read (line 294) | pub fn new_read(v: T) -> Self { function new_write (line 298) | pub fn new_write(v: U) -> Self { function unwrap_read (line 302) | pub fn unwrap_read(&self) -> &T { constant TAG (line 313) | const TAG: asn1::Tag = T::TAG; function parse_data (line 314) | fn parse_data(data: &'a [u8]) -> asn1::ParseResult { type Error (line 324) | type Error = asn1::WriteError; constant TAG (line 325) | const TAG: asn1::Tag = U::TAG; function write_data (line 326) | fn write_data(&self, w: &mut asn1::WriteBuf) -> asn1::WriteResult { function data_length (line 333) | fn data_length(&self) -> Option { type Asn1Operation (line 341) | pub trait Asn1Operation { type SequenceOfVec (line 355) | type SequenceOfVec<'a, T> type SetOfVec (line 359) | type SetOfVec<'a, T> type OwnedBitString (line 363) | type OwnedBitString<'a> = asn1::BitString<'a>; type SequenceOfVec (line 366) | type SequenceOfVec<'a, T> type SetOfVec (line 370) | type SetOfVec<'a, T> type OwnedBitString (line 374) | type OwnedBitString<'a> = asn1::OwnedBitString; type Asn1Read (line 351) | pub struct Asn1Read; type Asn1Write (line 352) | pub struct Asn1Write; type DssSignature (line 378) | pub struct DssSignature<'a> { type DHParams (line 384) | pub struct DHParams<'a> { type BasicDHParams (line 397) | pub struct BasicDHParams<'a> { type DHXParams (line 412) | pub struct DHXParams<'a> { constant PSS_SHA1_HASH_ALG (line 422) | pub const PSS_SHA1_HASH_ALG: AlgorithmIdentifier<'_> = AlgorithmIdentifi... constant PSS_SHA256_HASH_ALG (line 428) | pub const PSS_SHA256_HASH_ALG: AlgorithmIdentifier<'_> = AlgorithmIdenti... constant PSS_SHA384_HASH_ALG (line 433) | pub const PSS_SHA384_HASH_ALG: AlgorithmIdentifier<'_> = AlgorithmIdenti... constant PSS_SHA512_HASH_ALG (line 438) | pub const PSS_SHA512_HASH_ALG: AlgorithmIdentifier<'_> = AlgorithmIdenti... type MaskGenAlgorithm (line 447) | pub struct MaskGenAlgorithm<'a> { constant PSS_SHA1_MASK_GEN_ALG (line 453) | pub const PSS_SHA1_MASK_GEN_ALG: MaskGenAlgorithm<'_> = MaskGenAlgorithm { constant PSS_SHA256_MASK_GEN_ALG (line 459) | pub const PSS_SHA256_MASK_GEN_ALG: MaskGenAlgorithm<'_> = MaskGenAlgorit... constant PSS_SHA384_MASK_GEN_ALG (line 464) | pub const PSS_SHA384_MASK_GEN_ALG: MaskGenAlgorithm<'_> = MaskGenAlgorit... constant PSS_SHA512_MASK_GEN_ALG (line 469) | pub const PSS_SHA512_MASK_GEN_ALG: MaskGenAlgorithm<'_> = MaskGenAlgorit... type EcParameters (line 483) | pub enum EcParameters<'a> { type SpecifiedECDomain (line 499) | pub struct SpecifiedECDomain<'a> { type FieldID (line 514) | pub struct FieldID<'a> { type FieldParameters (line 521) | pub enum FieldParameters<'a> { type Curve (line 535) | pub struct Curve<'a> { type RsaPssParameters (line 550) | pub struct RsaPssParameters<'a> { type DssParams (line 582) | pub struct DssParams<'a> { type PBES2Params (line 589) | pub struct PBES2Params<'a> { constant HMAC_SHA1_ALG (line 594) | const HMAC_SHA1_ALG: AlgorithmIdentifier<'static> = AlgorithmIdentifier { type PBKDF2Params (line 600) | pub struct PBKDF2Params<'a> { type ScryptParams (line 612) | pub struct ScryptParams<'a> { type PbeParams (line 622) | pub struct PbeParams { type Pkcs12PbeParams (line 629) | pub struct Pkcs12PbeParams<'a> { type Rc2CbcParams (line 635) | pub struct Rc2CbcParams { type UnvalidatedVisibleString (line 643) | pub struct UnvalidatedVisibleString<'a>(pub &'a str); function as_str (line 646) | pub fn as_str(&self) -> &'a str { constant TAG (line 652) | const TAG: asn1::Tag = as asn1::SimpleAsn1Reada... function parse_data (line 653) | fn parse_data(data: &'a [u8]) -> asn1::ParseResult { type Error (line 662) | type Error = asn1::WriteError; constant TAG (line 663) | const TAG: asn1::Tag = asn1::VisibleString::TAG; function write_data (line 664) | fn write_data(&self, _: &mut asn1::WriteBuf) -> asn1::WriteResult { function data_length (line 668) | fn data_length(&self) -> Option { type Utf8StoredBMPString (line 674) | pub struct Utf8StoredBMPString<'a>(pub &'a str); function new (line 677) | pub fn new(s: &'a str) -> Self { type Error (line 683) | type Error = asn1::WriteError; constant TAG (line 684) | const TAG: asn1::Tag = asn1::BMPString::TAG; function write_data (line 685) | fn write_data(&self, writer: &mut asn1::WriteBuf) -> asn1::WriteResult { function data_length (line 692) | fn data_length(&self) -> Option { type WithTlv (line 698) | pub struct WithTlv<'a, T> { function tlv (line 704) | pub fn tlv(&self) -> &asn1::Tlv<'a> { type Target (line 710) | type Target = T; function deref (line 712) | fn deref(&self) -> &Self::Target { function parse (line 718) | fn parse(p: &mut asn1::Parser<'a>) -> asn1::ParseResult { function can_parse (line 726) | fn can_parse(t: asn1::Tag) -> bool { type Error (line 732) | type Error = T::Error; function write (line 733) | fn write(&self, w: &mut asn1::Writer<'_>) -> Result<(), T::Error> { function encoded_length (line 737) | fn encoded_length(&self) -> Option { method eq (line 743) | fn eq(&self, other: &Self) -> bool { function hash (line 749) | fn hash(&self, state: &mut H) { function test_unvalidated_visible_string_write (line 762) | fn test_unvalidated_visible_string_write() { function test_asn1_readable_or_writable_unwrap_read (line 769) | fn test_asn1_readable_or_writable_unwrap_read() { function test_asn1_readable_or_writable_write_read_data (line 774) | fn test_asn1_readable_or_writable_write_read_data() { function test_raw_tlv_can_parse (line 780) | fn test_raw_tlv_can_parse() { function test_with_raw_tlv_can_parse (line 786) | fn test_with_raw_tlv_can_parse() { FILE: src/rust/cryptography-x509/src/crl.rs type ReasonFlags (line 9) | pub type ReasonFlags<'a, Op> = Option<::OwnedBitStr... type CertificateRevocationList (line 12) | pub struct CertificateRevocationList<'a> { type RevokedCertificates (line 18) | pub type RevokedCertificates<'a> = Option< type TBSCertList (line 26) | pub struct TBSCertList<'a> { type RevokedCertificate (line 38) | pub struct RevokedCertificate<'a> { type IssuingDistributionPoint (line 45) | pub struct IssuingDistributionPoint<'a, Op: Asn1Operation> { type CRLReason (line 69) | pub type CRLReason = asn1::Enumerated; FILE: src/rust/cryptography-x509/src/csr.rs type Csr (line 8) | pub struct Csr<'a> { type CertificationRequestInfo (line 15) | pub struct CertificationRequestInfo<'a> { function get_extension_attribute (line 24) | pub fn get_extension_attribute( function check_attribute_length (line 41) | pub fn check_attribute_length<'a>( type Attributes (line 53) | pub type Attributes<'a> = common::Asn1ReadableOrWritable< type Attribute (line 59) | pub struct Attribute<'a> { FILE: src/rust/cryptography-x509/src/ec_constants.rs constant P256_FIELD (line 7) | const P256_FIELD: FieldID<'static> = FieldID { constant P256_CURVE_A (line 11) | const P256_CURVE_A: &[u8; 32] = b"\xff\xff\xff\xff\x00\x00\x00\x01\x00\x... constant P256_CURVE_B (line 12) | const P256_CURVE_B: &[u8; 32] = b"\x5a\xc6\x35\xd8\xaa\x3a\x93\xe7\xb3\x... constant P256_SEED (line 13) | const P256_SEED: asn1::BitString<'static> = asn1::BitString::new( constant P256_UNCOMPRESSED_BASE (line 18) | const P256_UNCOMPRESSED_BASE: &[u8; 65] = b"\x04\x6b\x17\xd1\xf2\xe1\x2c... constant P256_ORDER (line 19) | const P256_ORDER: asn1::BigUint<'static> = asn1::BigUint::new(b"\x00\xff... constant P256_DOMAIN (line 21) | pub const P256_DOMAIN: SpecifiedECDomain<'static> = SpecifiedECDomain { constant P256_DOMAIN_NO_SEED (line 34) | pub const P256_DOMAIN_NO_SEED: SpecifiedECDomain<'static> = SpecifiedECD... constant P384_FIELD (line 47) | const P384_FIELD: FieldID<'static> = FieldID { constant P384_CURVE_A (line 51) | const P384_CURVE_A: &[u8; 48] = b"\xff\xff\xff\xff\xff\xff\xff\xff\xff\x... constant P384_CURVE_B (line 52) | const P384_CURVE_B: &[u8; 48] = b"\xb3\x31\x2f\xa7\xe2\x3e\xe7\xe4\x98\x... constant P384_SEED (line 53) | const P384_SEED: asn1::BitString<'static> = asn1::BitString::new( constant P384_UNCOMPRESSED_BASE (line 58) | const P384_UNCOMPRESSED_BASE: &[u8; 97] = b"\x04\xaa\x87\xca\x22\xbe\x8b... constant P384_ORDER (line 59) | const P384_ORDER: asn1::BigUint<'static> = asn1::BigUint::new(b"\x00\xff... constant P384_DOMAIN (line 61) | pub const P384_DOMAIN: SpecifiedECDomain<'static> = SpecifiedECDomain { constant P384_DOMAIN_NO_SEED (line 74) | pub const P384_DOMAIN_NO_SEED: SpecifiedECDomain<'static> = SpecifiedECD... constant P521_FIELD (line 87) | const P521_FIELD: FieldID<'static> = FieldID { constant P521_CURVE_A (line 91) | const P521_CURVE_A: &[u8; 66] = b"\x01\xff\xff\xff\xff\xff\xff\xff\xff\x... constant P521_CURVE_B (line 92) | const P521_CURVE_B: &[u8; 66] = b"\x00\x51\x95\x3e\xb9\x61\x8e\x1c\x9a\x... constant P521_SEED (line 93) | const P521_SEED: asn1::BitString<'static> = asn1::BitString::new( constant P521_UNCOMPRESSED_BASE (line 98) | const P521_UNCOMPRESSED_BASE: &[u8; 133] = b"\x04\x00\xc6\x85\x8e\x06\xb... constant P521_ORDER (line 99) | const P521_ORDER: asn1::BigUint<'static> = asn1::BigUint::new(b"\x01\xff... constant P521_DOMAIN (line 101) | pub const P521_DOMAIN: SpecifiedECDomain<'static> = SpecifiedECDomain { constant P521_DOMAIN_NO_SEED (line 114) | pub const P521_DOMAIN_NO_SEED: SpecifiedECDomain<'static> = SpecifiedECD... FILE: src/rust/cryptography-x509/src/extensions.rs type DuplicateExtensionsError (line 11) | pub struct DuplicateExtensionsError(pub asn1::ObjectIdentifier); type RawExtensions (line 13) | pub type RawExtensions<'a> = common::Asn1ReadableOrWritable< type Extensions (line 22) | pub struct Extensions<'a>(Option>); function from_raw_extensions (line 29) | pub fn from_raw_extensions( function get_extension (line 50) | pub fn get_extension(&self, oid: &asn1::ObjectIdentifier) -> Option Option<&RawExtensions<'a>> { function iter (line 60) | pub fn iter(&self) -> impl Iterator> { type Extension (line 69) | pub struct Extension<'a> { function value (line 77) | pub fn value>(&self) -> asn1::ParseResult { type PolicyConstraints (line 83) | pub struct PolicyConstraints { type AccessDescription (line 91) | pub struct AccessDescription<'a> { type SequenceOfAccessDescriptions (line 96) | pub type SequenceOfAccessDescriptions<'a, Op> = type SequenceOfPolicyQualifiers (line 100) | type SequenceOfPolicyQualifiers<'a, Op> = type PolicyInformation (line 104) | pub struct PolicyInformation<'a, Op: Asn1Operation + 'a> { type PolicyQualifierInfo (line 110) | pub struct PolicyQualifierInfo<'a, Op: Asn1Operation> { type Qualifier (line 116) | pub enum Qualifier<'a, Op: Asn1Operation> { type UserNotice (line 122) | pub struct UserNotice<'a, Op: Asn1Operation> { type NoticeReference (line 128) | pub struct NoticeReference<'a, Op: Asn1Operation> { type DisplayText (line 136) | pub enum DisplayText<'a> { type SequenceOfSubtrees (line 144) | pub type SequenceOfSubtrees<'a, Op> = ::SequenceOfV... type NameConstraints (line 147) | pub struct NameConstraints<'a, Op: Asn1Operation> { type GeneralSubtree (line 156) | pub struct GeneralSubtree<'a> { type MSCertificateTemplate (line 168) | pub struct MSCertificateTemplate { type DistributionPoint (line 175) | pub struct DistributionPoint<'a, Op: Asn1Operation> { type DistributionPointName (line 187) | pub enum DistributionPointName<'a, Op: Asn1Operation> { type AuthorityKeyIdentifier (line 196) | pub struct AuthorityKeyIdentifier<'a, Op: Asn1Operation> { type BasicConstraints (line 206) | pub struct BasicConstraints { type SubjectAlternativeName (line 212) | pub type SubjectAlternativeName<'a> = asn1::SequenceOf<'a, name::General... type IssuerAlternativeName (line 213) | pub type IssuerAlternativeName<'a> = asn1::SequenceOf<'a, name::GeneralN... type ExtendedKeyUsage (line 214) | pub type ExtendedKeyUsage<'a> = asn1::SequenceOf<'a, asn1::ObjectIdentif... type KeyUsage (line 216) | pub struct KeyUsage<'a>(asn1::BitString<'a>); constant TAG (line 219) | const TAG: asn1::Tag = asn1::BitString::TAG; function parse_data (line 221) | fn parse_data(data: &'a [u8]) -> asn1::ParseResult { function is_zeroed (line 227) | pub fn is_zeroed(&self) -> bool { function digital_signature (line 231) | pub fn digital_signature(&self) -> bool { function content_commitment (line 235) | pub fn content_commitment(&self) -> bool { function key_encipherment (line 239) | pub fn key_encipherment(&self) -> bool { function data_encipherment (line 243) | pub fn data_encipherment(&self) -> bool { function key_agreement (line 247) | pub fn key_agreement(&self) -> bool { function key_cert_sign (line 251) | pub fn key_cert_sign(&self) -> bool { function crl_sign (line 255) | pub fn crl_sign(&self) -> bool { function encipher_only (line 259) | pub fn encipher_only(&self) -> bool { function decipher_only (line 263) | pub fn decipher_only(&self) -> bool { type NamingAuthority (line 269) | pub struct NamingAuthority<'a> { type SequenceOfDisplayTexts (line 275) | type SequenceOfDisplayTexts<'a, Op> = ::SequenceOfV... type SequenceOfObjectIdentifiers (line 277) | type SequenceOfObjectIdentifiers<'a, Op> = type ProfessionInfo (line 281) | pub struct ProfessionInfo<'a, Op: Asn1Operation> { type Admission (line 291) | pub struct Admission<'a, Op: Asn1Operation + 'a> { type Admissions (line 300) | pub struct Admissions<'a, Op: Asn1Operation> { type PrivateKeyUsagePeriod (line 306) | pub struct PrivateKeyUsagePeriod { function test_get_extension (line 319) | fn test_get_extension() { function test_extensions_iter (line 343) | fn test_extensions_iter() { function test_extension_value (line 365) | fn test_extension_value() { function test_keyusage (line 382) | fn test_keyusage() { FILE: src/rust/cryptography-x509/src/name.rs type NameReadable (line 7) | pub type NameReadable<'a> = asn1::SequenceOf<'a, asn1::SetOf<'a, common:... type Name (line 9) | pub type Name<'a> = common::Asn1ReadableOrWritable< type UnvalidatedIA5String (line 27) | pub struct UnvalidatedIA5String<'a>(pub &'a str); constant TAG (line 30) | const TAG: asn1::Tag = asn1::IA5String::TAG; function parse_data (line 31) | fn parse_data(data: &'a [u8]) -> asn1::ParseResult { type Error (line 39) | type Error = asn1::WriteError; constant TAG (line 40) | const TAG: asn1::Tag = asn1::IA5String::TAG; function write_data (line 41) | fn write_data(&self, dest: &mut asn1::WriteBuf) -> asn1::WriteResult { function data_length (line 44) | fn data_length(&self) -> Option { type OtherName (line 50) | pub struct OtherName<'a> { type GeneralName (line 57) | pub enum GeneralName<'a> { type SequenceOfGeneralName (line 89) | pub(crate) type SequenceOfGeneralName<'a, Op> = FILE: src/rust/cryptography-x509/src/ocsp_req.rs type TBSRequest (line 8) | pub struct TBSRequest<'a> { type Request (line 23) | pub struct Request<'a> { type CertID (line 30) | pub struct CertID<'a> { type OCSPRequest (line 38) | pub struct OCSPRequest<'a> { FILE: src/rust/cryptography-x509/src/ocsp_resp.rs type OCSPResponse (line 9) | pub struct OCSPResponse<'a> { type ResponseBytes (line 16) | pub struct ResponseBytes<'a> { type Response (line 23) | pub enum Response<'a> { type OCSPCerts (line 28) | pub type OCSPCerts<'a> = Option< type BasicOCSPResponse (line 36) | pub struct BasicOCSPResponse<'a> { type ResponseData (line 45) | pub struct ResponseData<'a> { type ResponderId (line 60) | pub enum ResponderId<'a> { type SingleResponse (line 68) | pub struct SingleResponse<'a> { type CertStatus (line 79) | pub enum CertStatus { type RevokedInfo (line 89) | pub struct RevokedInfo { FILE: src/rust/cryptography-x509/src/oid.rs constant EXTENSION_REQUEST_OID (line 6) | pub const EXTENSION_REQUEST_OID: asn1::ObjectIdentifier = asn1::oid!(1, ... constant MS_EXTENSION_REQUEST (line 7) | pub const MS_EXTENSION_REQUEST: asn1::ObjectIdentifier = constant MS_CERTIFICATE_TEMPLATE (line 9) | pub const MS_CERTIFICATE_TEMPLATE: asn1::ObjectIdentifier = constant PRECERT_SIGNED_CERTIFICATE_TIMESTAMPS_OID (line 11) | pub const PRECERT_SIGNED_CERTIFICATE_TIMESTAMPS_OID: asn1::ObjectIdentif... constant PRECERT_POISON_OID (line 13) | pub const PRECERT_POISON_OID: asn1::ObjectIdentifier = asn1::oid!(1, 3, ... constant SIGNED_CERTIFICATE_TIMESTAMPS_OID (line 14) | pub const SIGNED_CERTIFICATE_TIMESTAMPS_OID: asn1::ObjectIdentifier = constant AUTHORITY_INFORMATION_ACCESS_OID (line 16) | pub const AUTHORITY_INFORMATION_ACCESS_OID: asn1::ObjectIdentifier = constant SUBJECT_INFORMATION_ACCESS_OID (line 18) | pub const SUBJECT_INFORMATION_ACCESS_OID: asn1::ObjectIdentifier = constant TLS_FEATURE_OID (line 20) | pub const TLS_FEATURE_OID: asn1::ObjectIdentifier = asn1::oid!(1, 3, 6, ... constant CP_CPS_URI_OID (line 21) | pub const CP_CPS_URI_OID: asn1::ObjectIdentifier = asn1::oid!(1, 3, 6, 1... constant OCSP_BASIC_OID (line 22) | pub const OCSP_BASIC_OID: asn1::ObjectIdentifier = asn1::oid!(1, 3, 6, 1... constant CP_USER_NOTICE_OID (line 23) | pub const CP_USER_NOTICE_OID: asn1::ObjectIdentifier = asn1::oid!(1, 3, ... constant NONCE_OID (line 24) | pub const NONCE_OID: asn1::ObjectIdentifier = asn1::oid!(1, 3, 6, 1, 5, ... constant OCSP_NO_CHECK_OID (line 25) | pub const OCSP_NO_CHECK_OID: asn1::ObjectIdentifier = asn1::oid!(1, 3, 6... constant SUBJECT_DIRECTORY_ATTRIBUTES_OID (line 26) | pub const SUBJECT_DIRECTORY_ATTRIBUTES_OID: asn1::ObjectIdentifier = asn... constant SUBJECT_KEY_IDENTIFIER_OID (line 27) | pub const SUBJECT_KEY_IDENTIFIER_OID: asn1::ObjectIdentifier = asn1::oid... constant KEY_USAGE_OID (line 28) | pub const KEY_USAGE_OID: asn1::ObjectIdentifier = asn1::oid!(2, 5, 29, 15); constant SUBJECT_ALTERNATIVE_NAME_OID (line 29) | pub const SUBJECT_ALTERNATIVE_NAME_OID: asn1::ObjectIdentifier = asn1::o... constant ISSUER_ALTERNATIVE_NAME_OID (line 30) | pub const ISSUER_ALTERNATIVE_NAME_OID: asn1::ObjectIdentifier = asn1::oi... constant BASIC_CONSTRAINTS_OID (line 31) | pub const BASIC_CONSTRAINTS_OID: asn1::ObjectIdentifier = asn1::oid!(2, ... constant CRL_NUMBER_OID (line 32) | pub const CRL_NUMBER_OID: asn1::ObjectIdentifier = asn1::oid!(2, 5, 29, ... constant CRL_REASON_OID (line 33) | pub const CRL_REASON_OID: asn1::ObjectIdentifier = asn1::oid!(2, 5, 29, ... constant INVALIDITY_DATE_OID (line 34) | pub const INVALIDITY_DATE_OID: asn1::ObjectIdentifier = asn1::oid!(2, 5,... constant DELTA_CRL_INDICATOR_OID (line 35) | pub const DELTA_CRL_INDICATOR_OID: asn1::ObjectIdentifier = asn1::oid!(2... constant ISSUING_DISTRIBUTION_POINT_OID (line 36) | pub const ISSUING_DISTRIBUTION_POINT_OID: asn1::ObjectIdentifier = asn1:... constant CERTIFICATE_ISSUER_OID (line 37) | pub const CERTIFICATE_ISSUER_OID: asn1::ObjectIdentifier = asn1::oid!(2,... constant NAME_CONSTRAINTS_OID (line 38) | pub const NAME_CONSTRAINTS_OID: asn1::ObjectIdentifier = asn1::oid!(2, 5... constant CRL_DISTRIBUTION_POINTS_OID (line 39) | pub const CRL_DISTRIBUTION_POINTS_OID: asn1::ObjectIdentifier = asn1::oi... constant CERTIFICATE_POLICIES_OID (line 40) | pub const CERTIFICATE_POLICIES_OID: asn1::ObjectIdentifier = asn1::oid!(... constant AUTHORITY_KEY_IDENTIFIER_OID (line 41) | pub const AUTHORITY_KEY_IDENTIFIER_OID: asn1::ObjectIdentifier = asn1::o... constant POLICY_CONSTRAINTS_OID (line 42) | pub const POLICY_CONSTRAINTS_OID: asn1::ObjectIdentifier = asn1::oid!(2,... constant EXTENDED_KEY_USAGE_OID (line 43) | pub const EXTENDED_KEY_USAGE_OID: asn1::ObjectIdentifier = asn1::oid!(2,... constant FRESHEST_CRL_OID (line 44) | pub const FRESHEST_CRL_OID: asn1::ObjectIdentifier = asn1::oid!(2, 5, 29... constant INHIBIT_ANY_POLICY_OID (line 45) | pub const INHIBIT_ANY_POLICY_OID: asn1::ObjectIdentifier = asn1::oid!(2,... constant ACCEPTABLE_RESPONSES_OID (line 46) | pub const ACCEPTABLE_RESPONSES_OID: asn1::ObjectIdentifier = constant ADMISSIONS_OID (line 48) | pub const ADMISSIONS_OID: asn1::ObjectIdentifier = asn1::oid!(1, 3, 36, ... constant PRIVATE_KEY_USAGE_PERIOD_OID (line 49) | pub const PRIVATE_KEY_USAGE_PERIOD_OID: asn1::ObjectIdentifier = asn1::o... constant EC_OID (line 52) | pub const EC_OID: asn1::ObjectIdentifier = asn1::oid!(1, 2, 840, 10045, ... constant EC_SECP192R1 (line 54) | pub const EC_SECP192R1: asn1::ObjectIdentifier = asn1::oid!(1, 2, 840, 1... constant EC_SECP224R1 (line 55) | pub const EC_SECP224R1: asn1::ObjectIdentifier = asn1::oid!(1, 3, 132, 0... constant EC_SECP256R1 (line 56) | pub const EC_SECP256R1: asn1::ObjectIdentifier = asn1::oid!(1, 2, 840, 1... constant EC_SECP384R1 (line 57) | pub const EC_SECP384R1: asn1::ObjectIdentifier = asn1::oid!(1, 3, 132, 0... constant EC_SECP521R1 (line 58) | pub const EC_SECP521R1: asn1::ObjectIdentifier = asn1::oid!(1, 3, 132, 0... constant EC_SECP256K1 (line 60) | pub const EC_SECP256K1: asn1::ObjectIdentifier = asn1::oid!(1, 3, 132, 0... constant EC_BRAINPOOLP256R1 (line 62) | pub const EC_BRAINPOOLP256R1: asn1::ObjectIdentifier = asn1::oid!(1, 3, ... constant EC_BRAINPOOLP384R1 (line 63) | pub const EC_BRAINPOOLP384R1: asn1::ObjectIdentifier = asn1::oid!(1, 3, ... constant EC_BRAINPOOLP512R1 (line 64) | pub const EC_BRAINPOOLP512R1: asn1::ObjectIdentifier = asn1::oid!(1, 3, ... constant RSA_OID (line 66) | pub const RSA_OID: asn1::ObjectIdentifier = asn1::oid!(1, 2, 840, 113549... constant ECDSA_WITH_SHA224_OID (line 69) | pub const ECDSA_WITH_SHA224_OID: asn1::ObjectIdentifier = asn1::oid!(1, ... constant ECDSA_WITH_SHA256_OID (line 70) | pub const ECDSA_WITH_SHA256_OID: asn1::ObjectIdentifier = asn1::oid!(1, ... constant ECDSA_WITH_SHA384_OID (line 71) | pub const ECDSA_WITH_SHA384_OID: asn1::ObjectIdentifier = asn1::oid!(1, ... constant ECDSA_WITH_SHA512_OID (line 72) | pub const ECDSA_WITH_SHA512_OID: asn1::ObjectIdentifier = asn1::oid!(1, ... constant ECDSA_WITH_SHA3_224_OID (line 73) | pub const ECDSA_WITH_SHA3_224_OID: asn1::ObjectIdentifier = constant ECDSA_WITH_SHA3_256_OID (line 75) | pub const ECDSA_WITH_SHA3_256_OID: asn1::ObjectIdentifier = constant ECDSA_WITH_SHA3_384_OID (line 77) | pub const ECDSA_WITH_SHA3_384_OID: asn1::ObjectIdentifier = constant ECDSA_WITH_SHA3_512_OID (line 79) | pub const ECDSA_WITH_SHA3_512_OID: asn1::ObjectIdentifier = constant RSA_WITH_SHA1_OID (line 82) | pub const RSA_WITH_SHA1_OID: asn1::ObjectIdentifier = asn1::oid!(1, 2, 8... constant RSA_WITH_SHA1_ALT_OID (line 83) | pub const RSA_WITH_SHA1_ALT_OID: asn1::ObjectIdentifier = asn1::oid!(1, ... constant RSA_WITH_SHA224_OID (line 84) | pub const RSA_WITH_SHA224_OID: asn1::ObjectIdentifier = asn1::oid!(1, 2,... constant RSA_WITH_SHA256_OID (line 85) | pub const RSA_WITH_SHA256_OID: asn1::ObjectIdentifier = asn1::oid!(1, 2,... constant RSA_WITH_SHA384_OID (line 86) | pub const RSA_WITH_SHA384_OID: asn1::ObjectIdentifier = asn1::oid!(1, 2,... constant RSA_WITH_SHA512_OID (line 87) | pub const RSA_WITH_SHA512_OID: asn1::ObjectIdentifier = asn1::oid!(1, 2,... constant RSA_WITH_SHA3_224_OID (line 88) | pub const RSA_WITH_SHA3_224_OID: asn1::ObjectIdentifier = constant RSA_WITH_SHA3_256_OID (line 90) | pub const RSA_WITH_SHA3_256_OID: asn1::ObjectIdentifier = constant RSA_WITH_SHA3_384_OID (line 92) | pub const RSA_WITH_SHA3_384_OID: asn1::ObjectIdentifier = constant RSA_WITH_SHA3_512_OID (line 94) | pub const RSA_WITH_SHA3_512_OID: asn1::ObjectIdentifier = constant DSA_OID (line 97) | pub const DSA_OID: asn1::ObjectIdentifier = asn1::oid!(1, 2, 840, 10040,... constant DSA_WITH_SHA224_OID (line 98) | pub const DSA_WITH_SHA224_OID: asn1::ObjectIdentifier = asn1::oid!(2, 16... constant DSA_WITH_SHA256_OID (line 99) | pub const DSA_WITH_SHA256_OID: asn1::ObjectIdentifier = asn1::oid!(2, 16... constant DSA_WITH_SHA384_OID (line 100) | pub const DSA_WITH_SHA384_OID: asn1::ObjectIdentifier = asn1::oid!(2, 16... constant DSA_WITH_SHA512_OID (line 101) | pub const DSA_WITH_SHA512_OID: asn1::ObjectIdentifier = asn1::oid!(2, 16... constant DH_OID (line 103) | pub const DH_OID: asn1::ObjectIdentifier = asn1::oid!(1, 2, 840, 10046, ... constant DH_KEY_AGREEMENT_OID (line 104) | pub const DH_KEY_AGREEMENT_OID: asn1::ObjectIdentifier = asn1::oid!(1, 2... constant X25519_OID (line 106) | pub const X25519_OID: asn1::ObjectIdentifier = asn1::oid!(1, 3, 101, 110); constant X448_OID (line 107) | pub const X448_OID: asn1::ObjectIdentifier = asn1::oid!(1, 3, 101, 111); constant ED25519_OID (line 109) | pub const ED25519_OID: asn1::ObjectIdentifier = asn1::oid!(1, 3, 101, 112); constant ED448_OID (line 110) | pub const ED448_OID: asn1::ObjectIdentifier = asn1::oid!(1, 3, 101, 113); constant SHA1_OID (line 113) | pub const SHA1_OID: asn1::ObjectIdentifier = asn1::oid!(1, 3, 14, 3, 2, ... constant SHA224_OID (line 114) | pub const SHA224_OID: asn1::ObjectIdentifier = asn1::oid!(2, 16, 840, 1,... constant SHA256_OID (line 115) | pub const SHA256_OID: asn1::ObjectIdentifier = asn1::oid!(2, 16, 840, 1,... constant SHA384_OID (line 116) | pub const SHA384_OID: asn1::ObjectIdentifier = asn1::oid!(2, 16, 840, 1,... constant SHA512_OID (line 117) | pub const SHA512_OID: asn1::ObjectIdentifier = asn1::oid!(2, 16, 840, 1,... constant SHA3_224_OID (line 118) | pub const SHA3_224_OID: asn1::ObjectIdentifier = constant SHA3_256_OID (line 120) | pub const SHA3_256_OID: asn1::ObjectIdentifier = constant SHA3_384_OID (line 122) | pub const SHA3_384_OID: asn1::ObjectIdentifier = constant SHA3_512_OID (line 124) | pub const SHA3_512_OID: asn1::ObjectIdentifier = constant SHA3_224_NIST_OID (line 128) | pub const SHA3_224_NIST_OID: asn1::ObjectIdentifier = asn1::oid!(2, 16, ... constant SHA3_256_NIST_OID (line 129) | pub const SHA3_256_NIST_OID: asn1::ObjectIdentifier = asn1::oid!(2, 16, ... constant SHA3_384_NIST_OID (line 130) | pub const SHA3_384_NIST_OID: asn1::ObjectIdentifier = asn1::oid!(2, 16, ... constant SHA3_512_NIST_OID (line 131) | pub const SHA3_512_NIST_OID: asn1::ObjectIdentifier = asn1::oid!(2, 16, ... constant MGF1_OID (line 133) | pub const MGF1_OID: asn1::ObjectIdentifier = asn1::oid!(1, 2, 840, 11354... constant RSASSA_PSS_OID (line 134) | pub const RSASSA_PSS_OID: asn1::ObjectIdentifier = asn1::oid!(1, 2, 840,... constant EKU_SERVER_AUTH_OID (line 137) | pub const EKU_SERVER_AUTH_OID: asn1::ObjectIdentifier = asn1::oid!(1, 3,... constant EKU_CLIENT_AUTH_OID (line 138) | pub const EKU_CLIENT_AUTH_OID: asn1::ObjectIdentifier = asn1::oid!(1, 3,... constant EKU_CODE_SIGNING_OID (line 139) | pub const EKU_CODE_SIGNING_OID: asn1::ObjectIdentifier = asn1::oid!(1, 3... constant EKU_EMAIL_PROTECTION_OID (line 140) | pub const EKU_EMAIL_PROTECTION_OID: asn1::ObjectIdentifier = asn1::oid!(... constant EKU_TIME_STAMPING_OID (line 141) | pub const EKU_TIME_STAMPING_OID: asn1::ObjectIdentifier = asn1::oid!(1, ... constant EKU_OCSP_SIGNING_OID (line 142) | pub const EKU_OCSP_SIGNING_OID: asn1::ObjectIdentifier = asn1::oid!(1, 3... constant EKU_ANY_KEY_USAGE_OID (line 143) | pub const EKU_ANY_KEY_USAGE_OID: asn1::ObjectIdentifier = asn1::oid!(2, ... constant EKU_CERTIFICATE_TRANSPARENCY_OID (line 144) | pub const EKU_CERTIFICATE_TRANSPARENCY_OID: asn1::ObjectIdentifier = constant PBES2_OID (line 147) | pub const PBES2_OID: asn1::ObjectIdentifier = asn1::oid!(1, 2, 840, 1135... constant PBKDF2_OID (line 148) | pub const PBKDF2_OID: asn1::ObjectIdentifier = asn1::oid!(1, 2, 840, 113... constant PBE_WITH_MD5_AND_DES_CBC (line 149) | pub const PBE_WITH_MD5_AND_DES_CBC: asn1::ObjectIdentifier = asn1::oid!(... constant SCRYPT_OID (line 150) | pub const SCRYPT_OID: asn1::ObjectIdentifier = asn1::oid!(1, 3, 6, 1, 4,... constant PBE_WITH_SHA_AND_128_BIT_RC4 (line 152) | pub const PBE_WITH_SHA_AND_128_BIT_RC4: asn1::ObjectIdentifier = constant PBE_WITH_SHA_AND_3KEY_TRIPLEDES_CBC (line 154) | pub const PBE_WITH_SHA_AND_3KEY_TRIPLEDES_CBC: asn1::ObjectIdentifier = constant PBE_WITH_SHA_AND_40_BIT_RC2_CBC (line 156) | pub const PBE_WITH_SHA_AND_40_BIT_RC2_CBC: asn1::ObjectIdentifier = constant AES_128_CBC_OID (line 159) | pub const AES_128_CBC_OID: asn1::ObjectIdentifier = asn1::oid!(2, 16, 84... constant AES_192_CBC_OID (line 160) | pub const AES_192_CBC_OID: asn1::ObjectIdentifier = asn1::oid!(2, 16, 84... constant AES_256_CBC_OID (line 161) | pub const AES_256_CBC_OID: asn1::ObjectIdentifier = asn1::oid!(2, 16, 84... constant DES_EDE3_CBC_OID (line 163) | pub const DES_EDE3_CBC_OID: asn1::ObjectIdentifier = asn1::oid!(1, 2, 84... constant RC2_CBC (line 165) | pub const RC2_CBC: asn1::ObjectIdentifier = asn1::oid!(1, 2, 840, 113549... constant HMAC_WITH_SHA1_OID (line 167) | pub const HMAC_WITH_SHA1_OID: asn1::ObjectIdentifier = asn1::oid!(1, 2, ... constant HMAC_WITH_SHA224_OID (line 168) | pub const HMAC_WITH_SHA224_OID: asn1::ObjectIdentifier = asn1::oid!(1, 2... constant HMAC_WITH_SHA256_OID (line 169) | pub const HMAC_WITH_SHA256_OID: asn1::ObjectIdentifier = asn1::oid!(1, 2... constant HMAC_WITH_SHA384_OID (line 170) | pub const HMAC_WITH_SHA384_OID: asn1::ObjectIdentifier = asn1::oid!(1, 2... constant HMAC_WITH_SHA512_OID (line 171) | pub const HMAC_WITH_SHA512_OID: asn1::ObjectIdentifier = asn1::oid!(1, 2... constant PRIME_FIELD_OID (line 173) | pub const PRIME_FIELD_OID: asn1::ObjectIdentifier = asn1::oid!(1, 2, 840... constant CHARACTERISTIC_TWO_FIELD_OID (line 174) | pub const CHARACTERISTIC_TWO_FIELD_OID: asn1::ObjectIdentifier = asn1::o... FILE: src/rust/cryptography-x509/src/pkcs12.rs constant CERT_BAG_OID (line 10) | pub const CERT_BAG_OID: asn1::ObjectIdentifier = asn1::oid!(1, 2, 840, 1... constant KEY_BAG_OID (line 11) | pub const KEY_BAG_OID: asn1::ObjectIdentifier = asn1::oid!(1, 2, 840, 11... constant SHROUDED_KEY_BAG_OID (line 12) | pub const SHROUDED_KEY_BAG_OID: asn1::ObjectIdentifier = constant X509_CERTIFICATE_OID (line 14) | pub const X509_CERTIFICATE_OID: asn1::ObjectIdentifier = asn1::oid!(1, 2... constant FRIENDLY_NAME_OID (line 15) | pub const FRIENDLY_NAME_OID: asn1::ObjectIdentifier = asn1::oid!(1, 2, 8... constant LOCAL_KEY_ID_OID (line 16) | pub const LOCAL_KEY_ID_OID: asn1::ObjectIdentifier = asn1::oid!(1, 2, 84... constant JDK_TRUSTSTORE_USAGE (line 17) | pub const JDK_TRUSTSTORE_USAGE: asn1::ObjectIdentifier = type Pfx (line 21) | pub struct Pfx<'a> { type MacData (line 28) | pub struct MacData<'a> { type SafeBag (line 36) | pub struct SafeBag<'a> { type Attribute (line 44) | pub struct Attribute<'a> { type AttributeSet (line 51) | pub enum AttributeSet<'a> { type BagValue (line 63) | pub enum BagValue<'a> { type CertBag (line 75) | pub struct CertBag<'a> { type CertType (line 82) | pub enum CertType<'a> { FILE: src/rust/cryptography-x509/src/pkcs7.rs constant PKCS7_DATA_OID (line 7) | pub const PKCS7_DATA_OID: asn1::ObjectIdentifier = asn1::oid!(1, 2, 840,... constant PKCS7_SIGNED_DATA_OID (line 8) | pub const PKCS7_SIGNED_DATA_OID: asn1::ObjectIdentifier = asn1::oid!(1, ... constant PKCS7_ENVELOPED_DATA_OID (line 9) | pub const PKCS7_ENVELOPED_DATA_OID: asn1::ObjectIdentifier = asn1::oid!(... constant PKCS7_ENCRYPTED_DATA_OID (line 10) | pub const PKCS7_ENCRYPTED_DATA_OID: asn1::ObjectIdentifier = asn1::oid!(... type ContentInfo (line 13) | pub struct ContentInfo<'a> { type Content (line 22) | pub enum Content<'a> { type SignedData (line 34) | pub struct SignedData<'a> { type SignerInfo (line 65) | pub struct SignerInfo<'a> { type EnvelopedData (line 80) | pub struct EnvelopedData<'a> { type RecipientInfo (line 90) | pub struct RecipientInfo<'a> { type IssuerAndSerialNumber (line 98) | pub struct IssuerAndSerialNumber<'a> { type EncryptedData (line 104) | pub struct EncryptedData<'a> { type EncryptedContentInfo (line 110) | pub struct EncryptedContentInfo<'a> { type DigestInfo (line 118) | pub struct DigestInfo<'a> { FILE: src/rust/cryptography-x509/src/pkcs8.rs type EncryptedPrivateKeyInfo (line 9) | pub struct EncryptedPrivateKeyInfo<'a> { FILE: src/rust/src/asn1.rs function py_oid_to_oid (line 13) | pub(crate) fn py_oid_to_oid( function oid_to_py_oid (line 23) | pub(crate) fn oid_to_py_oid<'p>( function parse_spki_for_data (line 31) | fn parse_spki_for_data<'p>( function big_byte_slice_to_py_int (line 46) | pub(crate) fn big_byte_slice_to_py_int<'p>( function decode_dss_signature (line 56) | fn decode_dss_signature<'p>( function py_uint_to_big_endian_bytes (line 70) | pub(crate) fn py_uint_to_big_endian_bytes<'p>( function py_uint_to_be_bytes_with_length (line 85) | pub(crate) fn py_uint_to_be_bytes_with_length<'p>( function encode_der_data (line 101) | pub(crate) fn encode_der_data<'p>( function encode_dss_signature (line 125) | fn encode_dss_signature<'p>( FILE: src/rust/src/backend/aead.rs function check_length (line 11) | fn check_length(data: &[u8]) -> CryptographyResult<()> { type Aad (line 24) | pub(crate) enum Aad<'a> { type EvpCipherAead (line 29) | pub(crate) struct EvpCipherAead { method new (line 37) | pub(crate) fn new( method process_aad (line 56) | fn process_aad( method process_data (line 78) | fn process_data( method encrypt_into (line 130) | pub(crate) fn encrypt_into( method encrypt_with_context (line 156) | fn encrypt_with_context( method decrypt_into (line 195) | pub(crate) fn decrypt_into( method decrypt_with_context (line 221) | fn decrypt_with_context( type LazyEvpCipherAead (line 263) | struct LazyEvpCipherAead { method new (line 274) | fn new( method encrypt_into (line 290) | fn encrypt_into( method decrypt_into (line 321) | fn decrypt_into( type EvpAead (line 356) | struct EvpAead { method new (line 363) | fn new( method encrypt_into (line 374) | fn encrypt_into( method decrypt_into (line 397) | fn decrypt_into( type ChaCha20Poly1305 (line 422) | pub(crate) struct ChaCha20Poly1305 { method new (line 439) | pub(crate) fn new( method generate_key (line 494) | fn generate_key( method encrypt (line 501) | pub(crate) fn encrypt<'p>( method encrypt_into (line 522) | fn encrypt_into( method decrypt (line 559) | pub(crate) fn decrypt<'p>( method decrypt_into (line 586) | fn decrypt_into( type AesGcm (line 632) | pub(crate) struct AesGcm { method new (line 653) | pub(crate) fn new( method generate_key (line 691) | fn generate_key( method encrypt (line 705) | pub(crate) fn encrypt<'p>( method encrypt_into (line 726) | fn encrypt_into( method decrypt (line 763) | pub(crate) fn decrypt<'p>( method decrypt_into (line 795) | fn decrypt_into( type AesCcm (line 841) | struct AesCcm { method new (line 850) | fn new( method generate_key (line 896) | fn generate_key( method encrypt (line 909) | fn encrypt<'p>( method encrypt_into (line 930) | fn encrypt_into( method decrypt (line 979) | fn decrypt<'p>( method decrypt_into (line 1010) | fn decrypt_into( type AesSiv (line 1068) | struct AesSiv { method new (line 1075) | fn new(key: CffiBuf<'_>) -> CryptographyResult { method generate_key (line 1118) | fn generate_key( method encrypt (line 1132) | fn encrypt<'p>( method encrypt_into (line 1150) | fn encrypt_into( method decrypt (line 1187) | fn decrypt<'p>( method decrypt_into (line 1208) | fn decrypt_into( type AesOcb3 (line 1247) | struct AesOcb3 { method new (line 1254) | fn new(key: CffiBuf<'_>) -> CryptographyResult { method generate_key (line 1296) | fn generate_key( method encrypt (line 1310) | fn encrypt<'p>( method encrypt_into (line 1331) | fn encrypt_into( method decrypt (line 1368) | fn decrypt<'p>( method decrypt_into (line 1400) | fn decrypt_into( type AesGcmSiv (line 1446) | struct AesGcmSiv { method new (line 1456) | fn new(key: CffiBuf<'_>) -> CryptographyResult { method generate_key (line 1512) | fn generate_key( method encrypt (line 1526) | fn encrypt<'p>( method encrypt_into (line 1547) | fn encrypt_into( method decrypt (line 1594) | fn decrypt<'p>( method decrypt_into (line 1626) | fn decrypt_into( FILE: src/rust/src/backend/cipher_registry.rs type RegistryKey (line 13) | struct RegistryKey { method new (line 23) | fn new( method hash (line 52) | fn hash(&self, state: &mut H) { method eq (line 40) | fn eq(&self, other: &RegistryKey) -> bool { type RegistryCipher (line 58) | enum RegistryCipher { method from (line 64) | fn from(c: &'static openssl::cipher::CipherRef) -> RegistryCipher { method from (line 70) | fn from(c: Cipher) -> RegistryCipher { type RegistryBuilder (line 75) | struct RegistryBuilder<'p> { function new (line 81) | fn new(py: pyo3::Python<'p>) -> Self { function add (line 88) | fn add( function build (line 108) | fn build(self) -> HashMap { function get_cipher_registry (line 113) | fn get_cipher_registry( function get_cipher (line 328) | pub(crate) fn get_cipher<'py>( FILE: src/rust/src/backend/ciphers.rs type CipherContext (line 13) | pub(crate) struct CipherContext { method new (line 21) | pub(crate) fn new( method reset_nonce (line 123) | fn reset_nonce(&mut self, py: pyo3::Python<'_>, nonce: CffiBuf<'_>) ->... method update (line 156) | fn update<'p>( method update_into (line 166) | pub(crate) fn update_into( method authenticate_additional_data (line 202) | fn authenticate_additional_data(&mut self, data: &[u8]) -> Cryptograph... method finalize (line 207) | pub(crate) fn finalize<'p>( type PyCipherContext (line 235) | struct PyCipherContext { method update (line 268) | fn update<'p>( method reset_nonce (line 276) | fn reset_nonce(&mut self, py: pyo3::Python<'_>, nonce: CffiBuf<'_>) ->... method update_into (line 280) | fn update_into( method finalize (line 289) | fn finalize<'p>( type PyAEADEncryptionContext (line 243) | struct PyAEADEncryptionContext { method update (line 301) | fn update<'p>( method update_into (line 318) | fn update_into( method authenticate_additional_data (line 336) | fn authenticate_additional_data(&mut self, data: CffiBuf<'_>) -> Crypt... method finalize (line 354) | fn finalize<'p>( method tag (line 373) | fn tag(&self, py: pyo3::Python<'_>) -> CryptographyResult, nonce: CffiBuf<'_>) ->... type PyAEADDecryptionContext (line 255) | struct PyAEADDecryptionContext { method update (line 392) | fn update<'p>( method update_into (line 409) | fn update_into( method authenticate_additional_data (line 427) | fn authenticate_additional_data(&mut self, data: CffiBuf<'_>) -> Crypt... method finalize (line 445) | fn finalize<'p>( method finalize_with_tag (line 469) | fn finalize_with_tag<'p>( method reset_nonce (line 515) | fn reset_nonce(&mut self, py: pyo3::Python<'_>, nonce: CffiBuf<'_>) ->... function get_mut_ctx (line 262) | fn get_mut_ctx(ctx: Option<&mut CipherContext>) -> CryptographyResult<&m... function create_encryption_ctx (line 521) | fn create_encryption_ctx<'p>( function create_decryption_ctx (line 550) | fn create_decryption_ctx<'p>( function cipher_supported (line 585) | fn cipher_supported( function _advance (line 594) | fn _advance(ctx: pyo3::Bound<'_, pyo3::PyAny>, n: u64) { function _advance_aad (line 603) | fn _advance_aad(ctx: pyo3::Bound<'_, pyo3::PyAny>, n: u64) { FILE: src/rust/src/backend/cmac.rs type Cmac (line 17) | pub(crate) struct Cmac { method new_bytes (line 22) | pub(crate) fn new_bytes( method new_with_algorithm (line 30) | pub(crate) fn new_with_algorithm( method update_bytes (line 57) | pub(crate) fn update_bytes(&mut self, data: &[u8]) -> CryptographyResu... method finalize_bytes (line 62) | pub(crate) fn finalize_bytes( method get_ctx (line 70) | fn get_ctx(&self) -> CryptographyResult<&cryptography_openssl::cmac::C... method get_mut_ctx (line 77) | fn get_mut_ctx(&mut self) -> CryptographyResult<&mut cryptography_open... method new (line 89) | fn new( method update (line 99) | fn update(&mut self, data: CffiBuf<'_>) -> CryptographyResult<()> { method finalize (line 103) | fn finalize<'p>( method verify (line 111) | fn verify(&mut self, _py: pyo3::Python<'_>, signature: &[u8]) -> Crypt... method copy (line 121) | pub(crate) fn copy(&self) -> CryptographyResult { FILE: src/rust/src/backend/dh.rs type DHPrivateKey (line 14) | pub(crate) struct DHPrivateKey { method key_size (line 143) | fn key_size(&self) -> i32 { method exchange (line 147) | fn exchange<'p>( method private_numbers (line 172) | fn private_numbers(&self, py: pyo3::Python<'_>) -> CryptographyResult<... method public_key (line 204) | fn public_key(&self) -> CryptographyResult { method parameters (line 214) | fn parameters(&self) -> CryptographyResult { method private_bytes (line 220) | fn private_bytes<'p>( method __copy__ (line 247) | fn __copy__(slf: pyo3::PyRef<'_, Self>) -> pyo3::PyRef<'_, Self> { method __deepcopy__ (line 251) | fn __deepcopy__<'p>( type DHPublicKey (line 19) | pub(crate) struct DHPublicKey { method key_size (line 262) | fn key_size(&self) -> i32 { method public_bytes (line 266) | fn public_bytes<'p>( method parameters (line 283) | fn parameters(&self) -> CryptographyResult { method public_numbers (line 289) | fn public_numbers(&self, py: pyo3::Python<'_>) -> CryptographyResult) -> bool { method __copy__ (line 319) | fn __copy__(slf: pyo3::PyRef<'_, Self>) -> pyo3::PyRef<'_, Self> { method __deepcopy__ (line 323) | fn __deepcopy__<'p>( type DHParameters (line 24) | struct DHParameters { method generate_private_key (line 334) | fn generate_private_key(&self) -> CryptographyResult { method parameter_numbers (line 341) | fn parameter_numbers(&self, py: pyo3::Python<'_>) -> CryptographyResul... method parameter_bytes (line 359) | fn parameter_bytes<'p>( function generate_parameters (line 30) | fn generate_parameters( function private_key_from_pkey (line 56) | pub(crate) fn private_key_from_pkey( function public_key_from_pkey (line 64) | pub(crate) fn public_key_from_pkey( function from_der_parameters (line 74) | fn from_der_parameters( function from_pem_parameters (line 95) | fn from_pem_parameters( function dh_parameters_from_numbers (line 109) | fn dh_parameters_from_numbers( function clone_dh (line 131) | fn clone_dh( type DHPrivateNumbers (line 392) | struct DHPrivateNumbers { method new (line 420) | fn new( method private_key (line 429) | fn private_key( method __eq__ (line 446) | fn __eq__( type DHPublicNumbers (line 400) | struct DHPublicNumbers { method new (line 462) | fn new( method public_key (line 474) | fn public_key( method __eq__ (line 490) | fn __eq__( type DHParameterNumbers (line 408) | struct DHParameterNumbers { method new (line 507) | fn new( method parameters (line 535) | fn parameters( method __eq__ (line 546) | fn __eq__( FILE: src/rust/src/backend/dsa.rs type DsaPrivateKey (line 17) | pub(crate) struct DsaPrivateKey { method sign (line 69) | fn sign<'p>( method key_size (line 90) | fn key_size(&self) -> i32 { method public_key (line 94) | fn public_key(&self) -> CryptographyResult { method parameters (line 107) | fn parameters(&self) -> CryptographyResult { method private_numbers (line 112) | fn private_numbers(&self, py: pyo3::Python<'_>) -> CryptographyResult<... method private_bytes (line 137) | fn private_bytes<'p>( method __copy__ (line 156) | fn __copy__(slf: pyo3::PyRef<'_, Self>) -> pyo3::PyRef<'_, Self> { method __deepcopy__ (line 160) | fn __deepcopy__<'p>( type DsaPublicKey (line 26) | pub(crate) struct DsaPublicKey { method verify (line 170) | fn verify( method key_size (line 194) | fn key_size(&self) -> i32 { method parameters (line 198) | fn parameters(&self) -> CryptographyResult { method public_numbers (line 203) | fn public_numbers(&self, py: pyo3::Python<'_>) -> CryptographyResult( method __eq__ (line 232) | fn __eq__(&self, other: pyo3::PyRef<'_, Self>) -> bool { method __copy__ (line 236) | fn __copy__(slf: pyo3::PyRef<'_, Self>) -> pyo3::PyRef<'_, Self> { method __deepcopy__ (line 240) | fn __deepcopy__<'p>( type DsaParameters (line 35) | struct DsaParameters { method generate_private_key (line 250) | fn generate_private_key(&self) -> CryptographyResult { method parameter_numbers (line 256) | fn parameter_numbers(&self, py: pyo3::Python<'_>) -> CryptographyResul... function private_key_from_pkey (line 39) | pub(crate) fn private_key_from_pkey( function public_key_from_pkey (line 47) | pub(crate) fn public_key_from_pkey( function generate_parameters (line 56) | fn generate_parameters(key_size: u32) -> CryptographyResult( function check_dsa_parameters (line 269) | fn check_dsa_parameters( function check_dsa_private_numbers (line 308) | fn check_dsa_private_numbers( type DsaPrivateNumbers (line 339) | struct DsaPrivateNumbers { method new (line 375) | fn new( method private_key (line 383) | fn private_key( method __eq__ (line 407) | fn __eq__( type DsaPublicNumbers (line 351) | struct DsaPublicNumbers { method new (line 423) | fn new( method public_key (line 434) | fn public_key( method __eq__ (line 456) | fn __eq__( method __repr__ (line 468) | fn __repr__<'py>( type DsaParameterNumbers (line 363) | struct DsaParameterNumbers { method new (line 484) | fn new( method parameters (line 493) | fn parameters( method __eq__ (line 511) | fn __eq__( method __repr__ (line 521) | fn __repr__<'py>( FILE: src/rust/src/backend/ec.rs type ECPrivateKey (line 16) | pub(crate) struct ECPrivateKey { method key_size (line 193) | fn key_size<'p>( method exchange (line 200) | fn exchange<'p>( method sign (line 249) | fn sign<'p>( method public_key (line 304) | fn public_key(&self, py: pyo3::Python<'_>) -> CryptographyResult( method __copy__ (line 362) | fn __copy__(slf: pyo3::PyRef<'_, Self>) -> pyo3::PyRef<'_, Self> { method __deepcopy__ (line 366) | fn __deepcopy__<'p>( type ECPublicKey (line 23) | pub(crate) struct ECPublicKey { method new (line 375) | fn new( method key_size (line 395) | fn key_size<'p>( method verify (line 402) | fn verify( method public_numbers (line 438) | fn public_numbers( method public_bytes (line 459) | fn public_bytes<'p>( method __eq__ (line 468) | fn __eq__(&self, other: pyo3::PyRef<'_, Self>) -> bool { method __copy__ (line 472) | fn __copy__(slf: pyo3::PyRef<'_, Self>) -> pyo3::PyRef<'_, Self> { method __deepcopy__ (line 476) | fn __deepcopy__<'p>( function curve_from_py_curve (line 29) | fn curve_from_py_curve( function py_curve_from_curve (line 75) | fn py_curve_from_curve<'p>( function check_key_infinity (line 86) | fn check_key_infinity( function curve_supported (line 100) | fn curve_supported(py: pyo3::Python<'_>, py_curve: pyo3::Bound<'_, pyo3:... function private_key_from_pkey (line 104) | pub(crate) fn private_key_from_pkey( function public_key_from_pkey (line 119) | pub(crate) fn public_key_from_pkey( function generate_private_key (line 131) | pub(crate) fn generate_private_key( function derive_private_key (line 149) | fn derive_private_key( function from_public_bytes (line 174) | pub(crate) fn from_public_bytes( type EllipticCurvePrivateNumbers (line 485) | struct EllipticCurvePrivateNumbers { method new (line 534) | fn new( method private_key (line 545) | fn private_key( method __eq__ (line 580) | fn __eq__( method __hash__ (line 594) | fn __hash__(&self, py: pyo3::Python<'_>) -> CryptographyResult { type EllipticCurvePublicNumbers (line 493) | struct EllipticCurvePublicNumbers { method new (line 605) | fn new( method public_key (line 626) | fn public_key( method __eq__ (line 641) | fn __eq__( method __hash__ (line 663) | fn __hash__(&self, py: pyo3::Python<'_>) -> CryptographyResult { method __repr__ (line 680) | fn __repr__<'py>( function public_key_from_numbers (line 502) | fn public_key_from_numbers( FILE: src/rust/src/backend/ed25519.rs type Ed25519PrivateKey (line 11) | pub(crate) struct Ed25519PrivateKey { method sign (line 66) | fn sign<'p>( method public_key (line 82) | fn public_key(&self) -> CryptographyResult { method private_bytes_raw (line 92) | fn private_bytes_raw<'p>( method private_bytes (line 100) | fn private_bytes<'p>( method __copy__ (line 119) | fn __copy__(slf: pyo3::PyRef<'_, Self>) -> pyo3::PyRef<'_, Self> { method __deepcopy__ (line 123) | fn __deepcopy__<'p>( type Ed25519PublicKey (line 16) | pub(crate) struct Ed25519PublicKey { method verify (line 133) | fn verify(&self, signature: CffiBuf<'_>, data: CffiBuf<'_>) -> Cryptog... method public_bytes_raw (line 147) | fn public_bytes_raw<'p>( method public_bytes (line 155) | fn public_bytes<'p>( method __eq__ (line 164) | fn __eq__(&self, other: pyo3::PyRef<'_, Self>) -> bool { method __copy__ (line 168) | fn __copy__(slf: pyo3::PyRef<'_, Self>) -> pyo3::PyRef<'_, Self> { method __deepcopy__ (line 172) | fn __deepcopy__<'p>( function generate_key (line 21) | fn generate_key() -> CryptographyResult { function private_key_from_pkey (line 27) | pub(crate) fn private_key_from_pkey( function public_key_from_pkey (line 35) | pub(crate) fn public_key_from_pkey( function from_private_bytes (line 44) | fn from_private_bytes(data: CffiBuf<'_>) -> pyo3::PyResult pyo3::PyResult { FILE: src/rust/src/backend/ed448.rs type Ed448PrivateKey (line 11) | pub(crate) struct Ed448PrivateKey { method sign (line 64) | fn sign<'p>( method public_key (line 80) | fn public_key(&self) -> CryptographyResult { method private_bytes_raw (line 90) | fn private_bytes_raw<'p>( method private_bytes (line 98) | fn private_bytes<'p>( method __copy__ (line 117) | fn __copy__(slf: pyo3::PyRef<'_, Self>) -> pyo3::PyRef<'_, Self> { method __deepcopy__ (line 121) | fn __deepcopy__<'p>( type Ed448PublicKey (line 16) | pub(crate) struct Ed448PublicKey { method verify (line 131) | fn verify(&self, signature: CffiBuf<'_>, data: CffiBuf<'_>) -> Cryptog... method public_bytes_raw (line 144) | fn public_bytes_raw<'p>( method public_bytes (line 152) | fn public_bytes<'p>( method __eq__ (line 161) | fn __eq__(&self, other: pyo3::PyRef<'_, Self>) -> bool { method __copy__ (line 165) | fn __copy__(slf: pyo3::PyRef<'_, Self>) -> pyo3::PyRef<'_, Self> { method __deepcopy__ (line 169) | fn __deepcopy__<'p>( function generate_key (line 21) | fn generate_key() -> CryptographyResult { function private_key_from_pkey (line 27) | pub(crate) fn private_key_from_pkey( function public_key_from_pkey (line 35) | pub(crate) fn public_key_from_pkey( function from_private_bytes (line 44) | fn from_private_bytes(data: CffiBuf<'_>) -> pyo3::PyResult pyo3::PyResult { FILE: src/rust/src/backend/hashes.rs type Hash (line 14) | pub(crate) struct Hash { method get_ctx (line 21) | fn get_ctx(&self) -> CryptographyResult<&openssl::hash::Hasher> { method get_mut_ctx (line 28) | fn get_mut_ctx(&mut self) -> CryptographyResult<&mut openssl::hash::Ha... method update_bytes (line 75) | pub(crate) fn update_bytes(&mut self, data: &[u8]) -> CryptographyResu... method new (line 85) | pub(crate) fn new( method update (line 101) | fn update(&mut self, data: CffiBuf<'_>) -> CryptographyResult<()> { method finalize (line 105) | pub(crate) fn finalize<'p>( method copy (line 132) | fn copy(&self, py: pyo3::Python<'_>) -> CryptographyResult { method hash (line 140) | fn hash<'p>( function message_digest_from_algorithm (line 36) | pub(crate) fn message_digest_from_algorithm( function hash_supported (line 70) | fn hash_supported(py: pyo3::Python<'_>, algorithm: pyo3::Bound<'_, pyo3:... type XOFHash (line 168) | pub(crate) struct XOFHash { method update_bytes (line 177) | pub(crate) fn update_bytes(&mut self, data: &[u8]) -> CryptographyResu... method new (line 187) | fn new( method update (line 229) | fn update(&mut self, data: CffiBuf<'_>) -> CryptographyResult<()> { method squeeze (line 242) | fn squeeze<'p>( method copy (line 264) | fn copy(&self, py: pyo3::Python<'_>) -> CryptographyResult { FILE: src/rust/src/backend/hmac.rs type Hmac (line 16) | pub(crate) struct Hmac { method new_bytes (line 23) | pub(crate) fn new_bytes( method update_bytes (line 42) | pub(crate) fn update_bytes(&mut self, data: &[u8]) -> CryptographyResu... method finalize_bytes (line 47) | pub(crate) fn finalize_bytes( method get_ctx (line 55) | fn get_ctx(&self) -> CryptographyResult<&cryptography_openssl::hmac::H... method get_mut_ctx (line 62) | fn get_mut_ctx(&mut self) -> CryptographyResult<&mut cryptography_open... method new (line 74) | fn new( method update (line 85) | fn update(&mut self, data: CffiBuf<'_>) -> CryptographyResult<()> { method finalize (line 89) | pub(crate) fn finalize<'p>( method verify (line 97) | fn verify(&mut self, signature: &[u8]) -> CryptographyResult<()> { method copy (line 108) | pub(crate) fn copy(&self, py: pyo3::Python<'_>) -> CryptographyResult<... FILE: src/rust/src/backend/hpke.rs constant HPKE_VERSION (line 16) | const HPKE_VERSION: &[u8] = b"HPKE-v1"; constant HPKE_MODE_BASE (line 17) | const HPKE_MODE_BASE: u8 = 0x00; function u16_length_prefix (line 19) | fn u16_length_prefix(length: usize, label: &str) -> CryptographyResult<[... constant X25519_ID (line 29) | pub const X25519_ID: u16 = 0x0020; constant X25519_NSECRET (line 30) | pub const X25519_NSECRET: usize = 32; constant X25519_NENC (line 31) | pub const X25519_NENC: usize = 32; constant P256_ID (line 33) | pub const P256_ID: u16 = 0x0010; constant P256_NSECRET (line 34) | pub const P256_NSECRET: usize = 32; constant P256_NENC (line 35) | pub const P256_NENC: usize = 65; constant P384_ID (line 37) | pub const P384_ID: u16 = 0x0011; constant P384_NSECRET (line 38) | pub const P384_NSECRET: usize = 48; constant P384_NENC (line 39) | pub const P384_NENC: usize = 97; constant P521_ID (line 41) | pub const P521_ID: u16 = 0x0012; constant P521_NSECRET (line 42) | pub const P521_NSECRET: usize = 64; constant P521_NENC (line 43) | pub const P521_NENC: usize = 133; constant HKDF_SHA256_ID (line 47) | pub const HKDF_SHA256_ID: u16 = 0x0001; constant HKDF_SHA384_ID (line 48) | pub const HKDF_SHA384_ID: u16 = 0x0002; constant HKDF_SHA512_ID (line 49) | pub const HKDF_SHA512_ID: u16 = 0x0003; constant SHAKE128_ID (line 50) | pub const SHAKE128_ID: u16 = 0x0010; constant SHAKE128_HASH_OUTPUT_LENGTH (line 51) | pub const SHAKE128_HASH_OUTPUT_LENGTH: usize = 32; constant SHAKE256_ID (line 52) | pub const SHAKE256_ID: u16 = 0x0011; constant SHAKE256_HASH_OUTPUT_LENGTH (line 53) | pub const SHAKE256_HASH_OUTPUT_LENGTH: usize = 64; constant AES_128_GCM_ID (line 57) | pub const AES_128_GCM_ID: u16 = 0x0001; constant AES_128_GCM_NK (line 58) | pub const AES_128_GCM_NK: usize = 16; constant AES_128_GCM_NN (line 59) | pub const AES_128_GCM_NN: usize = 12; constant AES_128_GCM_NT (line 60) | pub const AES_128_GCM_NT: usize = 16; constant AES_256_GCM_ID (line 62) | pub const AES_256_GCM_ID: u16 = 0x0002; constant AES_256_GCM_NK (line 63) | pub const AES_256_GCM_NK: usize = 32; constant AES_256_GCM_NN (line 64) | pub const AES_256_GCM_NN: usize = 12; constant AES_256_GCM_NT (line 65) | pub const AES_256_GCM_NT: usize = 16; constant CHACHA20_POLY1305_ID (line 67) | pub const CHACHA20_POLY1305_ID: u16 = 0x0003; constant CHACHA20_POLY1305_NK (line 68) | pub const CHACHA20_POLY1305_NK: usize = 32; constant CHACHA20_POLY1305_NN (line 69) | pub const CHACHA20_POLY1305_NN: usize = 12; constant CHACHA20_POLY1305_NT (line 70) | pub const CHACHA20_POLY1305_NT: usize = 16; type KEM (line 82) | pub(crate) enum KEM { method check_ec_public_key (line 90) | fn check_ec_public_key( method check_ec_private_key (line 117) | fn check_ec_private_key( method id (line 144) | fn id(&self) -> u16 { method secret_length (line 153) | fn secret_length(&self) -> usize { method enc_length (line 162) | fn enc_length(&self) -> usize { method check_public_key (line 171) | fn check_public_key( method check_private_key (line 211) | fn check_private_key( method generate_key (line 251) | fn generate_key<'p>( method serialize_public_key (line 281) | fn serialize_public_key<'p>( method deserialize_public_key (line 302) | fn deserialize_public_key<'p>( method exchange (line 324) | fn exchange<'p>( method kem_hash_algorithm (line 341) | fn kem_hash_algorithm<'p>( type KDF (line 363) | pub(crate) enum KDF { method id (line 372) | fn id(&self) -> u16 { method hash_output_length (line 382) | fn hash_output_length(&self) -> usize { method is_one_stage (line 392) | fn is_one_stage(&self) -> bool { method hkdf_hash_algorithm (line 396) | fn hkdf_hash_algorithm<'p>( type AEAD (line 420) | pub(crate) enum AEAD { method id (line 427) | fn id(&self) -> u16 { method key_length (line 435) | fn key_length(&self) -> usize { method nonce_length (line 443) | fn nonce_length(&self) -> usize { method tag_length (line 451) | fn tag_length(&self) -> usize { type Suite (line 461) | pub(crate) struct Suite { method hkdf_expand (line 470) | fn hkdf_expand<'p>( method kem_labeled_extract (line 487) | fn kem_labeled_extract( method kem_labeled_expand (line 504) | fn kem_labeled_expand<'p>( method extract_and_expand (line 524) | fn extract_and_expand<'p>( method encap (line 540) | fn encap<'p>( method decap (line 565) | fn decap<'p>( method hpke_labeled_extract (line 586) | fn hpke_labeled_extract( method hpke_labeled_expand (line 604) | fn hpke_labeled_expand<'p>( method hpke_labeled_derive (line 623) | fn hpke_labeled_derive<'p>( method aead_encrypt (line 650) | fn aead_encrypt<'p>( method aead_decrypt (line 672) | fn aead_decrypt<'p>( method encrypt_inner (line 694) | fn encrypt_inner<'p>( method decrypt_inner (line 723) | fn decrypt_inner<'p>( method key_schedule (line 749) | fn key_schedule<'p>( method new (line 820) | fn new(kem: KEM, kdf: KDF, aead: AEAD) -> CryptographyResult { method encrypt (line 842) | fn encrypt<'p>( method decrypt (line 853) | fn decrypt<'p>( function _encrypt_with_aad (line 866) | fn _encrypt_with_aad<'p>( function _decrypt_with_aad (line 879) | fn _decrypt_with_aad<'p>( function test_shake128_hkdf_hash_algorithm_unreachable (line 905) | fn test_shake128_hkdf_hash_algorithm_unreachable() { function test_shake256_hkdf_hash_algorithm_unreachable (line 915) | fn test_shake256_hkdf_hash_algorithm_unreachable() { function test_shake256_kdf_params (line 924) | fn test_shake256_kdf_params() { function test_hkdf_hash_output_length_unreachable (line 932) | fn test_hkdf_hash_output_length_unreachable() { function test_hpke_labeled_derive_unreachable_hkdf (line 938) | fn test_hpke_labeled_derive_unreachable_hkdf() { FILE: src/rust/src/backend/kdf.rs type Pbkdf2Hmac (line 25) | struct Pbkdf2Hmac { method derive_into_buffer (line 34) | fn derive_into_buffer( method new (line 70) | fn new( method derive_into (line 97) | fn derive_into( method derive (line 106) | fn derive<'p>( method verify (line 117) | fn verify( type Scrypt (line 138) | struct Scrypt { method derive_into_buffer (line 156) | fn derive_into_buffer( method new (line 202) | fn new( method derive_into (line 269) | fn derive_into( method derive (line 279) | fn derive<'p>( method verify (line 291) | fn verify( type Argon2Variant (line 313) | enum Argon2Variant { type BaseArgon2 (line 319) | struct BaseArgon2 { method derive_into_buffer (line 340) | fn derive_into_buffer( method new (line 384) | fn new( method derive (line 471) | fn derive<'p>( method verify (line 484) | fn verify( method derive_phc_encoded (line 505) | fn derive_phc_encoded<'p>( method verify_phc_encoded (line 533) | fn verify_phc_encoded( type Argon2d (line 653) | struct Argon2d { method new (line 672) | fn new( method derive_into (line 699) | fn derive_into( method derive (line 714) | fn derive<'p>( method verify (line 723) | fn verify( method derive_phc_encoded (line 734) | fn derive_phc_encoded<'p>( method verify_phc_encoded (line 746) | fn verify_phc_encoded( type Argon2i (line 658) | struct Argon2i { method new (line 768) | fn new( method derive_into (line 795) | fn derive_into( method derive (line 810) | fn derive<'p>( method verify (line 819) | fn verify( method derive_phc_encoded (line 830) | fn derive_phc_encoded<'p>( method verify_phc_encoded (line 842) | fn verify_phc_encoded( type Argon2id (line 663) | struct Argon2id { method new (line 863) | fn new( method derive_into (line 890) | fn derive_into( method derive (line 905) | fn derive<'p>( method verify (line 915) | fn verify( method derive_phc_encoded (line 926) | fn derive_phc_encoded<'p>( method verify_phc_encoded (line 938) | fn verify_phc_encoded( type Hkdf (line 955) | struct Hkdf { method derive_into_buffer (line 982) | fn derive_into_buffer( method new (line 1024) | fn new( method extract (line 1062) | fn extract<'p>( method _extract (line 1072) | fn _extract<'p>( method derive_into (line 1086) | fn derive_into( method derive (line 1095) | fn derive<'p>( method verify (line 1106) | fn verify( function hkdf_extract (line 963) | pub(crate) fn hkdf_extract( type HkdfExpand (line 1132) | pub(crate) struct HkdfExpand { method derive_into_buffer (line 1140) | fn derive_into_buffer( method new (line 1195) | pub(crate) fn new( method derive_into (line 1236) | fn derive_into( method derive (line 1245) | pub(crate) fn derive<'p>( method verify (line 1256) | fn verify( type X963Kdf (line 1282) | struct X963Kdf { method derive_into_buffer (line 1290) | fn derive_into_buffer( method new (line 1342) | fn new( method derive_into (line 1374) | fn derive_into( method derive (line 1383) | fn derive<'p>( method verify (line 1394) | fn verify( type ConcatKdfHash (line 1420) | struct ConcatKdfHash { method derive_into_buffer (line 1428) | fn derive_into_buffer( method new (line 1480) | fn new( method derive_into (line 1511) | fn derive_into( method derive (line 1520) | fn derive<'p>( method verify (line 1531) | fn verify( type ConcatKdfHmac (line 1557) | struct ConcatKdfHmac { method derive_into_buffer (line 1566) | fn derive_into_buffer( method new (line 1617) | fn new( method derive_into (line 1671) | fn derive_into( method derive (line 1680) | fn derive<'p>( method verify (line 1691) | fn verify( type KbkdfHmac (line 1717) | struct KbkdfHmac { method new (line 1923) | fn new( method derive (line 1973) | fn derive<'p>( method derive_into (line 1985) | fn derive_into( method verify (line 2010) | fn verify( type CounterLocation (line 1727) | enum CounterLocation { type KbkdfParams (line 1733) | struct KbkdfParams { function validate_kbkdf_parameters (line 1743) | fn validate_kbkdf_parameters( function kbkdf_derive_into_buffer (line 1834) | fn kbkdf_derive_into_buffer( function generate_fixed_input (line 1887) | fn generate_fixed_input( type KbkdfCmac (line 2036) | struct KbkdfCmac { method new (line 2049) | fn new( method derive (line 2109) | fn derive<'p>( method derive_into (line 2121) | fn derive_into( method verify (line 2147) | fn verify( FILE: src/rust/src/backend/keys.rs function load_der_private_key (line 13) | fn load_der_private_key<'p>( function load_der_private_key_bytes (line 30) | pub(crate) fn load_der_private_key_bytes<'p>( function load_pem_private_key (line 71) | fn load_pem_private_key<'p>( function private_key_from_pkey (line 115) | fn private_key_from_pkey<'p>( function load_der_public_key (line 178) | fn load_der_public_key<'p>( function load_der_public_key_bytes (line 187) | pub(crate) fn load_der_public_key_bytes<'p>( function load_pem_public_key (line 207) | fn load_pem_public_key<'p>( function public_key_from_pkey (line 243) | fn public_key_from_pkey<'p>( function test_public_key_from_pkey_unknown_key (line 318) | fn test_public_key_from_pkey_unknown_key() { function test_private_key_from_pkey_unknown_key (line 333) | fn test_private_key_from_pkey_unknown_key() { FILE: src/rust/src/backend/poly1305.rs type Poly1305Boring (line 17) | struct Poly1305Boring { method new (line 27) | fn new(key: CffiBuf<'_>) -> CryptographyResult { method update (line 37) | fn update(&mut self, data: CffiBuf<'_>) -> CryptographyResult<()> { method finalize (line 41) | fn finalize<'p>( type Poly1305Open (line 58) | struct Poly1305Open { method new (line 68) | fn new(key: CffiBuf<'_>) -> CryptographyResult { method update (line 90) | fn update(&mut self, data: CffiBuf<'_>) -> CryptographyResult<()> { method finalize (line 95) | fn finalize<'p>( type Poly1305 (line 109) | struct Poly1305 { method new (line 127) | fn new(key: CffiBuf<'_>) -> CryptographyResult { method generate_tag (line 147) | fn generate_tag<'p>( method verify_tag (line 158) | fn verify_tag( method update (line 169) | fn update(&mut self, data: CffiBuf<'_>) -> CryptographyResult<()> { method finalize (line 177) | fn finalize<'p>( method verify (line 192) | fn verify(&mut self, py: pyo3::Python<'_>, signature: &[u8]) -> Crypto... FILE: src/rust/src/backend/rand.rs function get_rand_bytes (line 7) | pub(crate) fn get_rand_bytes( FILE: src/rust/src/backend/rsa.rs type RsaPrivateKey (line 20) | pub(crate) struct RsaPrivateKey { method sign (line 292) | fn sign<'p>( method decrypt (line 331) | fn decrypt<'p>( method key_size (line 381) | fn key_size(&self) -> i32 { method public_key (line 385) | fn public_key(&self) -> CryptographyResult { method private_numbers (line 396) | fn private_numbers(&self, py: pyo3::Python<'_>) -> CryptographyResult<... method private_bytes (line 423) | fn private_bytes<'p>( method __copy__ (line 442) | fn __copy__(slf: pyo3::PyRef<'_, Self>) -> pyo3::PyRef<'_, Self> { method __deepcopy__ (line 446) | fn __deepcopy__<'p>( type RsaPublicKey (line 29) | pub(crate) struct RsaPublicKey { method verify (line 456) | fn verify( method encrypt (line 491) | fn encrypt<'p>( method recover_data_from_signature (line 512) | fn recover_data_from_signature<'p>( method key_size (line 546) | fn key_size(&self) -> i32 { method public_numbers (line 550) | fn public_numbers(&self, py: pyo3::Python<'_>) -> CryptographyResult( method __eq__ (line 571) | fn __eq__(&self, other: pyo3::PyRef<'_, Self>) -> bool { method __copy__ (line 575) | fn __copy__(slf: pyo3::PyRef<'_, Self>) -> pyo3::PyRef<'_, Self> { method __deepcopy__ (line 579) | fn __deepcopy__<'p>( function check_rsa_private_key (line 33) | fn check_rsa_private_key( function private_key_from_pkey (line 45) | pub(crate) fn private_key_from_pkey( function public_key_from_pkey (line 57) | pub(crate) fn public_key_from_pkey( function generate_private_key (line 66) | fn generate_private_key( function oaep_hash_supported (line 79) | fn oaep_hash_supported(md: &openssl::hash::MessageDigest) -> bool { function setup_encryption_ctx (line 87) | fn setup_encryption_ctx( function setup_signature_ctx (line 167) | fn setup_signature_ctx( type RsaPrivateNumbers (line 592) | struct RsaPrivateNumbers { method new (line 710) | fn new( method private_key (line 731) | fn private_key( method __eq__ (line 768) | fn __eq__( method __hash__ (line 785) | fn __hash__(&self, py: pyo3::Python<'_>) -> CryptographyResult { type RsaPublicNumbers (line 614) | struct RsaPublicNumbers { method new (line 826) | fn new(e: pyo3::Py, n: pyo3::Py) -> CryptographyResult { method __repr__ (line 867) | fn __repr__<'py>( function check_private_key_components (line 622) | fn check_private_key_components( function check_public_key_components (line 798) | fn check_public_key_components( FILE: src/rust/src/backend/utils.rs function py_int_to_bn (line 12) | pub(crate) fn py_int_to_bn( function bn_to_py_int (line 28) | pub(crate) fn bn_to_py_int<'p>( function pkey_private_bytes (line 42) | pub(crate) fn pkey_private_bytes<'p>( function pkey_public_bytes (line 209) | pub(crate) fn pkey_public_bytes<'p>( type BytesOrPyBytes (line 292) | pub(crate) enum BytesOrPyBytes<'a> { function as_bytes (line 298) | pub(crate) fn as_bytes(&self) -> &[u8] { function calculate_digest_and_algorithm (line 306) | pub(crate) fn calculate_digest_and_algorithm<'p>( FILE: src/rust/src/backend/x25519.rs type X25519PrivateKey (line 10) | pub(crate) struct X25519PrivateKey { method exchange (line 65) | fn exchange<'p>( method public_key (line 82) | fn public_key(&self) -> CryptographyResult { method private_bytes_raw (line 92) | fn private_bytes_raw<'p>( method private_bytes (line 100) | fn private_bytes<'p>( method __copy__ (line 119) | fn __copy__(slf: pyo3::PyRef<'_, Self>) -> pyo3::PyRef<'_, Self> { method __deepcopy__ (line 123) | fn __deepcopy__<'p>( type X25519PublicKey (line 15) | pub(crate) struct X25519PublicKey { method public_bytes_raw (line 133) | fn public_bytes_raw<'p>( method public_bytes (line 141) | fn public_bytes<'p>( method __eq__ (line 150) | fn __eq__(&self, other: pyo3::PyRef<'_, Self>) -> bool { method __copy__ (line 154) | fn __copy__(slf: pyo3::PyRef<'_, Self>) -> pyo3::PyRef<'_, Self> { method __deepcopy__ (line 158) | fn __deepcopy__<'p>( function generate_key (line 20) | pub(crate) fn generate_key() -> CryptographyResult { function private_key_from_pkey (line 26) | pub(crate) fn private_key_from_pkey( function public_key_from_pkey (line 34) | pub(crate) fn public_key_from_pkey( function from_private_bytes (line 43) | fn from_private_bytes(data: CffiBuf<'_>) -> pyo3::PyResult pyo3::PyResult( method public_key (line 81) | fn public_key(&self) -> CryptographyResult { method private_bytes_raw (line 91) | fn private_bytes_raw<'p>( method private_bytes (line 99) | fn private_bytes<'p>( method __copy__ (line 118) | fn __copy__(slf: pyo3::PyRef<'_, Self>) -> pyo3::PyRef<'_, Self> { method __deepcopy__ (line 122) | fn __deepcopy__<'p>( type X448PublicKey (line 15) | pub(crate) struct X448PublicKey { method public_bytes_raw (line 132) | fn public_bytes_raw<'p>( method public_bytes (line 140) | fn public_bytes<'p>( method __eq__ (line 149) | fn __eq__(&self, other: pyo3::PyRef<'_, Self>) -> bool { method __copy__ (line 153) | fn __copy__(slf: pyo3::PyRef<'_, Self>) -> pyo3::PyRef<'_, Self> { method __deepcopy__ (line 157) | fn __deepcopy__<'p>( function generate_key (line 20) | fn generate_key() -> CryptographyResult { function private_key_from_pkey (line 26) | pub(crate) fn private_key_from_pkey( function public_key_from_pkey (line 34) | pub(crate) fn public_key_from_pkey( function from_private_bytes (line 43) | fn from_private_bytes(data: CffiBuf<'_>) -> pyo3::PyResult pyo3::PyResult { FILE: src/rust/src/buf.rs function generate_non_convertible_buffer_error_msg (line 13) | fn generate_non_convertible_buffer_error_msg( function _extract_buffer_length (line 30) | fn _extract_buffer_length( function _extract_buffer_length (line 49) | fn _extract_buffer_length<'p>( type CffiBuf (line 76) | pub(crate) struct CffiBuf<'p> { function from_bytes (line 86) | pub(crate) fn from_bytes(py: pyo3::Python<'a>, buf: &'a [u8]) -> Self { function as_bytes (line 97) | pub(crate) fn as_bytes(&self) -> &[u8] { function into_pyobj (line 101) | pub(crate) fn into_pyobj(self) -> pyo3::Bound<'a, pyo3::PyAny> { type Error (line 107) | type Error = pyo3::PyErr; function extract (line 109) | fn extract(pyobj: pyo3::Borrowed<'_, 'p, pyo3::PyAny>) -> pyo3::PyResult... type CffiMutBuf (line 132) | pub(crate) struct CffiMutBuf<'p> { function from_bytes (line 142) | pub(crate) fn from_bytes(py: pyo3::Python<'a>, buf: &'a mut [u8]) -> Self { function as_mut_bytes (line 153) | pub(crate) fn as_mut_bytes(&mut self) -> &mut [u8] { type Error (line 159) | type Error = pyo3::PyErr; function extract (line 161) | fn extract(pyobj: pyo3::Borrowed<'_, 'p, pyo3::PyAny>) -> pyo3::PyResult... FILE: src/rust/src/declarative_asn1/asn1.rs function encode_der (line 12) | pub(crate) fn encode_der<'p>( function decode_der (line 28) | pub(crate) fn decode_der<'p>( FILE: src/rust/src/declarative_asn1/decode.rs type ParseResult (line 16) | type ParseResult = Result; function read_value (line 18) | fn read_value<'a, T: asn1::SimpleAsn1Readable<'a>>( function decode_pybool (line 32) | fn decode_pybool<'a>( function decode_pyint (line 41) | fn decode_pyint<'a>( function decode_pybytes (line 52) | fn decode_pybytes<'a>( function decode_pystr (line 62) | fn decode_pystr<'a>( function decode_printable_string (line 72) | fn decode_printable_string<'a>( function decode_ia5_string (line 83) | fn decode_ia5_string<'a>( function decode_oid (line 94) | fn decode_oid<'a>( function decode_utc_time (line 103) | fn decode_utc_time<'a>( function decode_generalized_time (line 118) | fn decode_generalized_time<'a>( function decode_bitstring (line 145) | fn decode_bitstring<'a>( function decode_null (line 164) | fn decode_null<'a>( function decode_choice_with_encoding (line 175) | fn decode_choice_with_encoding<'a>( function decode_annotated_type (line 214) | pub(crate) fn decode_annotated_type<'a>( function test_decode_implicit_choice (line 351) | fn test_decode_implicit_choice() { FILE: src/rust/src/declarative_asn1/encode.rs function write_value (line 14) | fn write_value( type Error (line 29) | type Error = CryptographyError; function encoded_length (line 30) | fn encoded_length(&self) -> Option { function write (line 34) | fn write(&self, writer: &mut Writer<'_>) -> Result<(), Self::Error> { function test_encode_implicit_choice (line 259) | fn test_encode_implicit_choice() { FILE: src/rust/src/declarative_asn1/types.rs type Type (line 17) | pub enum Type { type AnnotatedType (line 64) | pub struct AnnotatedType { method new (line 75) | fn new(inner: pyo3::Py, annotation: pyo3::Py) -> Self { type AnnotatedTypeObject (line 81) | pub struct AnnotatedTypeObject<'a> { type Annotation (line 88) | pub struct Annotation { method new (line 101) | fn new( method is_empty (line 113) | fn is_empty(&self) -> bool { type Encoding (line 119) | pub enum Encoding { type Size (line 125) | pub struct Size { method new (line 133) | fn new(min: usize, max: Option) -> Self { method exact (line 138) | fn exact(n: usize) -> Self { type Variant (line 147) | pub struct Variant { method new (line 159) | fn new( type PrintableString (line 181) | pub struct PrintableString { method new (line 189) | fn new(py: pyo3::Python<'_>, inner: pyo3::Py) -... method as_str (line 200) | pub fn as_str(&self, py: pyo3::Python<'_>) -> pyo3::PyResult, other: pyo3::PyRef<'_, Self>) -... method __repr__ (line 208) | pub fn __repr__<'py>( type IA5String (line 228) | pub struct IA5String { method new (line 236) | fn new(py: pyo3::Python<'_>, inner: pyo3::Py) -... method as_str (line 247) | pub fn as_str(&self, py: pyo3::Python<'_>) -> pyo3::PyResult, other: pyo3::PyRef<'_, Self>) -... method __repr__ (line 255) | pub fn __repr__<'py>( type UtcTime (line 268) | pub struct UtcTime { method new (line 276) | fn new(py: pyo3::Python<'_>, inner: pyo3::Py)... method as_datetime (line 296) | pub fn as_datetime( method __eq__ (line 303) | fn __eq__(&self, py: pyo3::Python<'_>, other: pyo3::PyRef<'_, Self>) -... method __repr__ (line 307) | pub fn __repr__<'py>( type GeneralizedTime (line 320) | pub struct GeneralizedTime { method new (line 328) | fn new(py: pyo3::Python<'_>, inner: pyo3::Py)... method as_datetime (line 341) | pub fn as_datetime( method __eq__ (line 348) | fn __eq__(&self, py: pyo3::Python<'_>, other: pyo3::PyRef<'_, Self>) -... method __repr__ (line 352) | pub fn __repr__<'py>( type BitString (line 365) | pub struct BitString { method new (line 374) | fn new( method as_bytes (line 388) | pub fn as_bytes(&self, py: pyo3::Python<'_>) -> pyo3::Py u8 { method __eq__ (line 396) | fn __eq__(&self, py: pyo3::Python<'_>, other: pyo3::PyRef<'_, Self>) -... method __repr__ (line 401) | pub fn __repr__<'py>( type Null (line 417) | pub struct Null; method new (line 422) | fn new() -> Self { method __repr__ (line 425) | pub fn __repr__(&self) -> String { type SetOf (line 432) | pub struct SetOf { method new (line 440) | fn new(inner: pyo3::Py) -> Self { method as_list (line 444) | pub fn as_list(&self, py: pyo3::Python<'_>) -> pyo3::Py, other: pyo3::PyRef<'_, Self>) -... method __repr__ (line 452) | fn __repr__(&self, py: pyo3::Python<'_>) -> pyo3::PyResult { method __class_getitem__ (line 460) | fn __class_getitem__( function non_root_python_to_rust (line 479) | pub fn non_root_python_to_rust<'p>( function non_root_type_to_annotated (line 517) | fn non_root_type_to_annotated<'p>( function python_class_to_annotated (line 536) | pub(crate) fn python_class_to_annotated<'p>( function check_tag_with_encoding (line 551) | fn check_tag_with_encoding( function is_tag_valid_for_variant (line 567) | pub(crate) fn is_tag_valid_for_variant( function is_tag_valid_for_type (line 592) | pub(crate) fn is_tag_valid_for_type( function check_size_constraint (line 628) | pub(crate) fn check_size_constraint( function test_option_is_tag_valid_for_type (line 662) | fn test_option_is_tag_valid_for_type() { function test_is_tag_valid_for_implicit_variant (line 708) | fn test_is_tag_valid_for_implicit_variant() { FILE: src/rust/src/error.rs type CryptographyError (line 11) | pub enum CryptographyError { method from (line 20) | fn from(e: asn1::ParseError) -> CryptographyError { method from (line 26) | fn from(e: asn1::WriteError) -> CryptographyError { method from (line 32) | fn from(e: pyo3::PyErr) -> CryptographyError { method from (line 38) | fn from(e: pyo3::CastError<'_, '_>) -> CryptographyError { method from (line 44) | fn from(e: pyo3::CastIntoError<'_>) -> CryptographyError { method from (line 50) | fn from(e: pyo3::pyclass::PyClassGuardError<'_, '_>) -> CryptographyEr... method from (line 56) | fn from(e: openssl::error::ErrorStack) -> CryptographyError { method from (line 62) | fn from(e: pem::PemError) -> CryptographyError { method from (line 70) | fn from(e: cryptography_key_parsing::KeyParsingError) -> CryptographyE... method from (line 148) | fn from(e: cryptography_key_parsing::KeySerializationError) -> Cryptog... method fmt (line 182) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method add_location (line 244) | pub(crate) fn add_location(self, loc: asn1::ParseLocation) -> Self { method add_note (line 254) | pub(crate) fn add_note(self, py: pyo3::Python<'_>, note: &str) -> Self { function list_from_openssl_error (line 165) | pub(crate) fn list_from_openssl_error<'p>( function from (line 223) | fn from(e: CryptographyError) -> pyo3::PyErr { type CryptographyResult (line 273) | pub(crate) type CryptographyResult = Result; function raise_openssl_error (line 276) | pub(crate) fn raise_openssl_error() -> crate::error::CryptographyResult<... type OpenSSLError (line 281) | pub(crate) struct OpenSSLError { method lib (line 288) | fn lib(&self) -> i32 { method reason (line 293) | fn reason(&self) -> i32 { method reason_text (line 298) | fn reason_text(&self) -> &[u8] { method __repr__ (line 302) | fn __repr__<'py>( function capture_error_stack (line 320) | pub(crate) fn capture_error_stack( function test_cryptographyerror_display (line 338) | fn test_cryptographyerror_display() { function test_cryptographyerror_from (line 354) | fn test_cryptographyerror_from() { function test_cryptographyerror_from_key_serialization_error (line 404) | fn test_cryptographyerror_from_key_serialization_error() { function test_cryptographyerror_add_location (line 423) | fn test_cryptographyerror_add_location() { FILE: src/rust/src/exceptions.rs type Reasons (line 15) | pub(crate) enum Reasons { function already_finalized_error (line 43) | pub(crate) fn already_finalized_error() -> CryptographyError { FILE: src/rust/src/lib.rs type LoadedProviders (line 55) | struct LoadedProviders { function openssl_version (line 63) | fn openssl_version() -> i64 { function openssl_version_text (line 68) | fn openssl_version_text() -> &'static str { function is_fips_enabled (line 73) | fn is_fips_enabled() -> bool { function _initialize_providers (line 82) | fn _initialize_providers(py: pyo3::Python<'_>) -> CryptographyResult CryptographyResult<()> { constant CRYPTOGRAPHY_OPENSSL_309_OR_GREATER (line 261) | const CRYPTOGRAPHY_OPENSSL_309_OR_GREATER: bool = cfg!(CRYPTOGRAPHY_OPEN... constant CRYPTOGRAPHY_OPENSSL_320_OR_GREATER (line 263) | const CRYPTOGRAPHY_OPENSSL_320_OR_GREATER: bool = cfg!(CRYPTOGRAPHY_OPEN... constant CRYPTOGRAPHY_OPENSSL_330_OR_GREATER (line 265) | const CRYPTOGRAPHY_OPENSSL_330_OR_GREATER: bool = cfg!(CRYPTOGRAPHY_OPEN... constant CRYPTOGRAPHY_OPENSSL_350_OR_GREATER (line 267) | const CRYPTOGRAPHY_OPENSSL_350_OR_GREATER: bool = cfg!(CRYPTOGRAPHY_OPEN... constant CRYPTOGRAPHY_IS_LIBRESSL (line 270) | const CRYPTOGRAPHY_IS_LIBRESSL: bool = cfg!(CRYPTOGRAPHY_IS_LIBRESSL); constant CRYPTOGRAPHY_IS_BORINGSSL (line 272) | const CRYPTOGRAPHY_IS_BORINGSSL: bool = cfg!(CRYPTOGRAPHY_IS_BORINGSSL); constant CRYPTOGRAPHY_IS_AWSLC (line 274) | const CRYPTOGRAPHY_IS_AWSLC: bool = cfg!(CRYPTOGRAPHY_IS_AWSLC); function init (line 277) | fn init(openssl_mod: &pyo3::Bound<'_, pyo3::types::PyModule>) -> pyo3::P... function init (line 312) | fn init(m: &pyo3::Bound<'_, pyo3::types::PyModule>) -> pyo3::PyResult<()> { FILE: src/rust/src/oid.rs type ObjectIdentifier (line 14) | pub(crate) struct ObjectIdentifier { method new (line 21) | fn new(value: &str) -> CryptographyResult { method dotted_string (line 28) | fn dotted_string(&self) -> String { method _name (line 33) | fn _name<'p>( method __deepcopy__ (line 42) | fn __deepcopy__( method __repr__ (line 49) | fn __repr__<'py>( method __eq__ (line 64) | fn __eq__(&self, other: pyo3::PyRef<'_, ObjectIdentifier>) -> bool { method __hash__ (line 68) | fn __hash__(&self) -> u64 { FILE: src/rust/src/padding.rs function duplicate_msb_to_all (line 11) | fn duplicate_msb_to_all(a: u8) -> u8 { function constant_time_lt (line 17) | fn constant_time_lt(a: u8, b: u8) -> u8 { function check_pkcs7_padding (line 23) | fn check_pkcs7_padding(data: &[u8]) -> bool { function check_ansix923_padding (line 45) | fn check_ansix923_padding(data: &[u8]) -> bool { type PKCS7PaddingContext (line 69) | pub(crate) struct PKCS7PaddingContext { method new (line 77) | pub(crate) fn new(block_size: usize) -> PKCS7PaddingContext { method update (line 84) | pub(crate) fn update<'a>( method finalize (line 97) | pub(crate) fn finalize<'p>( type ANSIX923PaddingContext (line 113) | pub(crate) struct ANSIX923PaddingContext { method new (line 121) | pub(crate) fn new(block_size: usize) -> ANSIX923PaddingContext { method update (line 128) | pub(crate) fn update<'a>( method finalize (line 141) | pub(crate) fn finalize<'p>( type PKCS7UnpaddingContext (line 159) | pub(crate) struct PKCS7UnpaddingContext { method new (line 167) | pub(crate) fn new(block_size: usize) -> PKCS7UnpaddingContext { method update (line 174) | pub(crate) fn update<'a>( method finalize (line 191) | pub(crate) fn finalize<'p>( type ANSIX923UnpaddingContext (line 218) | pub(crate) struct ANSIX923UnpaddingContext { method new (line 226) | pub(crate) fn new(block_size: usize) -> ANSIX923UnpaddingContext { method update (line 233) | pub(crate) fn update<'p>( method finalize (line 250) | pub(crate) fn finalize<'p>( function test_constant_time_lt (line 282) | fn test_constant_time_lt() { FILE: src/rust/src/pkcs12.rs type PKCS12Certificate (line 22) | struct PKCS12Certificate { method new (line 33) | fn new( method __eq__ (line 43) | fn __eq__( method __hash__ (line 56) | fn __hash__(&self, py: pyo3::Python<'_>) -> CryptographyResult { method __repr__ (line 66) | fn __repr__<'py>( function symmetric_encrypt (line 92) | pub(crate) fn symmetric_encrypt( function pkcs12_attributes (line 120) | fn pkcs12_attributes<'a>( function cert_to_bag (line 170) | fn cert_to_bag<'a>( type KeySerializationEncryption (line 190) | struct KeySerializationEncryption<'a> { function decode_encryption_algorithm (line 199) | fn decode_encryption_algorithm<'a>( type CertificateOrPKCS12Certificate (line 277) | enum CertificateOrPKCS12Certificate { function serialize_safebags (line 282) | fn serialize_safebags<'p>( function serialize_java_truststore (line 413) | fn serialize_java_truststore<'p>( function serialize_key_and_certificates (line 435) | fn serialize_key_and_certificates<'p>( function decode_p12 (line 557) | fn decode_p12( function load_key_and_certificates (line 590) | fn load_key_and_certificates<'p>( function load_pkcs12 (line 640) | fn load_pkcs12<'p>( FILE: src/rust/src/pkcs7.rs constant PKCS7_CONTENT_TYPE_OID (line 35) | const PKCS7_CONTENT_TYPE_OID: asn1::ObjectIdentifier = asn1::oid!(1, 2, ... constant PKCS7_MESSAGE_DIGEST_OID (line 36) | const PKCS7_MESSAGE_DIGEST_OID: asn1::ObjectIdentifier = asn1::oid!(1, 2... constant PKCS7_SIGNING_TIME_OID (line 37) | const PKCS7_SIGNING_TIME_OID: asn1::ObjectIdentifier = asn1::oid!(1, 2, ... constant PKCS7_SMIME_CAP_OID (line 38) | const PKCS7_SMIME_CAP_OID: asn1::ObjectIdentifier = asn1::oid!(1, 2, 840... function serialize_certificates (line 50) | fn serialize_certificates<'p>( function encrypt_and_serialize (line 91) | fn encrypt_and_serialize<'p>( function decrypt_smime (line 193) | fn decrypt_smime<'p>( function decrypt_pem (line 208) | fn decrypt_pem<'p>( function decrypt_der (line 233) | fn decrypt_der<'p>( function check_decrypt_parameters (line 359) | fn check_decrypt_parameters<'p>( function symmetric_decrypt (line 425) | pub(crate) fn symmetric_decrypt( function sign_and_serialize (line 460) | fn sign_and_serialize<'p>( function compute_pkcs7_signature_algorithm (line 658) | fn compute_pkcs7_signature_algorithm<'p>( function smime_canonicalize (line 678) | fn smime_canonicalize(data: &[u8], text_mode: bool) -> (Cow<'_, [u8]>, C... function load_pkcs7_certificates (line 713) | fn load_pkcs7_certificates( function try_list_of_certificates (line 747) | pub fn try_list_of_certificates<'p, F>( function load_pkcs7_certificates_rust (line 784) | fn load_pkcs7_certificates_rust( function load_pem_pkcs7_certificates (line 814) | fn load_pem_pkcs7_certificates( function load_der_pkcs7_certificates (line 832) | fn load_der_pkcs7_certificates( function test_smime_canonicalize (line 877) | fn test_smime_canonicalize() { FILE: src/rust/src/serialization.rs type Encoding (line 18) | pub enum Encoding { type PrivateFormat (line 36) | pub enum PrivateFormat { method encryption_builder (line 76) | fn encryption_builder<'p>( type PublicFormat (line 52) | pub enum PublicFormat { type ParameterFormat (line 70) | pub enum ParameterFormat { FILE: src/rust/src/test_support.rs type TestCertificate (line 21) | struct TestCertificate { function parse_name_value_tags (line 32) | fn parse_name_value_tags(rdns: &Name<'_>) -> Vec { function time_tag (line 43) | fn time_tag(t: &Time) -> u8 { function test_parse_certificate (line 51) | fn test_parse_certificate(data: &[u8]) -> CryptographyResult(&'p self, py: pyo3::Python<'p>) -> pyo3::PyResult u64 { method __eq__ (line 57) | fn __eq__(&self, other: pyo3::PyRef<'_, Certificate>) -> bool { method __repr__ (line 61) | fn __repr__<'py>( method __deepcopy__ (line 73) | fn __deepcopy__( method public_key (line 80) | pub(crate) fn public_key<'p>( method public_key_algorithm_oid (line 98) | fn public_key_algorithm_oid<'p>( method fingerprint (line 108) | pub(crate) fn fingerprint<'p>( method public_bytes (line 120) | fn public_bytes<'p>( method serial_number (line 131) | fn serial_number<'p>( method version (line 141) | fn version<'p>( method issuer (line 150) | fn issuer<'p>(&self, py: pyo3::Python<'p>) -> pyo3::PyResult(&self, py: pyo3::Python<'p>) -> pyo3::PyResult( method tbs_precertificate_bytes (line 185) | fn tbs_precertificate_bytes<'p>( method signature (line 229) | fn signature<'p>(&self, py: pyo3::Python<'p>) -> pyo3::Bound<'p, pyo3:... method not_valid_before (line 234) | fn not_valid_before<'p>( method not_valid_before_utc (line 252) | fn not_valid_before_utc<'p>( method not_valid_after (line 267) | fn not_valid_after<'p>( method not_valid_after_utc (line 285) | fn not_valid_after_utc<'p>( method signature_hash_algorithm (line 300) | fn signature_hash_algorithm<'p>( method signature_algorithm_oid (line 308) | fn signature_algorithm_oid<'p>( method signature_algorithm_parameters (line 316) | fn signature_algorithm_parameters<'p>( method extensions (line 327) | fn extensions(&self, py: pyo3::Python<'_>) -> pyo3::PyResult, bytes: &[u8]) -> pyo3::PyR... function warn_if_invalid_params (line 483) | fn warn_if_invalid_params( function parse_display_text (line 507) | fn parse_display_text<'p>( function parse_user_notice (line 534) | fn parse_user_notice<'p>( function parse_policy_qualifiers (line 556) | fn parse_policy_qualifiers<'a>( function parse_cp (line 590) | fn parse_cp<'p>( function parse_general_subtrees (line 610) | fn parse_general_subtrees<'p>( function parse_distribution_point_name (line 621) | pub(crate) fn parse_distribution_point_name<'p>( function parse_distribution_point (line 636) | fn parse_distribution_point<'p>( function parse_distribution_points (line 654) | pub(crate) fn parse_distribution_points<'p>( function parse_distribution_point_reasons (line 667) | pub(crate) fn parse_distribution_point_reasons<'p>( function encode_distribution_point_reasons (line 687) | pub(crate) fn encode_distribution_point_reasons( function parse_authority_key_identifier (line 707) | pub(crate) fn parse_authority_key_identifier<'p>( function parse_access_descriptions (line 728) | pub(crate) fn parse_access_descriptions<'p>( function parse_naming_authority (line 743) | fn parse_naming_authority<'p>( function parse_profession_infos (line 765) | fn parse_profession_infos<'p, 'a>( function parse_admissions (line 811) | fn parse_admissions<'p, 'a>( function parse_cert_ext (line 837) | pub fn parse_cert_ext<'p>( function time_from_py (line 1017) | pub(crate) fn time_from_py( function time_from_datetime (line 1025) | pub(crate) fn time_from_datetime(dt: asn1::DateTime) -> CryptographyResu... function create_x509_certificate (line 1036) | pub(crate) fn create_x509_certificate( function set_bit (line 1124) | pub(crate) fn set_bit(vals: &mut [u8], n: usize, set: bool) { FILE: src/rust/src/x509/common.rs function find_in_pem (line 21) | pub(crate) fn find_in_pem( function encode_name (line 35) | pub(crate) fn encode_name<'p>( function encode_name_entry (line 56) | pub(crate) fn encode_name_entry<'p>( function encode_name_bytes (line 113) | pub(crate) fn encode_name_bytes<'p>( function encode_general_names (line 123) | pub(crate) fn encode_general_names<'a>( function encode_general_name (line 137) | pub(crate) fn encode_general_name<'a>( function encode_access_descriptions (line 185) | pub(crate) fn encode_access_descriptions<'a>( function parse_name (line 206) | pub(crate) fn parse_name<'p>( function parse_name_attribute (line 218) | fn parse_name_attribute<'p>( function parse_rdn (line 257) | pub(crate) fn parse_rdn<'a>( function parse_general_name (line 271) | pub(crate) fn parse_general_name<'p>( function parse_general_names (line 320) | pub(crate) fn parse_general_names<'a>( function create_ip_network (line 332) | fn create_ip_network<'p>( function ipv4_netmask (line 362) | fn ipv4_netmask(num: u32) -> Result { function ipv6_netmask (line 371) | fn ipv6_netmask(num: u128) -> Result { function parse_and_cache_extensions (line 380) | pub(crate) fn parse_and_cache_extensions< function encode_extensions (line 423) | pub(crate) fn encode_extensions< function encode_extension_value (line 476) | pub(crate) fn encode_extension_value<'p>( function datetime_to_py (line 493) | pub(crate) fn datetime_to_py<'p>( function datetime_to_py_utc_with_microseconds (line 511) | pub(crate) fn datetime_to_py_utc_with_microseconds<'p>( function datetime_to_py_utc (line 528) | pub(crate) fn datetime_to_py_utc<'p>( function py_to_datetime_with_microseconds (line 537) | pub(crate) fn py_to_datetime_with_microseconds( function py_to_datetime (line 571) | pub(crate) fn py_to_datetime( function datetime_now (line 579) | pub(crate) fn datetime_now(py: pyo3::Python<'_>) -> pyo3::PyResult CryptographyResult> { method revoked_cert (line 95) | fn revoked_cert(&self, py: pyo3::Python<'_>, idx: usize) -> RevokedCer... method len (line 102) | fn len(&self) -> usize { method __eq__ (line 114) | fn __eq__(&self, other: pyo3::PyRef<'_, CertificateRevocationList>) ->... method __len__ (line 118) | fn __len__(&self) -> usize { method __iter__ (line 122) | fn __iter__(slf: pyo3::PyRef<'_, Self>) -> CRLIterator { method __getitem__ (line 134) | fn __getitem__<'p>( method fingerprint (line 185) | fn fingerprint<'p>( method signature_algorithm_oid (line 198) | fn signature_algorithm_oid<'p>( method signature_hash_algorithm (line 206) | fn signature_hash_algorithm<'p>( method signature_algorithm_parameters (line 217) | fn signature_algorithm_parameters<'p>( method signature (line 228) | fn signature(&self) -> &[u8] { method tbs_certlist_bytes (line 233) | fn tbs_certlist_bytes<'p>( method public_bytes (line 241) | fn public_bytes<'p>( method issuer (line 252) | fn issuer<'p>(&self, py: pyo3::Python<'p>) -> pyo3::PyResult( method next_update_utc (line 278) | fn next_update_utc<'p>( method last_update (line 289) | fn last_update<'p>( method last_update_utc (line 307) | fn last_update_utc<'p>( method extensions (line 322) | fn extensions(&self, py: pyo3::Python<'_>) -> pyo3::PyResult( type RawCRLIterator (line 436) | type RawCRLIterator<'a> = Option usize { method __iter__ (line 559) | fn __iter__(slf: pyo3::PyRef<'_, Self>) -> pyo3::PyRef<'_, Self> { method __next__ (line 563) | fn __next__(&mut self, py: pyo3::Python<'_>) -> Option( function try_map_crl_to_revoked_cert (line 478) | fn try_map_crl_to_revoked_cert( function map_revoked_cert (line 505) | fn map_revoked_cert( function try_map_arc_data_mut_crl_iterator (line 527) | fn try_map_arc_data_mut_crl_iterator( method clone_with_py (line 588) | fn clone_with_py(&self, py: pyo3::Python<'_>) -> OwnedRevokedCertificate { type RevokedCertificate (line 594) | pub(crate) struct RevokedCertificate { method serial_number (line 602) | fn serial_number<'p>( method revocation_date (line 613) | fn revocation_date<'p>( method revocation_date_utc (line 627) | fn revocation_date_utc<'p>( method extensions (line 638) | fn extensions(&self, py: pyo3::Python<'_>) -> pyo3::PyResult( function parse_crl_entry_ext (line 674) | pub fn parse_crl_entry_ext<'p>( function create_revoked_certificate (line 698) | pub(crate) fn create_revoked_certificate( function create_x509_crl (line 738) | pub(crate) fn create_x509_crl( FILE: src/rust/src/x509/csr.rs type CertificateSigningRequest (line 29) | pub(crate) struct CertificateSigningRequest { method __hash__ (line 37) | fn __hash__(&self, py: pyo3::Python<'_>) -> u64 { method __eq__ (line 43) | fn __eq__( method public_key (line 51) | fn public_key<'p>( method public_key_algorithm_oid (line 62) | fn public_key_algorithm_oid<'p>( method subject (line 73) | fn subject<'p>(&self, py: pyo3::Python<'p>) -> pyo3::PyResult( method signature (line 90) | fn signature<'p>(&self, py: pyo3::Python<'p>) -> pyo3::Bound<'p, pyo3:... method signature_hash_algorithm (line 95) | fn signature_hash_algorithm<'p>( method signature_algorithm_oid (line 103) | fn signature_algorithm_oid<'p>( method signature_algorithm_parameters (line 111) | fn signature_algorithm_parameters<'p>( method public_bytes (line 121) | fn public_bytes<'p>( method attributes (line 132) | fn attributes<'p>(&self, py: pyo3::Python<'p>) -> pyo3::PyResult) -> pyo3::PyResult) -> CryptographyResu... function load_pem_x509_csr (line 203) | pub(crate) fn load_pem_x509_csr( function load_der_x509_csr (line 226) | pub(crate) fn load_der_x509_csr( function create_x509_csr (line 253) | pub(crate) fn create_x509_csr( FILE: src/rust/src/x509/extensions.rs function encode_general_subtrees (line 16) | fn encode_general_subtrees<'a>( function encode_authority_key_identifier (line 38) | pub(crate) fn encode_authority_key_identifier<'a>( function encode_distribution_points (line 76) | pub(crate) fn encode_distribution_points<'p>( function encode_basic_constraints (line 132) | fn encode_basic_constraints(ext: &pyo3::Bound<'_, pyo3::PyAny>) -> Crypt... function encode_key_usage (line 146) | fn encode_key_usage( function encode_certificate_policies (line 222) | fn encode_certificate_policies( function encode_issuing_distribution_point (line 315) | fn encode_issuing_distribution_point( function encode_oid_sequence (line 374) | fn encode_oid_sequence(ext: &pyo3::Bound<'_, pyo3::PyAny>) -> Cryptograp... function encode_tls_features (line 383) | fn encode_tls_features( function encode_scts (line 399) | fn encode_scts(ext: &pyo3::Bound<'_, pyo3::PyAny>) -> CryptographyResult... function encode_naming_authority (line 416) | fn encode_naming_authority<'a>( function encode_profession_info (line 453) | fn encode_profession_info<'a>( function encode_admission (line 518) | fn encode_admission<'a>( function encode_extension (line 555) | pub(crate) fn encode_extension( function encode_private_key_usage_period (line 742) | pub(crate) fn encode_private_key_usage_period( FILE: src/rust/src/x509/ocsp.rs function certid_new (line 75) | pub(crate) fn certid_new<'p>( function certid_new_from_hash (line 108) | pub(crate) fn certid_new_from_hash<'p>( function hash_data (line 126) | pub(crate) fn hash_data<'p>( FILE: src/rust/src/x509/ocsp_req.rs function load_der_ocsp_request (line 23) | pub(crate) fn load_der_ocsp_request( type OCSPRequest (line 51) | pub(crate) struct OCSPRequest { method cert_id (line 58) | fn cert_id(&self) -> ocsp_req::CertID<'_> { method issuer_name_hash (line 74) | fn issuer_name_hash(&self) -> &[u8] { method issuer_key_hash (line 79) | fn issuer_key_hash(&self) -> &[u8] { method hash_algorithm (line 84) | fn hash_algorithm<'p>( method serial_number (line 102) | fn serial_number<'p>( method extensions (line 111) | fn extensions(&self, py: pyo3::Python<'_>) -> pyo3::PyResult( function create_ocsp_request (line 166) | pub(crate) fn create_ocsp_request( FILE: src/rust/src/x509/ocsp_resp.rs function load_der_ocsp_response (line 18) | pub(crate) fn load_der_ocsp_response( type OCSPResponse (line 62) | pub(crate) struct OCSPResponse { method requires_successful_response (line 70) | fn requires_successful_response(&self) -> pyo3::PyResult<&ocsp_resp::B... method responses (line 93) | fn responses(&self) -> Result { method response_status (line 114) | fn response_status<'p>( method responder_name (line 137) | fn responder_name<'p>( method responder_key_hash (line 151) | fn responder_key_hash<'p>( method produced_at (line 165) | fn produced_at<'p>( method produced_at_utc (line 177) | fn produced_at_utc<'p>( method signature_algorithm_oid (line 186) | fn signature_algorithm_oid<'p>( method signature_hash_algorithm (line 195) | fn signature_hash_algorithm<'p>( method signature (line 219) | fn signature<'p>( method tbs_response_bytes (line 228) | fn tbs_response_bytes<'p>( method certificates (line 238) | fn certificates<'p>( method serial_number (line 278) | fn serial_number<'p>( method issuer_key_hash (line 288) | fn issuer_key_hash(&self) -> Result<&[u8], CryptographyError> { method issuer_name_hash (line 295) | fn issuer_name_hash(&self) -> Result<&[u8], CryptographyError> { method hash_algorithm (line 302) | fn hash_algorithm<'p>( method certificate_status (line 312) | fn certificate_status<'p>( method revocation_time (line 322) | fn revocation_time<'p>( method revocation_time_utc (line 335) | fn revocation_time_utc<'p>( method revocation_reason (line 345) | fn revocation_reason<'p>( method this_update (line 355) | fn this_update<'p>( method this_update_utc (line 368) | fn this_update_utc<'p>( method next_update (line 378) | fn next_update<'p>( method next_update_utc (line 391) | fn next_update_utc<'p>( method extensions (line 401) | fn extensions(&self, py: pyo3::Python<'_>) -> pyo3::PyResult) -> pyo3::PyResult( constant SUCCESSFUL_RESPONSE (line 82) | const SUCCESSFUL_RESPONSE: u32 = 0; constant MALFORMED_REQUEST_RESPONSE (line 83) | const MALFORMED_REQUEST_RESPONSE: u32 = 1; constant INTERNAL_ERROR_RESPONSE (line 84) | const INTERNAL_ERROR_RESPONSE: u32 = 2; constant TRY_LATER_RESPONSE (line 85) | const TRY_LATER_RESPONSE: u32 = 3; constant SIG_REQUIRED_RESPONSE (line 87) | const SIG_REQUIRED_RESPONSE: u32 = 5; constant UNAUTHORIZED_RESPONSE (line 88) | const UNAUTHORIZED_RESPONSE: u32 = 6; function map_arc_data_ocsp_response (line 490) | fn map_arc_data_ocsp_response( function try_map_arc_data_mut_ocsp_response_iterator (line 512) | fn try_map_arc_data_mut_ocsp_response_iterator( function single_response (line 535) | fn single_response<'a>( function singleresp_py_serial_number (line 552) | fn singleresp_py_serial_number<'p>( function singleresp_py_certificate_status (line 559) | fn singleresp_py_certificate_status<'p>( function singleresp_py_hash_algorithm (line 571) | fn singleresp_py_hash_algorithm<'p>( function singleresp_py_this_update (line 586) | fn singleresp_py_this_update<'p>( function singleresp_py_this_update_utc (line 593) | fn singleresp_py_this_update_utc<'p>( function singleresp_py_next_update (line 600) | fn singleresp_py_next_update<'p>( function singleresp_py_next_update_utc (line 610) | fn singleresp_py_next_update_utc<'p>( function singleresp_py_revocation_reason (line 620) | fn singleresp_py_revocation_reason<'p>( function singleresp_py_revocation_time (line 635) | fn singleresp_py_revocation_time<'p>( function singleresp_py_revocation_time_utc (line 649) | fn singleresp_py_revocation_time_utc<'p>( function create_ocsp_response (line 664) | pub(crate) fn create_ocsp_response( type RawOCSPResponseIterator (line 881) | type RawOCSPResponseIterator<'a> = asn1::SequenceOf<'a, SingleResponse<'... type OCSPResponseIterator (line 892) | struct OCSPResponseIterator { method __iter__ (line 898) | fn __iter__(slf: pyo3::PyRef<'_, Self>) -> pyo3::PyRef<'_, Self> { method __next__ (line 902) | fn __next__(&mut self) -> Option { type OCSPSingleResponse (line 924) | pub(crate) struct OCSPSingleResponse { method single_response (line 929) | fn single_response(&self) -> &SingleResponse<'_> { method serial_number (line 937) | fn serial_number<'p>( method issuer_key_hash (line 945) | fn issuer_key_hash(&self) -> &[u8] { method issuer_name_hash (line 951) | fn issuer_name_hash(&self) -> &[u8] { method hash_algorithm (line 957) | fn hash_algorithm<'p>( method certificate_status (line 966) | fn certificate_status<'p>( method revocation_time (line 975) | fn revocation_time<'p>( method revocation_time_utc (line 987) | fn revocation_time_utc<'p>( method revocation_reason (line 996) | fn revocation_reason<'p>( method this_update (line 1005) | fn this_update<'p>( method this_update_utc (line 1017) | fn this_update_utc<'p>( method next_update (line 1026) | fn next_update<'p>( method next_update_utc (line 1038) | fn next_update_utc<'p>( FILE: src/rust/src/x509/sct.rs type TLSReader (line 13) | struct TLSReader<'a> { function new (line 18) | fn new(data: &'a [u8]) -> TLSReader<'a> { function is_empty (line 22) | fn is_empty(&self) -> bool { function read_byte (line 26) | fn read_byte(&mut self) -> Result { function read_exact (line 30) | fn read_exact(&mut self, length: usize) -> Result<&'a [u8], Cryptography... function read_length_prefixed (line 41) | fn read_length_prefixed(&mut self) -> Result, Cryptography... type LogEntryType (line 48) | pub(crate) enum LogEntryType { type HashAlgorithm (line 54) | pub(crate) enum HashAlgorithm { type Error (line 64) | type Error = pyo3::PyErr; method try_from (line 66) | fn try_from(value: u8) -> Result { method to_attr (line 84) | fn to_attr(&self) -> &'static str { type SignatureAlgorithm (line 97) | pub(crate) enum SignatureAlgorithm { method to_attr (line 104) | fn to_attr(&self) -> &'static str { type Error (line 114) | type Error = pyo3::PyErr; method try_from (line 116) | fn try_from(value: u8) -> Result { type Sct (line 131) | pub(crate) struct Sct { method __eq__ (line 145) | fn __eq__(&self, other: pyo3::PyRef<'_, Sct>) -> bool { method __hash__ (line 149) | fn __hash__(&self) -> u64 { method version (line 156) | fn version<'p>(&self, py: pyo3::Python<'p>) -> pyo3::PyResult &[u8] { method timestamp (line 166) | fn timestamp<'p>(&self, py: pyo3::Python<'p>) -> pyo3::PyResult(&self, py: pyo3::Python<'p>) -> pyo3::PyResult( method signature_algorithm (line 201) | fn signature_algorithm<'p>( method signature (line 211) | fn signature(&self) -> &[u8] { method extension_bytes (line 216) | fn extension_bytes(&self) -> &[u8] { function parse_scts (line 221) | pub(crate) fn parse_scts<'p>( function test_hash_algorithm_try_from (line 266) | fn test_hash_algorithm_try_from() { function test_hash_algorithm_to_attr (line 285) | fn test_hash_algorithm_to_attr() { function test_signature_algorithm_try_from (line 299) | fn test_signature_algorithm_try_from() { function test_signature_algorithm_to_attr (line 315) | fn test_signature_algorithm_to_attr() { FILE: src/rust/src/x509/sign.rs type KeyType (line 37) | pub(crate) enum KeyType { type HashType (line 45) | enum HashType { function identify_key_type (line 57) | pub(crate) fn identify_key_type( function identify_hash_type (line 78) | fn identify_hash_type( function compute_pss_salt_length (line 110) | fn compute_pss_salt_length<'p>( function compute_signature_algorithm (line 135) | pub(crate) fn compute_signature_algorithm<'p>( function sign_data (line 287) | pub(crate) fn sign_data<'p>( function verify_signature_with_signature_algorithm (line 321) | pub(crate) fn verify_signature_with_signature_algorithm<'p>( function identify_public_key_type (line 365) | pub(crate) fn identify_public_key_type( function identify_key_type_for_algorithm_params (line 386) | fn identify_key_type_for_algorithm_params( function identify_alg_params_for_hash_type (line 419) | fn identify_alg_params_for_hash_type( function hash_oid_py_hash (line 437) | fn hash_oid_py_hash( function identify_signature_hash_algorithm (line 452) | pub(crate) fn identify_signature_hash_algorithm<'p>( function identify_signature_algorithm_parameters (line 480) | pub(crate) fn identify_signature_algorithm_parameters<'p>( function test_identify_key_type_for_algorithm_params (line 541) | fn test_identify_key_type_for_algorithm_params() { function test_identify_alg_params_for_hash_type (line 629) | fn test_identify_alg_params_for_hash_type() { FILE: src/rust/src/x509/verify/extension_policy.rs type PyCriticality (line 32) | pub(crate) enum PyCriticality { method from (line 42) | fn from(criticality: PyCriticality) -> Criticality { type PyExtensionPolicy (line 56) | pub(crate) struct PyExtensionPolicy { method clone_inner_policy (line 62) | pub(super) fn clone_inner_policy(&self) -> ExtensionPolicy<'static, Py... method new (line 66) | fn new(inner_policy: ExtensionPolicy<'static, PyCryptoOps>) -> Self { method with_assigned_validator (line 73) | fn with_assigned_validator( method permit_all (line 131) | pub(crate) fn permit_all() -> Self { method webpki_defaults_ca (line 136) | pub(crate) fn webpki_defaults_ca() -> Self { method webpki_defaults_ee (line 141) | pub(crate) fn webpki_defaults_ee() -> Self { method require_not_present (line 145) | pub(crate) fn require_not_present( method may_be_present (line 155) | pub(crate) fn may_be_present( method require_present (line 171) | pub(crate) fn require_present( function oid_from_py_extension_type (line 115) | fn oid_from_py_extension_type( function wrap_maybe_validator_callback (line 187) | fn wrap_maybe_validator_callback( function wrap_present_validator_callback (line 209) | fn wrap_present_validator_callback( function make_py_extension (line 231) | fn make_py_extension<'chain, 'p>( function invoke_py_validator_callback (line 245) | fn invoke_py_validator_callback<'py>( function test_make_py_extension_fail (line 270) | fn test_make_py_extension_fail() { FILE: src/rust/src/x509/verify/mod.rs type PyCryptoOps (line 28) | pub(crate) struct PyCryptoOps {} type Key (line 31) | type Key = pyo3::Py; type Err (line 32) | type Err = CryptographyError; type CertificateExtra (line 33) | type CertificateExtra = pyo3::Py; type PolicyExtra (line 34) | type PolicyExtra = pyo3::Py; method public_key (line 36) | fn public_key(&self, cert: &Certificate<'_>) -> Result, key: &Self::Key) -> R... method clone_public_key (line 54) | fn clone_public_key(key: &Self::Key) -> Self::Key { method clone_extra (line 58) | fn clone_extra(extra: &Self::CertificateExtra) -> Self::CertificateExtra { type PolicyBuilder (line 84) | pub(crate) struct PolicyBuilder { method py_clone (line 93) | fn py_clone(&self, py: pyo3::Python<'_>) -> PolicyBuilder { method new (line 107) | fn new() -> PolicyBuilder { method time (line 117) | fn time( method store (line 130) | fn store( method max_chain_depth (line 143) | fn max_chain_depth( method extension_policies (line 157) | fn extension_policies( method build_client_verifier (line 173) | fn build_client_verifier(&self, py: pyo3::Python<'_>) -> CryptographyR... method build_server_verifier (line 216) | fn build_server_verifier( type PyCryptoPolicyDefinition (line 274) | type PyCryptoPolicyDefinition<'a> = PolicyDefinition<'a, PyCryptoOps>; type SubjectOwner (line 277) | enum SubjectOwner { type PyVerifiedClient (line 301) | pub(crate) struct PyVerifiedClient { type PyClientVerifier (line 313) | pub(crate) struct PyClientVerifier { method as_policy_def (line 321) | fn as_policy_def(&self) -> &PyCryptoPolicyDefinition<'_> { method verify (line 328) | fn verify( type PyServerVerifier (line 385) | pub(crate) struct PyServerVerifier { method as_policy_def (line 393) | fn as_policy_def(&self) -> &PyCryptoPolicyDefinition<'_> { method verify (line 400) | fn verify<'p>( function build_subject_owner (line 432) | fn build_subject_owner( function build_subject (line 459) | fn build_subject<'a>( function handle_validation_error (line 479) | fn handle_validation_error( type PyCryptoOpsStore (line 492) | type PyCryptoOpsStore<'a> = Store<'a, PyCryptoOps>; type PyStore (line 510) | pub(crate) struct PyStore { method new (line 517) | fn new(py: pyo3::Python<'_>, certs: Vec>) -> p... function test_crypto_ops_clone (line 538) | fn test_crypto_ops_clone() { FILE: src/rust/src/x509/verify/policy.rs type PyPolicy (line 7) | pub(crate) struct PyPolicy { method max_chain_depth (line 15) | pub(super) fn max_chain_depth(&self) -> u8 { method subject (line 20) | pub(super) fn subject(&self, py: pyo3::Python<'_>) -> pyo3::Py) -> pyo3::PyResult usize { FILE: tests/bench/test_aead.py function _aead_supported (line 17) | def _aead_supported(cls): function test_chacha20poly1305_encrypt (line 29) | def test_chacha20poly1305_encrypt(benchmark): function test_chacha20poly1305_decrypt (line 38) | def test_chacha20poly1305_decrypt(benchmark): function test_aesgcm_encrypt (line 44) | def test_aesgcm_encrypt(benchmark): function test_aesgcm_decrypt (line 49) | def test_aesgcm_decrypt(benchmark): function test_aessiv_encrypt (line 59) | def test_aessiv_encrypt(benchmark): function test_aessiv_decrypt (line 68) | def test_aessiv_decrypt(benchmark): function test_aesocb3_encrypt (line 78) | def test_aesocb3_encrypt(benchmark): function test_aesocb3_decrypt (line 87) | def test_aesocb3_decrypt(benchmark): function test_aesccm_encrypt (line 97) | def test_aesccm_encrypt(benchmark): function test_aesccm_decrypt (line 106) | def test_aesccm_decrypt(benchmark): FILE: tests/bench/test_ec_load.py function test_load_ec_public_numbers (line 8) | def test_load_ec_public_numbers(benchmark): function test_load_ec_private_numbers (line 12) | def test_load_ec_private_numbers(benchmark): FILE: tests/bench/test_fernet.py function test_fernet_encrypt (line 8) | def test_fernet_encrypt(benchmark): FILE: tests/bench/test_hashes.py function test_sha256 (line 8) | def test_sha256(benchmark): FILE: tests/bench/test_hkdf.py function test_hkdf (line 9) | def test_hkdf(benchmark): FILE: tests/bench/test_hmac.py function test_hmac_sha256 (line 8) | def test_hmac_sha256(benchmark): FILE: tests/bench/test_x509.py function test_object_identifier_constructor (line 17) | def test_object_identifier_constructor(benchmark): function test_aki_public_bytes (line 21) | def test_aki_public_bytes(benchmark): function test_load_der_certificate (line 30) | def test_load_der_certificate(benchmark): function test_load_pem_certificate (line 40) | def test_load_pem_certificate(benchmark): function test_certificate_subject (line 56) | def test_certificate_subject(benchmark): function test_certificate_issuer (line 66) | def test_certificate_issuer(benchmark): function test_certificate_public_key (line 76) | def test_certificate_public_key(benchmark): function test_certificate_signature_hash_algorithm (line 86) | def test_certificate_signature_hash_algorithm(benchmark): function test_certificate_signature_algorithm_oid (line 96) | def test_certificate_signature_algorithm_oid(benchmark): function test_crl_issuer (line 106) | def test_crl_issuer(benchmark): function test_crl_serial_number_lookup_hit (line 116) | def test_crl_serial_number_lookup_hit(benchmark): function test_crl_serial_number_lookup_miss (line 128) | def test_crl_serial_number_lookup_miss(benchmark): function test_ocsp_request_properties (line 139) | def test_ocsp_request_properties(benchmark): function test_ocsp_response_properties (line 156) | def test_ocsp_response_properties(benchmark): function test_verify_docs_python_org (line 172) | def test_verify_docs_python_org(benchmark, pytestconfig): FILE: tests/conftest.py function pytest_configure (line 14) | def pytest_configure(config): function pytest_report_header (line 19) | def pytest_report_header(config): function pytest_addoption (line 28) | def pytest_addoption(parser): function pytest_runtest_setup (line 34) | def pytest_runtest_setup(item): function backend (line 41) | def backend(request): function subtests (line 54) | def subtests(): class SubTests (line 62) | class SubTests: method test (line 64) | def test(self): FILE: tests/doubles.py class DummyCipherAlgorithm (line 16) | class DummyCipherAlgorithm(CipherAlgorithm): class DummyBlockCipherAlgorithm (line 23) | class DummyBlockCipherAlgorithm(DummyCipherAlgorithm, BlockCipherAlgorit... method __init__ (line 24) | def __init__(self, _: object) -> None: class DummyMode (line 30) | class DummyMode(Mode): method validate_for_algorithm (line 33) | def validate_for_algorithm(self, algorithm: CipherAlgorithm) -> None: class DummyHashAlgorithm (line 37) | class DummyHashAlgorithm(hashes.HashAlgorithm): method __init__ (line 41) | def __init__(self, digest_size: int = 32) -> None: method digest_size (line 45) | def digest_size(self) -> int: class DummyKeySerializationEncryption (line 49) | class DummyKeySerializationEncryption( class DummyAsymmetricPadding (line 55) | class DummyAsymmetricPadding(padding.AsymmetricPadding): class DummyEd25519PublicKey (line 59) | class DummyEd25519PublicKey(ed25519.Ed25519PublicKey): method __init__ (line 65) | def __init__(self, data: bytes) -> None: method public_bytes (line 68) | def public_bytes( method public_bytes_raw (line 75) | def public_bytes_raw(self) -> bytes: method verify (line 78) | def verify(self, signature: Buffer, data: Buffer) -> None: method __eq__ (line 81) | def __eq__(self, other: object) -> bool: method __copy__ (line 84) | def __copy__(self) -> ed25519.Ed25519PublicKey: method __deepcopy__ (line 87) | def __deepcopy__(self, memo: dict) -> ed25519.Ed25519PublicKey: FILE: tests/hazmat/asn1/test_api.py class TestTypesAPI (line 20) | class TestTypesAPI: method test_repr_printable_string (line 21) | def test_repr_printable_string(self) -> None: method test_printable_string_as_str (line 28) | def test_printable_string_as_str(self) -> None: method test_invalid_printable_string (line 32) | def test_invalid_printable_string(self) -> None: method test_repr_ia5_string (line 36) | def test_repr_ia5_string(self) -> None: method test_ia5_string_as_str (line 40) | def test_ia5_string_as_str(self) -> None: method test_invalid_ia5_string (line 44) | def test_invalid_ia5_string(self) -> None: method test_utc_time_as_datetime (line 48) | def test_utc_time_as_datetime(self) -> None: method test_repr_utc_time (line 54) | def test_repr_utc_time(self) -> None: method test_invalid_utc_time (line 60) | def test_invalid_utc_time(self) -> None: method test_generalized_time_as_datetime (line 102) | def test_generalized_time_as_datetime(self) -> None: method test_repr_generalized_time (line 108) | def test_repr_generalized_time(self) -> None: method test_invalid_generalized_time (line 114) | def test_invalid_generalized_time(self) -> None: method test_bitstring_getters (line 122) | def test_bitstring_getters(self) -> None: method test_repr_bitstring (line 129) | def test_repr_bitstring(self) -> None: method test_invalid_bitstring (line 136) | def test_invalid_bitstring(self) -> None: method test_setof_as_list (line 151) | def test_setof_as_list(self) -> None: method test_repr_setof (line 155) | def test_repr_setof(self) -> None: method test_repr_null (line 158) | def test_repr_null(self) -> None: class TestSequenceAPI (line 162) | class TestSequenceAPI: method test_fail_unsupported_field (line 163) | def test_fail_unsupported_field(self) -> None: method test_fail_init_incorrect_field_name (line 174) | def test_fail_init_incorrect_field_name(self) -> None: method test_fail_init_missing_field_name (line 184) | def test_fail_init_missing_field_name(self) -> None: method test_fail_positional_field_initialization (line 198) | def test_fail_positional_field_initialization(self) -> None: method test_fail_malformed_root_type (line 215) | def test_fail_malformed_root_type(self) -> None: method test_fail_unsupported_annotation (line 228) | def test_fail_unsupported_annotation(self) -> None: method test_fail_unsupported_size_annotation (line 237) | def test_fail_unsupported_size_annotation(self) -> None: method test_fail_multiple_default_annotations (line 248) | def test_fail_multiple_default_annotations(self) -> None: method test_fail_multiple_implicit_annotations (line 260) | def test_fail_multiple_implicit_annotations(self) -> None: method test_fail_multiple_explicit_annotations (line 271) | def test_fail_multiple_explicit_annotations(self) -> None: method test_fail_multiple_size_annotations (line 282) | def test_fail_multiple_size_annotations(self) -> None: method test_fail_optional_with_default_field (line 294) | def test_fail_optional_with_default_field(self) -> None: method test_fail_optional_with_annotations_inside (line 309) | def test_fail_optional_with_annotations_inside(self) -> None: method test_fail_choice_with_inconsistent_types (line 325) | def test_fail_choice_with_inconsistent_types(self) -> None: method test_fail_choice_with_duplicate_tags (line 340) | def test_fail_choice_with_duplicate_tags(self) -> None: method test_fields_of_variant_type (line 356) | def test_fields_of_variant_type(self) -> None: method test_fields_of_variant_encoding (line 381) | def test_fields_of_variant_encoding(self) -> None: method test_fail_choice_with_implicit_encoding (line 391) | def test_fail_choice_with_implicit_encoding(self) -> None: method test_fail_choice_with_non_literal_tag (line 404) | def test_fail_choice_with_non_literal_tag(self) -> None: FILE: tests/hazmat/asn1/test_serialization.py function _comparable_dataclass (line 28) | def _comparable_dataclass(cls: typing.Type[U]) -> typing.Type[U]: function assert_roundtrips (line 49) | def assert_roundtrips( class TestBool (line 61) | class TestBool: method test_bool (line 62) | def test_bool(self) -> None: class TestInteger (line 71) | class TestInteger: method test_int (line 72) | def test_int(self) -> None: class TestBytes (line 89) | class TestBytes: method test_bytes (line 90) | def test_bytes(self) -> None: class TestString (line 104) | class TestString: method test_string (line 105) | def test_string(self) -> None: class TestPrintableString (line 120) | class TestPrintableString: method test_ok_printable_string (line 121) | def test_ok_printable_string(self) -> None: class TestIA5String (line 131) | class TestIA5String: method test_ok_ia5_string (line 132) | def test_ok_ia5_string(self) -> None: class TestObjectIdentifier (line 142) | class TestObjectIdentifier: method test_ok_object_identifier (line 143) | def test_ok_object_identifier(self) -> None: class TestUtcTime (line 162) | class TestUtcTime: method test_utc_time (line 163) | def test_utc_time(self) -> None: class TestGeneralizedTime (line 198) | class TestGeneralizedTime: method test_fail_generalized_time_precision (line 199) | def test_fail_generalized_time_precision(self) -> None: method test_generalized_time (line 209) | def test_generalized_time(self) -> None: class TestBitString (line 259) | class TestBitString: method test_ok_bitstring (line 260) | def test_ok_bitstring(self) -> None: method test_fail_bitstring (line 286) | def test_fail_bitstring(self) -> None: class TestNull (line 304) | class TestNull: method test_ok_null (line 305) | def test_ok_null(self) -> None: class TestSequence (line 309) | class TestSequence: method test_ok_sequence_single_field (line 310) | def test_ok_sequence_single_field(self) -> None: method test_ok_sequence_multiple_fields (line 318) | def test_ok_sequence_multiple_fields(self) -> None: method test_ok_nested_sequence (line 329) | def test_ok_nested_sequence(self) -> None: method test_ok_sequence_multiple_types (line 344) | def test_ok_sequence_multiple_types(self) -> None: method test_ok_sequenceof_simple_type (line 362) | def test_ok_sequenceof_simple_type(self) -> None: method test_ok_sequenceof_user_defined_type (line 377) | def test_ok_sequenceof_user_defined_type(self) -> None: method test_ok_setof_simple_type (line 398) | def test_ok_setof_simple_type(self) -> None: method test_ok_setof_user_defined_type (line 413) | def test_ok_setof_user_defined_type(self) -> None: method test_ok_sequence_with_optionals (line 438) | def test_ok_sequence_with_optionals(self) -> None: method test_ok_sequence_with_nested_optionals (line 467) | def test_ok_sequence_with_nested_optionals(self) -> None: method test_ok_sequence_all_types_optional (line 496) | def test_ok_sequence_all_types_optional(self) -> None: method test_ok_sequence_all_types_default (line 546) | def test_ok_sequence_all_types_default(self) -> None: method test_ok_sequence_with_default_annotations (line 621) | def test_ok_sequence_with_default_annotations(self) -> None: method test_fail_decode_default_value_present (line 650) | def test_fail_decode_default_value_present(self) -> None: method test_ok_optional_fields_with_implicit_encoding (line 662) | def test_ok_optional_fields_with_implicit_encoding(self) -> None: method test_ok_optional_fields_with_explicit_encoding (line 678) | def test_ok_optional_fields_with_explicit_encoding(self) -> None: method test_fail_unexpected_fields_with_implicit_encoding (line 706) | def test_fail_unexpected_fields_with_implicit_encoding(self) -> None: method test_fail_unexpected_fields_with_explicit_encoding (line 720) | def test_fail_unexpected_fields_with_explicit_encoding(self) -> None: method test_sequence_with_choice (line 734) | def test_sequence_with_choice(self) -> None: method test_sequence_with_optional_choice (line 748) | def test_sequence_with_optional_choice(self) -> None: method test_fail_sequence_with_choice_decode_nonexistent_variant (line 765) | def test_fail_sequence_with_choice_decode_nonexistent_variant( method test_fail_sequence_with_choice_encode_nonexistent_variant (line 781) | def test_fail_sequence_with_choice_encode_nonexistent_variant( method test_sequence_with_explicit_choice (line 794) | def test_sequence_with_explicit_choice(self) -> None: method test_sequence_with_choice_implicit_simple_variants (line 808) | def test_sequence_with_choice_implicit_simple_variants(self) -> None: method test_sequence_with_choice_explicit_simple_variants (line 826) | def test_sequence_with_choice_explicit_simple_variants(self) -> None: method test_sequence_with_choice_with_custom_variants (line 844) | def test_sequence_with_choice_with_custom_variants(self) -> None: method test_sequence_with_choice_with_custom_variants_bool (line 877) | def test_sequence_with_choice_with_custom_variants_bool(self) -> None: method test_sequence_with_choice_with_sequence_variants (line 913) | def test_sequence_with_choice_with_sequence_variants(self) -> None: method test_sequence_with_choice_with_non_annotated_custom_variants (line 950) | def test_sequence_with_choice_with_non_annotated_custom_variants( class TestSize (line 975) | class TestSize: method test_ok_sequenceof_size_restriction (line 976) | def test_ok_sequenceof_size_restriction(self) -> None: method test_ok_sequenceof_size_restriction_no_max (line 991) | def test_ok_sequenceof_size_restriction_no_max(self) -> None: method test_ok_sequenceof_size_restriction_exact (line 1006) | def test_ok_sequenceof_size_restriction_exact(self) -> None: method test_fail_sequenceof_size_too_big (line 1021) | def test_fail_sequenceof_size_too_big(self) -> None: method test_fail_sequenceof_size_too_small (line 1041) | def test_fail_sequenceof_size_too_small(self) -> None: method test_fail_sequenceof_size_not_exact (line 1061) | def test_fail_sequenceof_size_not_exact(self) -> None: method test_ok_setof_size_restriction (line 1081) | def test_ok_setof_size_restriction(self) -> None: method test_ok_setof_size_restriction_no_max (line 1096) | def test_ok_setof_size_restriction_no_max(self) -> None: method test_ok_setof_size_restriction_exact (line 1111) | def test_ok_setof_size_restriction_exact(self) -> None: method test_fail_setof_size_too_big (line 1126) | def test_fail_setof_size_too_big(self) -> None: method test_fail_setof_size_too_small (line 1146) | def test_fail_setof_size_too_small(self) -> None: method test_fail_setof_size_not_exact (line 1166) | def test_fail_setof_size_not_exact(self) -> None: method test_ok_bytes_size_restriction (line 1186) | def test_ok_bytes_size_restriction(self) -> None: method test_ok_bytes_size_restriction_no_max (line 1201) | def test_ok_bytes_size_restriction_no_max(self) -> None: method test_ok_bytes_size_restriction_exact (line 1216) | def test_ok_bytes_size_restriction_exact(self) -> None: method test_fail_bytes_size_too_big (line 1231) | def test_fail_bytes_size_too_big(self) -> None: method test_fail_bytes_size_too_small (line 1253) | def test_fail_bytes_size_too_small(self) -> None: method test_fail_bytes_size_not_exact (line 1275) | def test_fail_bytes_size_not_exact(self) -> None: method test_ok_string_size_restriction (line 1297) | def test_ok_string_size_restriction(self) -> None: method test_ok_string_size_restriction_no_max (line 1312) | def test_ok_string_size_restriction_no_max(self) -> None: method test_ok_string_size_restriction_exact (line 1327) | def test_ok_string_size_restriction_exact(self) -> None: method test_fail_string_size_too_big (line 1342) | def test_fail_string_size_too_big(self) -> None: method test_fail_string_size_too_small (line 1362) | def test_fail_string_size_too_small(self) -> None: method test_fail_string_size_not_exact (line 1382) | def test_fail_string_size_not_exact(self) -> None: method test_ok_bitstring_size_restriction (line 1402) | def test_ok_bitstring_size_restriction(self) -> None: method test_ok_printablestring_size_restriction (line 1417) | def test_ok_printablestring_size_restriction(self) -> None: method test_ok_printablestring_size_restriction_no_max (line 1432) | def test_ok_printablestring_size_restriction_no_max(self) -> None: method test_ok_printablestring_size_restriction_exact (line 1447) | def test_ok_printablestring_size_restriction_exact(self) -> None: method test_fail_printablestring_size_too_big (line 1462) | def test_fail_printablestring_size_too_big(self) -> None: method test_fail_printablestring_size_too_small (line 1484) | def test_fail_printablestring_size_too_small(self) -> None: method test_fail_printablestring_size_not_exact (line 1506) | def test_fail_printablestring_size_not_exact(self) -> None: method test_ok_ia5string_size_restriction (line 1528) | def test_ok_ia5string_size_restriction(self) -> None: method test_ok_ia5string_size_restriction_no_max (line 1543) | def test_ok_ia5string_size_restriction_no_max(self) -> None: method test_ok_ia5string_size_restriction_exact (line 1558) | def test_ok_ia5string_size_restriction_exact(self) -> None: method test_fail_ia5string_size_too_big (line 1573) | def test_fail_ia5string_size_too_big(self) -> None: method test_fail_ia5string_size_too_small (line 1593) | def test_fail_ia5string_size_too_small(self) -> None: method test_fail_ia5string_size_not_exact (line 1613) | def test_fail_ia5string_size_not_exact(self) -> None: method test_ok_bitstring_size_restriction_no_max (line 1633) | def test_ok_bitstring_size_restriction_no_max(self) -> None: method test_ok_bitstring_size_restriction_exact (line 1648) | def test_ok_bitstring_size_restriction_exact(self) -> None: method test_fail_bitstring_size_too_big (line 1663) | def test_fail_bitstring_size_too_big(self) -> None: method test_fail_bitstring_size_too_small (line 1685) | def test_fail_bitstring_size_too_small(self) -> None: method test_fail_bitstring_size_not_exact (line 1707) | def test_fail_bitstring_size_not_exact(self) -> None: FILE: tests/hazmat/backends/test_openssl.py class DummyMGF (line 31) | class DummyMGF(padding.MGF): class TestOpenSSL (line 36) | class TestOpenSSL: method test_backend_exists (line 37) | def test_backend_exists(self): method test_is_default_backend (line 40) | def test_is_default_backend(self): method test_openssl_version_text (line 43) | def test_openssl_version_text(self): method test_openssl_version_number (line 74) | def test_openssl_version_number(self): method test_supports_cipher (line 77) | def test_supports_cipher(self): method test_openssl_assert (line 83) | def test_openssl_assert(self): method test_consume_errors (line 88) | def test_consume_errors(self): method test_ssl_ciphers_registered (line 101) | def test_ssl_ciphers_registered(self): method test_evp_ciphers_registered (line 107) | def test_evp_ciphers_registered(self): class TestOpenSSLRSA (line 112) | class TestOpenSSLRSA: method test_rsa_padding_unsupported_pss_mgf1_hash (line 113) | def test_rsa_padding_unsupported_pss_mgf1_hash(self): method test_rsa_padding_unsupported (line 123) | def test_rsa_padding_unsupported(self): method test_rsa_padding_supported_pkcs1v15 (line 126) | def test_rsa_padding_supported_pkcs1v15(self): method test_rsa_padding_supported_pss (line 129) | def test_rsa_padding_supported_pss(self): method test_rsa_padding_supported_oaep (line 140) | def test_rsa_padding_supported_oaep(self): method test_rsa_padding_supported_oaep_sha2_combinations (line 152) | def test_rsa_padding_supported_oaep_sha2_combinations(self): method test_rsa_padding_unsupported_mgf (line 178) | def test_rsa_padding_unsupported_mgf(self): method test_unsupported_mgf1_hash_algorithm_md5_decrypt (line 197) | def test_unsupported_mgf1_hash_algorithm_md5_decrypt(self, rsa_key_2048): class TestRSAPEMSerialization (line 209) | class TestRSAPEMSerialization: method test_password_length_limit (line 210) | def test_password_length_limit(self, rsa_key_2048): FILE: tests/hazmat/bindings/test_openssl.py class TestOpenSSL (line 16) | class TestOpenSSL: method test_binding_loads (line 17) | def test_binding_loads(self): method test_ssl_ctx_options (line 23) | def test_ssl_ctx_options(self): method test_ssl_options (line 41) | def test_ssl_options(self): method test_conditional_removal (line 61) | def test_conditional_removal(self): method test_openssl_assert_error_on_stack (line 70) | def test_openssl_assert_error_on_stack(self): method test_version_mismatch (line 91) | def test_version_mismatch(self): method test_rust_internal_error (line 95) | def test_rust_internal_error(self): FILE: tests/hazmat/primitives/decrepit/test_3des.py class TestTripleDESModeCBC (line 28) | class TestTripleDESModeCBC: class TestTripleDESModeOFB (line 62) | class TestTripleDESModeOFB: class TestTripleDESModeCFB (line 96) | class TestTripleDESModeCFB: class TestTripleDESModeCFB8 (line 130) | class TestTripleDESModeCFB8: class TestTripleDESModeECB (line 164) | class TestTripleDESModeECB: FILE: tests/hazmat/primitives/decrepit/test_algorithms.py class TestARC4 (line 29) | class TestARC4: method test_key_size (line 42) | def test_key_size(self, key, keysize): method test_invalid_key_size (line 46) | def test_invalid_key_size(self): method test_invalid_key_type (line 50) | def test_invalid_key_type(self): function test_invalid_mode_algorithm (line 55) | def test_invalid_mode_algorithm(): class TestTripleDES (line 75) | class TestTripleDES: method test_key_size (line 76) | def test_key_size(self): method test_invalid_key_size (line 80) | def test_invalid_key_size(self): method test_invalid_key_type (line 84) | def test_invalid_key_type(self): method test_single_key_deprecated (line 88) | def test_single_key_deprecated(self): method test_two_key_deprecated (line 93) | def test_two_key_deprecated(self): class TestBlowfish (line 99) | class TestBlowfish: method test_key_size (line 104) | def test_key_size(self, key, keysize): method test_invalid_key_size (line 108) | def test_invalid_key_size(self): method test_invalid_key_type (line 112) | def test_invalid_key_type(self): class TestBlowfishModeECB (line 123) | class TestBlowfishModeECB: class TestBlowfishModeCBC (line 139) | class TestBlowfishModeCBC: class TestBlowfishModeOFB (line 155) | class TestBlowfishModeOFB: class TestBlowfishModeCFB (line 171) | class TestBlowfishModeCFB: class TestCAST5 (line 181) | class TestCAST5: method test_key_size (line 186) | def test_key_size(self, key, keysize): method test_invalid_key_size (line 190) | def test_invalid_key_size(self): method test_invalid_key_type (line 194) | def test_invalid_key_type(self): class TestCAST5ModeECB (line 205) | class TestCAST5ModeECB: class TestCAST5ModeCBC (line 221) | class TestCAST5ModeCBC: class TestCAST5ModeOFB (line 237) | class TestCAST5ModeOFB: class TestCAST5ModeCFB (line 253) | class TestCAST5ModeCFB: class TestIDEA (line 263) | class TestIDEA: method test_key_size (line 264) | def test_key_size(self): method test_invalid_key_size (line 268) | def test_invalid_key_size(self): method test_invalid_key_type (line 272) | def test_invalid_key_type(self): class TestIDEAModeECB (line 283) | class TestIDEAModeECB: class TestIDEAModeCBC (line 299) | class TestIDEAModeCBC: class TestIDEAModeOFB (line 315) | class TestIDEAModeOFB: class TestIDEAModeCFB (line 331) | class TestIDEAModeCFB: class TestSEED (line 341) | class TestSEED: method test_key_size (line 342) | def test_key_size(self): method test_invalid_key_size (line 346) | def test_invalid_key_size(self): method test_invalid_key_type (line 350) | def test_invalid_key_type(self): class TestSEEDModeECB (line 361) | class TestSEEDModeECB: class TestSEEDModeCBC (line 377) | class TestSEEDModeCBC: class TestSEEDModeOFB (line 393) | class TestSEEDModeOFB: class TestSEEDModeCFB (line 409) | class TestSEEDModeCFB: FILE: tests/hazmat/primitives/decrepit/test_arc4.py class TestARC4 (line 23) | class TestARC4: FILE: tests/hazmat/primitives/decrepit/test_rc2.py class TestRC2ModeCBC (line 27) | class TestRC2ModeCBC: FILE: tests/hazmat/primitives/test_aead.py function _aead_supported (line 33) | def _aead_supported(cls): function large_mmap (line 41) | def large_mmap(length: int = 2**32): function test_chacha20poly1305_unsupported_on_older_openssl (line 51) | def test_chacha20poly1305_unsupported_on_older_openssl(backend): class TestChaCha20Poly1305 (line 60) | class TestChaCha20Poly1305: method test_data_too_large (line 65) | def test_data_too_large(self): method test_generate_key (line 78) | def test_generate_key(self): method test_bad_key (line 82) | def test_bad_key(self, backend): method test_params_not_bytes_encrypt (line 97) | def test_params_not_bytes_encrypt( method test_nonce_not_12_bytes (line 108) | def test_nonce_not_12_bytes(self, backend): method test_decrypt_data_too_short (line 125) | def test_decrypt_data_too_short(self, backend): method test_associated_data_none_equal_to_empty_bytestring (line 135) | def test_associated_data_none_equal_to_empty_bytestring(self, backend): method test_openssl_vectors (line 146) | def test_openssl_vectors(self, subtests, backend): method test_boringssl_vectors (line 169) | def test_boringssl_vectors(self, subtests, backend): method test_buffer_protocol (line 194) | def test_buffer_protocol(self, backend): method test_encrypt_into (line 209) | def test_encrypt_into(self, backend): method test_encrypt_into_buffer_incorrect_size (line 224) | def test_encrypt_into_buffer_incorrect_size(self, ptlen, buflen, backe... method test_decrypt_into (line 233) | def test_decrypt_into(self, backend): method test_decrypt_into_buffer_incorrect_size (line 248) | def test_decrypt_into_buffer_incorrect_size(self, ctlen, buflen, backe... method test_decrypt_into_invalid_tag (line 257) | def test_decrypt_into_invalid_tag(self, backend): class TestAESCCM (line 276) | class TestAESCCM: method test_data_too_large (line 281) | def test_data_too_large(self): method test_default_tag_length (line 294) | def test_default_tag_length(self, backend): method test_invalid_tag_length (line 302) | def test_invalid_tag_length(self, backend): method test_invalid_nonce_length (line 313) | def test_invalid_nonce_length(self, backend): method test_vectors (line 332) | def test_vectors(self, subtests, backend): method test_roundtrip (line 367) | def test_roundtrip(self, backend): method test_nonce_too_long (line 377) | def test_nonce_too_long(self, backend): method test_params_not_bytes (line 397) | def test_params_not_bytes(self, nonce, data, associated_data, backend): method test_bad_key (line 403) | def test_bad_key(self, backend): method test_bad_generate_key (line 410) | def test_bad_generate_key(self, backend): method test_associated_data_none_equal_to_empty_bytestring (line 417) | def test_associated_data_none_equal_to_empty_bytestring(self, backend): method test_decrypt_data_too_short (line 428) | def test_decrypt_data_too_short(self, backend): method test_buffer_protocol (line 438) | def test_buffer_protocol(self, backend): method test_max_data_length (line 453) | def test_max_data_length(self): method test_encrypt_into (line 463) | def test_encrypt_into(self, backend): method test_encrypt_into_buffer_incorrect_size (line 478) | def test_encrypt_into_buffer_incorrect_size(self, ptlen, buflen, backe... method test_decrypt_into (line 487) | def test_decrypt_into(self, backend): method test_decrypt_into_buffer_incorrect_size (line 502) | def test_decrypt_into_buffer_incorrect_size(self, ctlen, buflen, backe... method test_decrypt_into_invalid_tag (line 511) | def test_decrypt_into_invalid_tag(self, backend): method test_decrypt_into_nonce_too_long (line 525) | def test_decrypt_into_nonce_too_long(self, backend): function _load_gcm_vectors (line 535) | def _load_gcm_vectors(): class TestAESGCM (line 551) | class TestAESGCM: method test_data_too_large (line 556) | def test_data_too_large(self): method test_decrypt_data_too_short (line 569) | def test_decrypt_data_too_short(self): method test_vectors (line 579) | def test_vectors(self, backend, subtests): method test_params_not_bytes (line 614) | def test_params_not_bytes(self, nonce, data, associated_data, backend): method test_invalid_nonce_length (line 624) | def test_invalid_nonce_length(self, length, backend): method test_bad_key (line 643) | def test_bad_key(self, backend): method test_bad_generate_key (line 650) | def test_bad_generate_key(self, backend): method test_associated_data_none_equal_to_empty_bytestring (line 657) | def test_associated_data_none_equal_to_empty_bytestring(self, backend): method test_buffer_protocol (line 668) | def test_buffer_protocol(self, backend): method test_encrypt_into (line 695) | def test_encrypt_into(self, backend): method test_encrypt_into_buffer_incorrect_size (line 710) | def test_encrypt_into_buffer_incorrect_size(self, ptlen, buflen, backe... method test_decrypt_into (line 719) | def test_decrypt_into(self, backend): method test_decrypt_into_buffer_incorrect_size (line 734) | def test_decrypt_into_buffer_incorrect_size(self, ctlen, buflen, backe... method test_decrypt_into_invalid_tag (line 743) | def test_decrypt_into_invalid_tag(self, backend): function test_aesocb3_unsupported_on_older_openssl (line 762) | def test_aesocb3_unsupported_on_older_openssl(backend): class TestAESOCB3 (line 771) | class TestAESOCB3: method test_data_too_large (line 776) | def test_data_too_large(self): method test_vectors (line 789) | def test_vectors(self, backend, subtests): method test_vectors_invalid (line 818) | def test_vectors_invalid(self, backend, subtests): method test_rfc7253 (line 848) | def test_rfc7253(self, backend, key_len, expected): method test_params_not_bytes (line 880) | def test_params_not_bytes(self, nonce, data, associated_data, backend): method test_invalid_nonce_length (line 889) | def test_invalid_nonce_length(self, backend): method test_bad_key (line 916) | def test_bad_key(self, backend): method test_bad_generate_key (line 923) | def test_bad_generate_key(self, backend): method test_associated_data_none_equal_to_empty_bytestring (line 930) | def test_associated_data_none_equal_to_empty_bytestring(self, backend): method test_buffer_protocol (line 941) | def test_buffer_protocol(self, backend): method test_encrypt_into (line 956) | def test_encrypt_into(self, backend): method test_encrypt_into_buffer_incorrect_size (line 971) | def test_encrypt_into_buffer_incorrect_size(self, ptlen, buflen, backe... method test_decrypt_into (line 980) | def test_decrypt_into(self, backend): method test_decrypt_into_buffer_incorrect_size (line 995) | def test_decrypt_into_buffer_incorrect_size(self, ctlen, buflen, backe... method test_decrypt_into_invalid_tag (line 1004) | def test_decrypt_into_invalid_tag(self, backend): method test_decrypt_into_data_too_short (line 1018) | def test_decrypt_into_data_too_short(self, backend): class TestAESSIV (line 1031) | class TestAESSIV: method test_data_too_large (line 1036) | def test_data_too_large(self): method test_empty (line 1051) | def test_empty(self): method test_vectors (line 1073) | def test_vectors(self, backend, subtests): method test_vectors_invalid (line 1099) | def test_vectors_invalid(self, backend, subtests): method test_params_not_bytes (line 1136) | def test_params_not_bytes(self, data, associated_data, backend): method test_bad_key (line 1145) | def test_bad_key(self, backend): method test_bad_generate_key (line 1152) | def test_bad_generate_key(self, backend): method test_data_too_short (line 1159) | def test_data_too_short(self, backend): method test_associated_data_none_equal_to_empty_list (line 1168) | def test_associated_data_none_equal_to_empty_list(self, backend): method test_buffer_protocol (line 1178) | def test_buffer_protocol(self, backend): method test_encrypt_into (line 1192) | def test_encrypt_into(self, backend): method test_encrypt_into_buffer_incorrect_size (line 1206) | def test_encrypt_into_buffer_incorrect_size(self, ptlen, buflen, backe... method test_decrypt_into (line 1214) | def test_decrypt_into(self, backend): method test_decrypt_into_buffer_incorrect_size (line 1228) | def test_decrypt_into_buffer_incorrect_size(self, ctlen, buflen, backe... method test_decrypt_into_invalid_tag (line 1236) | def test_decrypt_into_invalid_tag(self, backend): class TestAESGCMSIV (line 1254) | class TestAESGCMSIV: method test_data_too_large (line 1259) | def test_data_too_large(self): method test_invalid_nonce_length (line 1275) | def test_invalid_nonce_length(self, backend): method test_empty (line 1294) | def test_empty(self): method test_vectors (line 1322) | def test_vectors(self, backend, subtests): method test_vectors_invalid (line 1355) | def test_vectors_invalid(self, backend, subtests): method test_params_not_bytes (line 1396) | def test_params_not_bytes(self, nonce, data, associated_data, backend): method test_bad_key (line 1405) | def test_bad_key(self, backend): method test_bad_generate_key (line 1419) | def test_bad_generate_key(self, backend): method test_associated_data_none_equal_to_empty_bytestring (line 1426) | def test_associated_data_none_equal_to_empty_bytestring(self, backend): method test_buffer_protocol (line 1437) | def test_buffer_protocol(self, backend): method test_encrypt_into (line 1452) | def test_encrypt_into(self, backend): method test_encrypt_into_buffer_incorrect_size (line 1467) | def test_encrypt_into_buffer_incorrect_size(self, ptlen, buflen, backe... method test_decrypt_into (line 1476) | def test_decrypt_into(self, backend): method test_decrypt_into_buffer_incorrect_size (line 1491) | def test_decrypt_into_buffer_incorrect_size(self, ctlen, buflen, backe... method test_decrypt_into_invalid_tag (line 1500) | def test_decrypt_into_invalid_tag(self, backend): method test_decrypt_into_data_too_short (line 1514) | def test_decrypt_into_data_too_short(self, backend): FILE: tests/hazmat/primitives/test_aes.py class TestAESModeXTS (line 21) | class TestAESModeXTS: method test_xts_vectors (line 22) | def test_xts_vectors(self, backend, subtests): method test_xts_too_short (line 54) | def test_xts_too_short(self, backend, subtests): method test_xts_no_duplicate_keys_encryption (line 74) | def test_xts_no_duplicate_keys_encryption(self, backend, subtests): method test_xts_unsupported_with_aes128_aes256_classes (line 87) | def test_xts_unsupported_with_aes128_aes256_classes(self): class TestAESModeCBC (line 101) | class TestAESModeCBC: class TestAESModeECB (line 133) | class TestAESModeECB: class TestAESModeOFB (line 165) | class TestAESModeOFB: class TestAESModeCFB (line 197) | class TestAESModeCFB: class TestAESModeCFB8 (line 229) | class TestAESModeCFB8: class TestAESModeCTR (line 261) | class TestAESModeCTR: function test_buffer_protocol_alternate_modes (line 284) | def test_buffer_protocol_alternate_modes(mode, backend): function test_alternate_aes_classes (line 309) | def test_alternate_aes_classes(mode, alg_cls, backend): function test_reset_nonce (line 322) | def test_reset_nonce(backend): function test_reset_nonce_invalid_mode (line 366) | def test_reset_nonce_invalid_mode(backend): FILE: tests/hazmat/primitives/test_aes_gcm.py class TestAESModeGCM (line 25) | class TestAESModeGCM: method test_gcm_tag_with_only_aad (line 41) | def test_gcm_tag_with_only_aad(self, backend): method test_gcm_ciphertext_with_no_aad (line 55) | def test_gcm_ciphertext_with_no_aad(self, backend): method test_gcm_ciphertext_limit (line 70) | def test_gcm_ciphertext_limit(self, backend): method test_gcm_aad_limit (line 96) | def test_gcm_aad_limit(self, backend): method test_gcm_tag_decrypt_none (line 118) | def test_gcm_tag_decrypt_none(self, backend): method test_gcm_tag_decrypt_mode (line 136) | def test_gcm_tag_decrypt_mode(self, backend): method test_gcm_tag_decrypt_finalize (line 154) | def test_gcm_tag_decrypt_finalize(self, backend): method test_gcm_tag_decrypt_finalize_tag_length (line 174) | def test_gcm_tag_decrypt_finalize_tag_length(self, tag, backend): method test_buffer_protocol (line 181) | def test_buffer_protocol(self, backend): method test_gcm_min_max_iv (line 202) | def test_gcm_min_max_iv(self, size, backend): method test_alternate_aes_classes (line 224) | def test_alternate_aes_classes(self, alg, backend): method test_reset_nonce_invalid_mode (line 235) | def test_reset_nonce_invalid_mode(self, backend): FILE: tests/hazmat/primitives/test_argon2.py function test_unsupported_backend (line 42) | def test_unsupported_backend(backend): class TestArgon2 (line 53) | class TestArgon2: method clazz (line 55) | def clazz(self, request) -> type: method test_derive (line 61) | def test_derive(self, params, backend): method test_invalid_types (line 88) | def test_invalid_types(self, clazz, backend): method test_invalid_values (line 133) | def test_invalid_values(self, clazz, params, backend): method test_already_finalized (line 144) | def test_already_finalized(self, clazz, backend): method test_already_finalized_verify (line 152) | def test_already_finalized_verify(self, clazz, backend): method test_invalid_verify (line 161) | def test_invalid_verify(self, clazz, digest, backend): method test_verify (line 168) | def test_verify(self, clazz, backend): method test_derive_into (line 183) | def test_derive_into(self, clazz, backend): method test_derive_into_buffer_incorrect_size (line 200) | def test_derive_into_buffer_incorrect_size( method test_derive_into_already_finalized (line 214) | def test_derive_into_already_finalized(self, clazz, backend): method test_derive_phc_encoded (line 223) | def test_derive_phc_encoded(self, backend): method test_verify_phc_encoded (line 241) | def test_verify_phc_encoded(self, clazz): method test_verify_phc_vector (line 264) | def test_verify_phc_vector(self): method test_verify_phc_encoded_invalid_format (line 272) | def test_verify_phc_encoded_invalid_format(self, clazz): FILE: tests/hazmat/primitives/test_asym_utils.py function test_dss_signature (line 16) | def test_dss_signature(): function test_encode_dss_non_integer (line 37) | def test_encode_dss_non_integer(): function test_encode_dss_negative (line 54) | def test_encode_dss_negative(): function test_decode_dss_trailing_bytes (line 61) | def test_decode_dss_trailing_bytes(): function test_decode_dss_invalid_asn1 (line 66) | def test_decode_dss_invalid_asn1(): function test_pass_invalid_prehashed_arg (line 77) | def test_pass_invalid_prehashed_arg(): function test_prehashed_digest_size (line 82) | def test_prehashed_digest_size(): FILE: tests/hazmat/primitives/test_block.py class TestCipher (line 27) | class TestCipher: method test_creates_encryptor (line 28) | def test_creates_encryptor(self, backend): method test_creates_decryptor (line 36) | def test_creates_decryptor(self, backend): method test_instantiate_with_non_algorithm (line 44) | def test_instantiate_with_non_algorithm(self, backend): class TestCipherContext (line 54) | class TestCipherContext: method test_use_after_finalize (line 55) | def test_use_after_finalize(self, backend): method test_use_update_into_after_finalize (line 76) | def test_use_update_into_after_finalize(self, backend): method test_unaligned_block_encryption (line 89) | def test_unaligned_block_encryption(self, backend): method test_nonexistent_cipher (line 108) | def test_nonexistent_cipher(self, backend, mode): method test_incorrectly_padded (line 116) | def test_incorrectly_padded(self, backend): class TestAEADCipherContext (line 137) | class TestAEADCipherContext: class TestModeValidation (line 148) | class TestModeValidation: method test_cbc (line 149) | def test_cbc(self, backend): method test_ofb (line 157) | def test_ofb(self, backend): method test_cfb (line 165) | def test_cfb(self, backend): method test_cfb8 (line 173) | def test_cfb8(self, backend): method test_ctr (line 181) | def test_ctr(self, backend): method test_gcm (line 189) | def test_gcm(self): class TestModesRequireBytes (line 194) | class TestModesRequireBytes: method test_cbc (line 195) | def test_cbc(self): method test_cfb (line 199) | def test_cfb(self): method test_cfb8 (line 203) | def test_cfb8(self): method test_ofb (line 207) | def test_ofb(self): method test_ctr (line 211) | def test_ctr(self): method test_gcm_iv (line 215) | def test_gcm_iv(self): method test_gcm_tag (line 219) | def test_gcm_tag(self): FILE: tests/hazmat/primitives/test_camellia.py class TestCamelliaModeECB (line 25) | class TestCamelliaModeECB: class TestCamelliaModeCBC (line 45) | class TestCamelliaModeCBC: class TestCamelliaModeOFB (line 61) | class TestCamelliaModeOFB: class TestCamelliaModeCFB (line 77) | class TestCamelliaModeCFB: FILE: tests/hazmat/primitives/test_chacha20.py class TestChaCha20 (line 25) | class TestChaCha20: method test_vectors (line 34) | def test_vectors(self, vector, backend): method test_buffer_protocol (line 45) | def test_buffer_protocol(self, backend): method test_key_size (line 55) | def test_key_size(self): method test_invalid_key_size (line 59) | def test_invalid_key_size(self): method test_invalid_nonce (line 63) | def test_invalid_nonce(self): method test_invalid_key_type (line 70) | def test_invalid_key_type(self): method test_partial_blocks (line 74) | def test_partial_blocks(self, backend): method test_reset_nonce (line 95) | def test_reset_nonce(self, backend): method test_nonce_reset_invalid_length (line 133) | def test_nonce_reset_invalid_length(self, backend): FILE: tests/hazmat/primitives/test_ciphers.py function test_deprecated_ciphers_import_with_warning (line 24) | def test_deprecated_ciphers_import_with_warning(): class TestAES (line 39) | class TestAES: method test_key_size (line 44) | def test_key_size(self, key, keysize): method test_invalid_key_size (line 48) | def test_invalid_key_size(self): method test_invalid_key_type (line 52) | def test_invalid_key_type(self): class TestAESXTS (line 57) | class TestAESXTS: method test_invalid_key_size_with_mode (line 59) | def test_invalid_key_size_with_mode(self, mode, backend): method test_xts_tweak_not_bytes (line 63) | def test_xts_tweak_not_bytes(self): method test_xts_tweak_too_small (line 67) | def test_xts_tweak_too_small(self): method test_xts_wrong_key_size (line 71) | def test_xts_wrong_key_size(self, backend): class TestGCM (line 76) | class TestGCM: method test_gcm_min_max (line 78) | def test_gcm_min_max(self, size): class TestCamellia (line 83) | class TestCamellia: method test_key_size (line 88) | def test_key_size(self, key, keysize): method test_invalid_key_size (line 92) | def test_invalid_key_size(self): method test_invalid_key_type (line 96) | def test_invalid_key_type(self): class TestCipherUpdateInto (line 107) | class TestCipherUpdateInto: method test_update_into (line 115) | def test_update_into(self, params, backend): method test_update_into_gcm (line 132) | def test_update_into_gcm(self, backend): method test_finalize_with_tag_already_finalized (line 157) | def test_finalize_with_tag_already_finalized(self, backend): method test_finalize_with_tag_duplicate_tag (line 179) | def test_finalize_with_tag_duplicate_tag(self, backend): method test_update_into_multiple_calls (line 195) | def test_update_into_multiple_calls(self, params, backend): method test_update_into_buffer_too_small (line 208) | def test_update_into_buffer_too_small(self, backend): method test_update_into_immutable (line 216) | def test_update_into_immutable(self, backend): method test_update_into_buffer_too_small_gcm (line 230) | def test_update_into_buffer_too_small_gcm(self, backend): method test_update_with_invalid_type (line 238) | def test_update_with_invalid_type(self, backend): function test_update_auto_chunking (line 251) | def test_update_auto_chunking(): FILE: tests/hazmat/primitives/test_cmac.py class TestCMAC (line 49) | class TestCMAC: method test_aes_generate (line 57) | def test_aes_generate(self, backend, params): method test_aes_verify (line 73) | def test_aes_verify(self, backend, params): method test_3des_generate (line 89) | def test_3des_generate(self, backend, params): method test_3des_verify (line 110) | def test_3des_verify(self, backend, params): method test_invalid_verify (line 130) | def test_invalid_verify(self, backend): method test_invalid_algorithm (line 142) | def test_invalid_algorithm(self, backend): method test_raises_after_finalize (line 156) | def test_raises_after_finalize(self, backend): method test_verify_reject_unicode (line 179) | def test_verify_reject_unicode(self, backend): method test_copy_with_backend (line 195) | def test_copy_with_backend(self, backend): method test_buffer_protocol (line 208) | def test_buffer_protocol(self, backend): FILE: tests/hazmat/primitives/test_concatkdf.py class TestConcatKDFHash (line 19) | class TestConcatKDFHash: method test_length_limit (line 20) | def test_length_limit(self, backend): method test_already_finalized (line 27) | def test_already_finalized(self, backend): method test_derive (line 35) | def test_derive(self, backend): method test_buffer_protocol (line 51) | def test_buffer_protocol(self, backend): method test_verify (line 67) | def test_verify(self, backend): method test_invalid_verify (line 83) | def test_invalid_verify(self, backend): method test_unicode_typeerror (line 98) | def test_unicode_typeerror(self, backend): method test_derive_into (line 128) | def test_derive_into(self, backend): method test_derive_into_buffer_incorrect_size (line 148) | def test_derive_into_buffer_incorrect_size(self, buflen, outlen, backe... method test_derive_into_already_finalized (line 154) | def test_derive_into_already_finalized(self, backend): class TestConcatKDFHMAC (line 162) | class TestConcatKDFHMAC: method test_length_limit (line 163) | def test_length_limit(self, backend): method test_already_finalized (line 170) | def test_already_finalized(self, backend): method test_derive (line 178) | def test_derive(self, backend): method test_buffer_protocol (line 198) | def test_buffer_protocol(self, backend): method test_derive_explicit_salt (line 218) | def test_derive_explicit_salt(self, backend): method test_verify (line 240) | def test_verify(self, backend): method test_invalid_verify (line 260) | def test_invalid_verify(self, backend): method test_unicode_typeerror (line 277) | def test_unicode_typeerror(self, backend): method test_unsupported_hash_algorithm (line 317) | def test_unsupported_hash_algorithm(self, backend): method test_derive_into (line 328) | def test_derive_into(self, backend): method test_derive_into_buffer_incorrect_size (line 350) | def test_derive_into_buffer_incorrect_size(self, buflen, outlen, backe... method test_derive_into_already_finalized (line 356) | def test_derive_into_already_finalized(self, backend): FILE: tests/hazmat/primitives/test_constant_time.py class TestConstantTimeBytesEq (line 11) | class TestConstantTimeBytesEq: method test_reject_unicode (line 12) | def test_reject_unicode(self): method test_compares (line 22) | def test_compares(self): FILE: tests/hazmat/primitives/test_dh.py function _skip_dhx_unsupported (line 35) | def _skip_dhx_unsupported(backend, is_dhx): function test_dh_parameternumbers (line 42) | def test_dh_parameternumbers(): function test_dh_invalid_parameter_numbers (line 75) | def test_dh_invalid_parameter_numbers(): function test_dh_numbers (line 82) | def test_dh_numbers(): function test_dh_parameter_numbers_equality (line 108) | def test_dh_parameter_numbers_equality(): function test_dh_private_numbers_equality (line 126) | def test_dh_private_numbers_equality(): function test_dh_public_numbers_equality (line 140) | def test_dh_public_numbers_equality(): class TestDH (line 154) | class TestDH: method test_small_key_generate_dh (line 155) | def test_small_key_generate_dh(self, backend): method test_unsupported_generator_generate_dh (line 159) | def test_unsupported_generator_generate_dh(self, backend): method test_large_key_generate_dh (line 163) | def test_large_key_generate_dh(self, backend): method test_dh_parameters_allows_rfc3526_groups (line 173) | def test_dh_parameters_allows_rfc3526_groups(self, backend, vector): method test_convert_to_numbers (line 201) | def test_convert_to_numbers(self, backend, with_q): method test_numbers_unsupported_parameters (line 232) | def test_numbers_unsupported_parameters(self, backend): method test_generate_dh (line 246) | def test_generate_dh(self, backend, with_q): method test_exchange_wrong_type (line 285) | def test_exchange_wrong_type(self, backend): method test_exchange (line 291) | def test_exchange(self, backend): method test_exchange_algorithm (line 305) | def test_exchange_algorithm(self, backend): method test_symmetric_key_padding (line 322) | def test_symmetric_key_padding(self, backend): method test_bad_exchange (line 359) | def test_bad_exchange(self, backend, vector): method test_load_256bit_key_from_pkcs8 (line 387) | def test_load_256bit_key_from_pkcs8(self, backend): method test_dh_vectors (line 402) | def test_dh_vectors(self, backend, vector): method test_dh_vectors_with_q (line 427) | def test_dh_vectors_with_q(self, backend, vector): method test_exchange_old_key (line 443) | def test_exchange_old_key(self, backend): method test_public_key_equality (line 453) | def test_public_key_equality(self, backend): method test_public_key_copy (line 474) | def test_public_key_copy(self): method test_public_key_deepcopy (line 485) | def test_public_key_deepcopy(self): method test_private_key_copy (line 507) | def test_private_key_copy(self, backend): method test_private_key_deepcopy (line 519) | def test_private_key_deepcopy(self, backend): class TestDHPrivateKeySerialization (line 545) | class TestDHPrivateKeySerialization: method test_private_bytes_unencrypted (line 553) | def test_private_bytes_unencrypted(self, backend, encoding, loader_func): method test_private_bytes_rejects_invalid (line 575) | def test_private_bytes_rejects_invalid(self, encoding, fmt, backend): method test_private_bytes_match (line 611) | def test_private_bytes_match( method test_private_bytes_values (line 656) | def test_private_bytes_values( method test_private_bytes_traditional_openssl_invalid (line 681) | def test_private_bytes_traditional_openssl_invalid(self, backend): method test_private_bytes_invalid_encoding (line 691) | def test_private_bytes_invalid_encoding(self, backend): method test_private_bytes_invalid_format (line 701) | def test_private_bytes_invalid_format(self, backend): method test_private_bytes_invalid_encryption_algorithm (line 711) | def test_private_bytes_invalid_encryption_algorithm(self, backend): method test_private_bytes_unsupported_encryption_type (line 721) | def test_private_bytes_unsupported_encryption_type(self, backend): class TestDHPublicKeySerialization (line 736) | class TestDHPublicKeySerialization: method test_public_bytes (line 744) | def test_public_bytes(self, backend, encoding, loader_func): method test_public_bytes_match (line 802) | def test_public_bytes_match( method test_public_bytes_values (line 842) | def test_public_bytes_values( method test_public_bytes_invalid_encoding (line 859) | def test_public_bytes_invalid_encoding(self, backend): method test_public_bytes_pkcs1_unsupported (line 868) | def test_public_bytes_pkcs1_unsupported(self, backend): class TestDHParameterSerialization (line 881) | class TestDHParameterSerialization: method test_parameter_bytes (line 889) | def test_parameter_bytes(self, backend, encoding, loader_func): method test_parameter_bytes_match (line 927) | def test_parameter_bytes_match( method test_public_bytes_values (line 966) | def test_public_bytes_values( method test_public_bytes_rejects_invalid (line 1005) | def test_public_bytes_rejects_invalid(self, encoding, fmt, backend): method test_parameter_bytes_invalid_encoding (line 1011) | def test_parameter_bytes_invalid_encoding(self, backend): method test_parameter_bytes_invalid_format (line 1019) | def test_parameter_bytes_invalid_format(self, backend): method test_parameter_bytes_openssh_unsupported (line 1027) | def test_parameter_bytes_openssh_unsupported(self, backend): FILE: tests/hazmat/primitives/test_dsa.py function _skip_if_dsa_not_supported (line 41) | def _skip_if_dsa_not_supported( function test_skip_if_dsa_not_supported (line 55) | def test_skip_if_dsa_not_supported(backend): class TestDSA (line 64) | class TestDSA: method test_generate_dsa_parameters (line 65) | def test_generate_dsa_parameters(self, backend): method test_generate_invalid_dsa_parameters (line 69) | def test_generate_invalid_dsa_parameters(self, backend): method test_generate_dsa_keys (line 80) | def test_generate_dsa_keys(self, vector, backend): method test_generate_dsa_private_key_and_parameters (line 104) | def test_generate_dsa_private_key_and_parameters(self, backend): method test_invalid_parameters_values (line 168) | def test_invalid_parameters_values(self, p, q, g, backend): method test_invalid_dsa_private_key_arguments (line 282) | def test_invalid_dsa_private_key_arguments(self, p, q, g, y, x, backend): method test_invalid_dsa_public_key_arguments (line 357) | def test_invalid_dsa_public_key_arguments(self, p, q, g, y, backend): method test_large_p (line 363) | def test_large_p(self, backend): method test_public_key_equality (line 388) | def test_public_key_equality(self, backend): method test_public_key_copy (line 402) | def test_public_key_copy(self): method test_public_key_deepcopy (line 412) | def test_public_key_deepcopy(self): method test_private_key_copy (line 432) | def test_private_key_copy(self): method test_private_key_deepcopy (line 442) | def test_private_key_deepcopy(self): class TestDSAVerification (line 466) | class TestDSAVerification: method test_dsa_verification (line 467) | def test_dsa_verification(self, backend, subtests): method test_dsa_verify_invalid_asn1 (line 495) | def test_dsa_verify_invalid_asn1(self, backend): method test_verify (line 500) | def test_verify(self, backend): method test_prehashed_verify (line 508) | def test_prehashed_verify(self, backend): method test_prehashed_digest_mismatch (line 519) | def test_prehashed_digest_mismatch(self, backend): class TestDSASignature (line 535) | class TestDSASignature: method test_dsa_signing (line 536) | def test_dsa_signing(self, backend, subtests): method test_sign (line 566) | def test_sign(self, backend): method test_sign_verify_buffer (line 574) | def test_sign_verify_buffer(self, backend): method test_prehashed_sign (line 582) | def test_prehashed_sign(self, backend): method test_prehashed_digest_mismatch (line 593) | def test_prehashed_digest_mismatch(self, backend): method test_nilpotent (line 612) | def test_nilpotent(self): class TestDSANumbers (line 625) | class TestDSANumbers: method test_dsa_parameter_numbers (line 626) | def test_dsa_parameter_numbers(self): method test_dsa_parameter_numbers_invalid_types (line 632) | def test_dsa_parameter_numbers_invalid_types(self): method test_dsa_public_numbers (line 642) | def test_dsa_public_numbers(self): method test_dsa_public_numbers_invalid_types (line 650) | def test_dsa_public_numbers_invalid_types(self): method test_dsa_private_numbers (line 664) | def test_dsa_private_numbers(self): method test_dsa_private_numbers_invalid_types (line 675) | def test_dsa_private_numbers_invalid_types(self): method test_repr (line 692) | def test_repr(self): class TestDSANumberEquality (line 707) | class TestDSANumberEquality: method test_parameter_numbers_eq (line 708) | def test_parameter_numbers_eq(self): method test_parameter_numbers_ne (line 712) | def test_parameter_numbers_ne(self): method test_public_numbers_eq (line 719) | def test_public_numbers_eq(self): method test_public_numbers_ne (line 723) | def test_public_numbers_ne(self): method test_private_numbers_eq (line 731) | def test_private_numbers_eq(self): method test_private_numbers_ne (line 738) | def test_private_numbers_ne(self): class TestDSASerialization (line 763) | class TestDSASerialization: method test_private_bytes_encrypted_pem (line 779) | def test_private_bytes_encrypted_pem(self, backend, fmt, password): method test_private_bytes_rejects_invalid (line 813) | def test_private_bytes_rejects_invalid(self, encoding, fmt, backend): method test_private_bytes_encrypted_der (line 827) | def test_private_bytes_encrypted_der(self, backend, fmt, password): method test_private_bytes_unencrypted (line 872) | def test_private_bytes_unencrypted( method test_private_bytes_traditional_openssl_unencrypted (line 908) | def test_private_bytes_traditional_openssl_unencrypted( method test_private_bytes_traditional_der_encrypted_invalid (line 922) | def test_private_bytes_traditional_der_encrypted_invalid(self, backend): method test_private_bytes_invalid_encoding (line 931) | def test_private_bytes_invalid_encoding(self, backend): method test_private_bytes_invalid_format (line 945) | def test_private_bytes_invalid_format(self, backend): method test_private_bytes_invalid_encryption_algorithm (line 959) | def test_private_bytes_invalid_encryption_algorithm(self, backend): method test_private_bytes_unsupported_encryption_type (line 973) | def test_private_bytes_unsupported_encryption_type(self, backend): class TestDSAPEMPublicKeySerialization (line 992) | class TestDSAPEMPublicKeySerialization: method test_public_bytes_match (line 1012) | def test_public_bytes_match( method test_public_bytes_openssh (line 1025) | def test_public_bytes_openssh(self, backend): method test_public_bytes_invalid_encoding (line 1051) | def test_public_bytes_invalid_encoding(self, backend): method test_public_bytes_invalid_format (line 1059) | def test_public_bytes_invalid_format(self, backend): method test_public_bytes_pkcs1_unsupported (line 1067) | def test_public_bytes_pkcs1_unsupported(self, backend): method test_public_bytes_rejects_invalid (line 1097) | def test_public_bytes_rejects_invalid(self, encoding, fmt, backend): FILE: tests/hazmat/primitives/test_ec.py function _skip_ecdsa_vector (line 50) | def _skip_ecdsa_vector(backend, curve: ec.EllipticCurve, hash_type): function _skip_curve_unsupported (line 60) | def _skip_curve_unsupported(backend, curve: ec.EllipticCurve): function _skip_deterministic_ecdsa_unsupported (line 67) | def _skip_deterministic_ecdsa_unsupported(backend): function _skip_exchange_algorithm_unsupported (line 75) | def _skip_exchange_algorithm_unsupported(backend, algorithm, curve): function test_get_curve_for_oid (line 84) | def test_get_curve_for_oid(): class DummyCurve (line 90) | class DummyCurve(ec.EllipticCurve): class DummySignatureAlgorithm (line 96) | class DummySignatureAlgorithm(ec.EllipticCurveSignatureAlgorithm): function test_skip_curve_unsupported (line 100) | def test_skip_curve_unsupported(backend): function test_skip_exchange_algorithm_unsupported (line 105) | def test_skip_exchange_algorithm_unsupported(backend): function test_skip_ecdsa_vector (line 110) | def test_skip_ecdsa_vector(backend): function test_derive_private_key_success (line 115) | def test_derive_private_key_success(backend): function test_derive_private_key_errors (line 128) | def test_derive_private_key_errors(backend): function test_derive_point_at_infinity (line 142) | def test_derive_point_at_infinity(backend): function test_derive_point_invalid_key (line 161) | def test_derive_point_invalid_key(backend): function test_ec_numbers (line 171) | def test_ec_numbers(): function test_invalid_ec_numbers_args (line 191) | def test_invalid_ec_numbers_args(private_value, x, y, curve): function test_invalid_private_numbers_public_numbers (line 198) | def test_invalid_private_numbers_public_numbers(): function test_ec_public_numbers_repr (line 203) | def test_ec_public_numbers_repr(): function test_ec_public_numbers_hash (line 210) | def test_ec_public_numbers_hash(): function test_ec_private_numbers_hash (line 219) | def test_ec_private_numbers_hash(): function test_ec_key_key_size (line 234) | def test_ec_key_key_size(backend): class TestECWithNumbers (line 242) | class TestECWithNumbers: method test_with_numbers (line 243) | def test_with_numbers(self, backend, subtests): class TestECDSAVectors (line 277) | class TestECDSAVectors: method test_signing_with_example_keys (line 278) | def test_signing_with_example_keys(self, backend, subtests): method test_generate_vector_curves (line 317) | def test_generate_vector_curves(self, backend, curve): method test_generate_unknown_curve (line 330) | def test_generate_unknown_curve(self, backend): method test_generate_unsupported_curve (line 347) | def test_generate_unsupported_curve( method test_unknown_signature_algoritm (line 358) | def test_unknown_signature_algoritm(self, backend): method test_load_invalid_ec_key_from_numbers (line 382) | def test_load_invalid_ec_key_from_numbers(self, backend): method test_load_invalid_public_ec_key_from_numbers (line 418) | def test_load_invalid_public_ec_key_from_numbers(self, backend): method test_load_invalid_ec_key_from_pem (line 459) | def test_load_invalid_ec_key_from_pem(self, backend): method test_load_private_scalar_greater_than_order_pem (line 488) | def test_load_private_scalar_greater_than_order_pem(self, backend): method test_signatures (line 500) | def test_signatures(self, backend, subtests): method test_signature_failures (line 531) | def test_signature_failures(self, backend, subtests): method test_unsupported_deterministic_nonce (line 562) | def test_unsupported_deterministic_nonce(self, backend): method test_deterministic_nonce (line 571) | def test_deterministic_nonce(self, backend, subtests): method test_sign (line 639) | def test_sign(self, backend): method test_sign_verify_buffers (line 648) | def test_sign_verify_buffers(self, backend): method test_sign_prehashed (line 657) | def test_sign_prehashed(self, backend): method test_sign_prehashed_digest_mismatch (line 669) | def test_sign_prehashed_digest_mismatch(self, backend): method test_verify (line 680) | def test_verify(self, backend): method test_verify_prehashed (line 689) | def test_verify_prehashed(self, backend): method test_verify_prehashed_digest_mismatch (line 703) | def test_verify_prehashed_digest_mismatch(self, backend): class TestECEquality (line 717) | class TestECEquality: method test_public_numbers_eq (line 718) | def test_public_numbers_eq(self): method test_public_numbers_ne (line 722) | def test_public_numbers_ne(self): method test_private_numbers_eq (line 729) | def test_private_numbers_eq(self): method test_private_numbers_ne (line 736) | def test_private_numbers_ne(self): method test_public_key_equality (line 753) | def test_public_key_equality(self, backend): method test_public_key_copy (line 768) | def test_public_key_copy(self, backend): method test_public_key_deepcopy (line 779) | def test_public_key_deepcopy(self, backend): method test_private_key_copy (line 790) | def test_private_key_copy(self, backend): method test_private_key_deepcopy (line 801) | def test_private_key_deepcopy(self, backend): class TestECSerialization (line 813) | class TestECSerialization: method test_private_bytes_encrypted_pem (line 829) | def test_private_bytes_encrypted_pem(self, backend, fmt, password): method test_traditional_serialization_fips (line 855) | def test_traditional_serialization_fips(self, backend): method test_private_bytes_rejects_invalid (line 878) | def test_private_bytes_rejects_invalid(self, encoding, fmt, backend): method test_private_bytes_encrypted_der (line 893) | def test_private_bytes_encrypted_der(self, backend, fmt, password): method test_private_bytes_unencrypted (line 939) | def test_private_bytes_unencrypted( method test_private_bytes_traditional_openssl_unencrypted (line 980) | def test_private_bytes_traditional_openssl_unencrypted( method test_private_bytes_traditional_der_encrypted_invalid (line 995) | def test_private_bytes_traditional_der_encrypted_invalid(self, backend): method test_private_bytes_invalid_encoding (line 1017) | def test_private_bytes_invalid_encoding(self, backend): method test_private_bytes_invalid_format (line 1032) | def test_private_bytes_invalid_format(self, backend): method test_private_bytes_invalid_encryption_algorithm (line 1047) | def test_private_bytes_invalid_encryption_algorithm(self, backend): method test_private_bytes_unsupported_encryption_type (line 1062) | def test_private_bytes_unsupported_encryption_type(self, backend): method test_public_bytes_from_derived_public_key (line 1077) | def test_public_bytes_from_derived_public_key(self, backend): method test_load_private_key_unsupported_explicit_parameters (line 1093) | def test_load_private_key_unsupported_explicit_parameters(self): method test_load_private_key_explicit_parameters (line 1119) | def test_load_private_key_explicit_parameters(self, curve, file, backe... method test_load_public_key_explicit_parameters (line 1142) | def test_load_public_key_explicit_parameters(self, curve, file, backend): method test_load_private_key_unsupported_curve (line 1152) | def test_load_private_key_unsupported_curve(self): method test_pkcs8_inconsistent_curve (line 1162) | def test_pkcs8_inconsistent_curve(self): method test_pkcs8_consistent_curve (line 1181) | def test_pkcs8_consistent_curve(self): method test_load_private_key_missing_curve (line 1193) | def test_load_private_key_missing_curve(self): method test_load_private_key_invalid_version (line 1202) | def test_load_private_key_invalid_version(self): method test_private_bytes_high_private_key_bit_set (line 1211) | def test_private_bytes_high_private_key_bit_set(self): method test_private_bytes_small_key (line 1236) | def test_private_bytes_small_key(self): method test_load_private_key_short_key_warngs (line 1247) | def test_load_private_key_short_key_warngs(self): class TestEllipticCurvePEMPublicKeySerialization (line 1258) | class TestEllipticCurvePEMPublicKeySerialization: method test_public_bytes_match (line 1278) | def test_public_bytes_match( method test_public_bytes_openssh (line 1292) | def test_public_bytes_openssh(self, backend): method test_public_bytes_invalid_encoding (line 1321) | def test_public_bytes_invalid_encoding(self, backend): method test_public_bytes_rejects_invalid (line 1362) | def test_public_bytes_rejects_invalid(self, encoding, fmt, backend): method test_public_bytes_invalid_format (line 1368) | def test_public_bytes_invalid_format(self, backend): method test_public_bytes_pkcs1_unsupported (line 1384) | def test_public_bytes_pkcs1_unsupported(self, backend): method test_from_encoded_point_compressed (line 1406) | def test_from_encoded_point_compressed(self, vector, backend): method test_from_encoded_point_notoncurve (line 1417) | def test_from_encoded_point_notoncurve(self): method test_from_encoded_point_uncompressed (line 1428) | def test_from_encoded_point_uncompressed(self): method test_from_encoded_point_invalid_length (line 1446) | def test_from_encoded_point_invalid_length(self): method test_from_encoded_point_empty_byte_string (line 1457) | def test_from_encoded_point_empty_byte_string(self): method test_from_encoded_point_not_a_curve (line 1461) | def test_from_encoded_point_not_a_curve(self): method test_from_encoded_point_unsupported_encoding (line 1468) | def test_from_encoded_point_unsupported_encoding(self): method test_serialize_point (line 1485) | def test_serialize_point(self, vector, backend): class TestECDH (line 1515) | class TestECDH: method test_key_exchange_with_vectors (line 1516) | def test_key_exchange_with_vectors(self, backend, subtests): method test_brainpool_kex (line 1582) | def test_brainpool_kex(self, backend, vector): method test_exchange_unsupported_algorithm (line 1602) | def test_exchange_unsupported_algorithm(self, backend): method test_exchange_non_matching_curve (line 1618) | def test_exchange_non_matching_curve(self, backend): FILE: tests/hazmat/primitives/test_ed25519.py function load_ed25519_vectors (line 24) | def load_ed25519_vectors(vector_data): function test_ed25519_unsupported (line 52) | def test_ed25519_unsupported(backend): class TestEd25519Signing (line 73) | class TestEd25519Signing: method test_sign_verify_input (line 74) | def test_sign_verify_input(self, backend, subtests): method test_pub_priv_bytes_raw (line 98) | def test_pub_priv_bytes_raw(self, backend, subtests): method test_invalid_signature (line 112) | def test_invalid_signature(self, backend): method test_sign_verify_buffer (line 121) | def test_sign_verify_buffer(self, backend): method test_generate (line 127) | def test_generate(self, backend): method test_load_public_bytes (line 132) | def test_load_public_bytes(self, backend): method test_invalid_type_public_bytes (line 142) | def test_invalid_type_public_bytes(self, backend): method test_invalid_type_private_bytes (line 148) | def test_invalid_type_private_bytes(self, backend): method test_invalid_length_from_public_bytes (line 154) | def test_invalid_length_from_public_bytes(self, backend): method test_invalid_length_from_private_bytes (line 160) | def test_invalid_length_from_private_bytes(self, backend): method test_invalid_private_bytes (line 166) | def test_invalid_private_bytes(self, backend): method test_invalid_public_bytes (line 202) | def test_invalid_public_bytes(self, backend): method test_round_trip_private_serialization (line 265) | def test_round_trip_private_serialization( method test_invalid_public_key_pem (line 273) | def test_invalid_public_key_pem(self): method test_buffer_protocol (line 282) | def test_buffer_protocol(self, backend): function test_public_key_equality (line 299) | def test_public_key_equality(backend): function test_public_key_copy (line 320) | def test_public_key_copy(backend): function test_public_key_deepcopy (line 336) | def test_public_key_deepcopy(backend): function test_private_key_copy (line 352) | def test_private_key_copy(backend): function test_private_key_deepcopy (line 368) | def test_private_key_deepcopy(backend): FILE: tests/hazmat/primitives/test_ed448.py function test_ed448_unsupported (line 32) | def test_ed448_unsupported(backend): class TestEd448Signing (line 53) | class TestEd448Signing: method test_sign_input (line 61) | def test_sign_input(self, vector, backend): method test_invalid_signature (line 81) | def test_invalid_signature(self, backend): method test_sign_verify_buffer (line 90) | def test_sign_verify_buffer(self, backend): method test_generate (line 96) | def test_generate(self, backend): method test_pub_priv_bytes_raw (line 108) | def test_pub_priv_bytes_raw(self, vector, backend): method test_round_trip_private_serialization (line 170) | def test_round_trip_private_serialization( method test_invalid_type_public_bytes (line 178) | def test_invalid_type_public_bytes(self, backend): method test_invalid_type_private_bytes (line 184) | def test_invalid_type_private_bytes(self, backend): method test_invalid_length_from_public_bytes (line 190) | def test_invalid_length_from_public_bytes(self, backend): method test_invalid_length_from_private_bytes (line 196) | def test_invalid_length_from_private_bytes(self, backend): method test_invalid_private_bytes (line 202) | def test_invalid_private_bytes(self, backend): method test_invalid_public_bytes (line 231) | def test_invalid_public_bytes(self, backend): method test_invalid_public_key_pem (line 249) | def test_invalid_public_key_pem(self): method test_buffer_protocol (line 258) | def test_buffer_protocol(self, backend): method test_malleability (line 270) | def test_malleability(self, backend): function test_public_key_equality (line 293) | def test_public_key_equality(backend): function test_public_key_copy (line 314) | def test_public_key_copy(backend): function test_public_key_deepcopy (line 330) | def test_public_key_deepcopy(backend): function test_private_key_copy (line 346) | def test_private_key_copy(backend): function test_private_key_deepcopy (line 362) | def test_private_key_deepcopy(backend): FILE: tests/hazmat/primitives/test_hash_vectors.py class TestSHA1 (line 21) | class TestSHA1: class TestSHA224 (line 34) | class TestSHA224: class TestSHA256 (line 47) | class TestSHA256: class TestSHA384 (line 60) | class TestSHA384: class TestSHA512 (line 73) | class TestSHA512: class TestSHA512224 (line 86) | class TestSHA512224: class TestSHA512256 (line 99) | class TestSHA512256: class TestMD5 (line 112) | class TestMD5: class TestBLAKE2b (line 127) | class TestBLAKE2b: class TestBLAKE2s256 (line 142) | class TestBLAKE2s256: class TestSHA3224 (line 155) | class TestSHA3224: class TestSHA3256 (line 168) | class TestSHA3256: class TestSHA3384 (line 181) | class TestSHA3384: class TestSHA3512 (line 194) | class TestSHA3512: class TestSHAKE128 (line 209) | class TestSHAKE128: method test_shake128_variable (line 217) | def test_shake128_variable(self, backend, subtests): class TestSHAKE256 (line 239) | class TestSHAKE256: method test_shake256_variable (line 247) | def test_shake256_variable(self, backend, subtests): class TestSM3 (line 267) | class TestSM3: FILE: tests/hazmat/primitives/test_hashes.py class TestHashContext (line 19) | class TestHashContext: method test_hash_reject_unicode (line 20) | def test_hash_reject_unicode(self, backend): method test_hash_algorithm_instance (line 25) | def test_hash_algorithm_instance(self, backend): method test_raises_after_finalize (line 29) | def test_raises_after_finalize(self, backend): method test_unsupported_hash (line 42) | def test_unsupported_hash(self, backend): class TestSHA1 (line 51) | class TestSHA1: class TestSHA224 (line 62) | class TestSHA224: class TestSHA256 (line 73) | class TestSHA256: class TestSHA384 (line 84) | class TestSHA384: class TestSHA512 (line 95) | class TestSHA512: class TestMD5 (line 106) | class TestMD5: class TestBLAKE2b (line 119) | class TestBLAKE2b: method test_invalid_digest_size (line 125) | def test_invalid_digest_size(self, backend): class TestBLAKE2s (line 142) | class TestBLAKE2s: method test_invalid_digest_size (line 148) | def test_invalid_digest_size(self, backend): function test_buffer_protocol_hash (line 159) | def test_buffer_protocol_hash(backend): class TestHashHash (line 168) | class TestHashHash: method test_hash (line 169) | def test_hash(self): method test_hash_algorithm_instance (line 176) | def test_hash_algorithm_instance(self): method test_hash_reject_unicode (line 180) | def test_hash_reject_unicode(self): method test_hash_unsupported_algorithm (line 184) | def test_hash_unsupported_algorithm(self): method test_hash_xof (line 192) | def test_hash_xof(self): class TestSHAKE (line 200) | class TestSHAKE: method test_invalid_digest_type (line 202) | def test_invalid_digest_type(self, xof): method test_invalid_digest_size (line 207) | def test_invalid_digest_size(self, xof): class TestSM3 (line 219) | class TestSM3: FILE: tests/hazmat/primitives/test_hkdf.py class TestHKDF (line 20) | class TestHKDF: method test_overflow_protection_enormous_digest_size (line 21) | def test_overflow_protection_enormous_digest_size(self, backend): method test_length_limit (line 30) | def test_length_limit(self, backend): method test_already_finalized (line 42) | def test_already_finalized(self, backend): method test_verify (line 59) | def test_verify(self, backend): method test_verify_invalid (line 64) | def test_verify_invalid(self, backend): method test_unicode_typeerror (line 70) | def test_unicode_typeerror(self, backend): method test_derive_short_output (line 110) | def test_derive_short_output(self, backend): method test_derive_long_output (line 115) | def test_derive_long_output(self, backend): method test_private_extract_exists (line 130) | def test_private_extract_exists(self): method test_buffer_protocol (line 137) | def test_buffer_protocol(self, backend): method test_derive_into (line 152) | def test_derive_into(self): method test_derive_into_buffer_incorrect_size (line 162) | def test_derive_into_buffer_incorrect_size(self, buflen, outlen): method test_derive_into_already_finalized (line 168) | def test_derive_into_already_finalized(self): class TestHKDFExpand (line 176) | class TestHKDFExpand: method test_derive (line 177) | def test_derive(self, backend): method test_buffer_protocol (line 192) | def test_buffer_protocol(self, backend): method test_verify (line 210) | def test_verify(self, backend): method test_invalid_verify (line 225) | def test_invalid_verify(self, backend): method test_already_finalized (line 236) | def test_already_finalized(self, backend): method test_unicode_error (line 245) | def test_unicode_error(self, backend): method test_overflow_protection_enormous_digest_size (line 252) | def test_overflow_protection_enormous_digest_size(self): method test_length_limit (line 261) | def test_length_limit(self): method test_derive_into (line 271) | def test_derive_into(self): method test_derive_into_buffer_incorrect_size (line 292) | def test_derive_into_buffer_incorrect_size(self, buflen, outlen): method test_derive_into_already_finalized (line 299) | def test_derive_into_already_finalized(self): FILE: tests/hazmat/primitives/test_hkdf_vectors.py class TestHKDFSHA1 (line 20) | class TestHKDFSHA1: class TestHKDFSHA256 (line 33) | class TestHKDFSHA256: FILE: tests/hazmat/primitives/test_hmac.py class TestHMACCopy (line 26) | class TestHMACCopy: class TestHMAC (line 32) | class TestHMAC: method test_hmac_reject_unicode (line 33) | def test_hmac_reject_unicode(self, backend): method test_hmac_algorithm_instance (line 38) | def test_hmac_algorithm_instance(self, backend): method test_raises_after_finalize (line 46) | def test_raises_after_finalize(self, backend): method test_verify (line 59) | def test_verify(self, backend): method test_invalid_verify (line 69) | def test_invalid_verify(self, backend): method test_verify_reject_unicode (line 77) | def test_verify_reject_unicode(self, backend): method test_unsupported_hash (line 82) | def test_unsupported_hash(self, backend): method test_buffer_protocol (line 89) | def test_buffer_protocol(self, backend): method test_algorithm (line 97) | def test_algorithm(self): FILE: tests/hazmat/primitives/test_hmac_vectors.py class TestHMACMD5 (line 20) | class TestHMACMD5: class TestHMACSHA1 (line 33) | class TestHMACSHA1: class TestHMACSHA224 (line 46) | class TestHMACSHA224: class TestHMACSHA256 (line 59) | class TestHMACSHA256: class TestHMACSHA384 (line 72) | class TestHMACSHA384: class TestHMACSHA512 (line 85) | class TestHMACSHA512: class TestHMACBLAKE2 (line 100) | class TestHMACBLAKE2: method test_blake2b (line 101) | def test_blake2b(self, backend): method test_blake2s (line 110) | def test_blake2s(self, backend): FILE: tests/hazmat/primitives/test_hpke.py class TestHPKE (line 50) | class TestHPKE: method test_invalid_kem_type (line 51) | def test_invalid_kem_type(self): method test_invalid_kdf_type (line 55) | def test_invalid_kdf_type(self): method test_invalid_aead_type (line 59) | def test_invalid_aead_type(self): method test_roundtrip (line 64) | def test_roundtrip(self, backend, kem, kdf, aead): method test_roundtrip_no_info (line 92) | def test_roundtrip_no_info(self, backend, kem, kdf, aead): method test_wrong_key_x25519 (line 119) | def test_wrong_key_x25519(self): method test_wrong_key_p256 (line 140) | def test_wrong_key_p256(self): method test_wrong_key_p384 (line 171) | def test_wrong_key_p384(self): method test_wrong_key_p521 (line 212) | def test_wrong_key_p521(self): method test_wrong_aad_fails (line 253) | def test_wrong_aad_fails(self): method test_info_mismatch_fails (line 268) | def test_info_mismatch_fails(self): method test_ciphertext_format (line 279) | def test_ciphertext_format(self): method test_ciphertext_format_p256 (line 290) | def test_ciphertext_format_p256(self): method test_ciphertext_format_p384 (line 301) | def test_ciphertext_format_p384(self): method test_ciphertext_format_p521 (line 312) | def test_ciphertext_format_p521(self): method test_empty_plaintext (line 323) | def test_empty_plaintext(self): method test_large_plaintext (line 334) | def test_large_plaintext(self): method test_corrupted_ciphertext (line 347) | def test_corrupted_ciphertext(self): method test_truncated_ciphertext (line 365) | def test_truncated_ciphertext(self): method test_small_order_enc_raises_invalid_tag (line 413) | def test_small_order_enc_raises_invalid_tag(self, small_order_point): method test_invalid_p256_enc_raises_invalid_tag (line 425) | def test_invalid_p256_enc_raises_invalid_tag(self): method test_info_too_large_fails_shake128 (line 436) | def test_info_too_large_fails_shake128(self, backend): method test_info_too_large_fails_shake256 (line 445) | def test_info_too_large_fails_shake256(self, backend): method test_vector_decryption (line 454) | def test_vector_decryption(self, backend, subtests): FILE: tests/hazmat/primitives/test_kbkdf.py class TestKBKDFHMAC (line 29) | class TestKBKDFHMAC: method test_invalid_key (line 30) | def test_invalid_key(self, backend): method test_already_finalized (line 62) | def test_already_finalized(self, backend): method test_derive_into (line 116) | def test_derive_into(self, backend): method test_derive_into_buffer_incorrect_size (line 149) | def test_derive_into_buffer_incorrect_size(self, buflen, outlen, backe... method test_derive_into_already_finalized (line 166) | def test_derive_into_already_finalized(self, backend): method test_key_length (line 184) | def test_key_length(self, backend): method test_rlen (line 200) | def test_rlen(self, backend): method test_r_type (line 215) | def test_r_type(self, backend): method test_zero_llen (line 230) | def test_zero_llen(self, backend): method test_l_type (line 245) | def test_l_type(self, backend): method test_l (line 260) | def test_l(self, backend): method test_unsupported_mode (line 275) | def test_unsupported_mode(self, backend): method test_unsupported_location (line 290) | def test_unsupported_location(self, backend): method test_unsupported_parameters (line 305) | def test_unsupported_parameters(self, backend): method test_missing_break_location (line 320) | def test_missing_break_location(self, backend): method test_keyword_only_break_location (line 354) | def test_keyword_only_break_location(self, backend): method test_invalid_break_location (line 372) | def test_invalid_break_location(self, backend): method test_ignored_break_location_before (line 406) | def test_ignored_break_location_before(self, backend): method test_ignored_break_location_after (line 428) | def test_ignored_break_location_after(self, backend): method test_unsupported_hash (line 450) | def test_unsupported_hash(self, backend): method test_unsupported_algorithm (line 465) | def test_unsupported_algorithm(self, backend): method test_unicode_error_label (line 480) | def test_unicode_error_label(self, backend): method test_unicode_error_context (line 495) | def test_unicode_error_context(self, backend): method test_unicode_error_key_material (line 510) | def test_unicode_error_key_material(self, backend): method test_buffer_protocol (line 526) | def test_buffer_protocol(self, backend): class TestKBKDFCMAC (line 544) | class TestKBKDFCMAC: method test_invalid_key (line 548) | def test_invalid_key(self, backend): method test_already_finalized (line 580) | def test_already_finalized(self, backend): method test_key_length (line 634) | def test_key_length(self, backend): method test_rlen (line 650) | def test_rlen(self, backend): method test_r_type (line 665) | def test_r_type(self, backend): method test_zero_llen (line 680) | def test_zero_llen(self, backend): method test_l_type (line 695) | def test_l_type(self, backend): method test_l (line 710) | def test_l(self, backend): method test_unsupported_mode (line 725) | def test_unsupported_mode(self, backend): method test_unsupported_location (line 740) | def test_unsupported_location(self, backend): method test_unsupported_parameters (line 755) | def test_unsupported_parameters(self, backend): method test_missing_break_location (line 770) | def test_missing_break_location(self, backend): method test_keyword_only_break_location (line 804) | def test_keyword_only_break_location(self, backend): method test_invalid_break_location (line 822) | def test_invalid_break_location(self, backend): method test_ignored_break_location_before (line 856) | def test_ignored_break_location_before(self, backend): method test_ignored_break_location_after (line 878) | def test_ignored_break_location_after(self, backend): method test_unsupported_algorithm (line 900) | def test_unsupported_algorithm(self, backend): method test_unicode_error_label (line 929) | def test_unicode_error_label(self, backend): method test_unicode_error_context (line 944) | def test_unicode_error_context(self, backend): method test_unsupported_cipher (line 959) | def test_unsupported_cipher(self, backend): method test_unicode_error_key_material (line 975) | def test_unicode_error_key_material(self, backend): method test_wrong_key_material_length (line 991) | def test_wrong_key_material_length(self, backend): method test_buffer_protocol (line 1007) | def test_buffer_protocol(self, backend): FILE: tests/hazmat/primitives/test_kbkdf_vectors.py class TestCounterKDFCounterMode (line 12) | class TestCounterKDFCounterMode: FILE: tests/hazmat/primitives/test_keywrap.py class TestAESKeyWrap (line 18) | class TestAESKeyWrap: method test_wrap (line 26) | def test_wrap(self, backend, subtests): method test_unwrap (line 48) | def test_unwrap(self, backend, subtests): method test_wrap_invalid_key_length (line 76) | def test_wrap_invalid_key_length(self, backend): method test_unwrap_invalid_key_length (line 88) | def test_unwrap_invalid_key_length(self, backend): method test_wrap_invalid_key_to_wrap_length (line 99) | def test_wrap_invalid_key_to_wrap_length(self, backend): method test_unwrap_invalid_wrapped_key_length (line 108) | def test_unwrap_invalid_wrapped_key_length(self, backend): class TestAESKeyWrapWithPadding (line 125) | class TestAESKeyWrapWithPadding: method test_wrap (line 126) | def test_wrap(self, backend, subtests): method test_wrap_additional_vectors (line 141) | def test_wrap_additional_vectors(self, backend, subtests): method test_unwrap (line 154) | def test_unwrap(self, backend, subtests): method test_unwrap_additional_vectors (line 175) | def test_unwrap_additional_vectors(self, backend, subtests): method test_unwrap_invalid_wrapped_key_length (line 188) | def test_unwrap_invalid_wrapped_key_length(self, backend): method test_wrap_invalid_key_length (line 197) | def test_wrap_invalid_key_length(self, backend): method test_unwrap_invalid_key_length (line 201) | def test_unwrap_invalid_key_length(self, backend): FILE: tests/hazmat/primitives/test_padding.py class TestPKCS7 (line 12) | class TestPKCS7: method test_invalid_block_size (line 14) | def test_invalid_block_size(self, size): method test_invalid_padding (line 29) | def test_invalid_padding(self, size, padded): method test_non_bytes (line 35) | def test_non_bytes(self): method test_zany_py2_bytes_subclass (line 43) | def test_zany_py2_bytes_subclass(self): method test_pad (line 68) | def test_pad(self, size, unpadded, padded): method test_unpad (line 87) | def test_unpad(self, size, unpadded, padded): method test_use_after_finalize (line 93) | def test_use_after_finalize(self): method test_large_padding (line 109) | def test_large_padding(self): method test_bytearray (line 123) | def test_bytearray(self): method test_block_size_padding (line 135) | def test_block_size_padding(self): class TestANSIX923 (line 141) | class TestANSIX923: method test_invalid_block_size (line 143) | def test_invalid_block_size(self, size): method test_invalid_padding (line 159) | def test_invalid_padding(self, size, padded): method test_non_bytes (line 165) | def test_non_bytes(self): method test_zany_py2_bytes_subclass (line 173) | def test_zany_py2_bytes_subclass(self): method test_pad (line 198) | def test_pad(self, size, unpadded, padded): method test_unpad (line 215) | def test_unpad(self, size, unpadded, padded): method test_use_after_finalize (line 221) | def test_use_after_finalize(self): method test_bytearray (line 237) | def test_bytearray(self): method test_block_size_padding (line 249) | def test_block_size_padding(self): FILE: tests/hazmat/primitives/test_pbkdf2hmac.py class TestPBKDF2HMAC (line 16) | class TestPBKDF2HMAC: method test_already_finalized (line 17) | def test_already_finalized(self, backend): method test_unsupported_algorithm (line 33) | def test_unsupported_algorithm(self, backend): method test_invalid_key (line 37) | def test_invalid_key(self, backend): method test_unicode_error_with_salt (line 45) | def test_unicode_error_with_salt(self, backend): method test_unicode_error_with_key_material (line 55) | def test_unicode_error_with_key_material(self, backend): method test_buffer_protocol (line 60) | def test_buffer_protocol(self, backend): method test_derive_into (line 65) | def test_derive_into(self, backend): method test_derive_into_buffer_incorrect_size (line 76) | def test_derive_into_buffer_incorrect_size(self, buflen, outlen, backe... method test_derive_into_already_finalized (line 82) | def test_derive_into_already_finalized(self, backend): method test_zero_iterations (line 89) | def test_zero_iterations(self, backend): FILE: tests/hazmat/primitives/test_pbkdf2hmac_vectors.py function test_pbkdf2_hmacsha1_vectors (line 20) | def test_pbkdf2_hmacsha1_vectors(subtests, backend): FILE: tests/hazmat/primitives/test_pkcs12.py function _skip_curve_unsupported (line 44) | def _skip_curve_unsupported(backend, curve): class TestPKCS12Loading (line 54) | class TestPKCS12Loading: method _test_load_pkcs12_ec_keys (line 55) | def _test_load_pkcs12_ec_keys(self, filename, password, backend): method test_load_pkcs12_ec_keys (line 77) | def test_load_pkcs12_ec_keys(self, filename, password, backend): method test_load_pkcs12_ec_keys_rc2 (line 93) | def test_load_pkcs12_ec_keys_rc2(self, filename, password, backend): method test_load_key_and_cert_cert_only (line 102) | def test_load_key_and_cert_cert_only(self, backend): method test_load_key_and_certificates_key_only (line 115) | def test_load_key_and_certificates_key_only(self, backend): method test_load_pkcs12_key_only (line 130) | def test_load_pkcs12_key_only(self, backend): method test_non_bytes (line 143) | def test_non_bytes(self, backend): method test_not_a_pkcs12 (line 151) | def test_not_a_pkcs12(self, backend): method test_invalid_password (line 155) | def test_invalid_password(self, backend): method test_buffer_protocol (line 165) | def test_buffer_protocol(self, backend): method test_load_object (line 210) | def test_load_object( method test_load_object_no_cert_key (line 260) | def test_load_object_no_cert_key( function _load_cert (line 282) | def _load_cert(backend, path): function _load_ca (line 292) | def _load_ca(backend): class TestPKCS12Creation (line 305) | class TestPKCS12Creation: method test_generate_each_supported_keytype (line 349) | def test_generate_each_supported_keytype( method test_generate_with_cert_key_ca (line 386) | def test_generate_with_cert_key_ca(self, backend): method test_generate_cas_friendly_names (line 405) | def test_generate_cas_friendly_names(self, backend): method test_generate_cas_friendly_names_no_key (line 443) | def test_generate_cas_friendly_names_no_key( method test_generate_wrong_types (line 468) | def test_generate_wrong_types(self, backend): method test_generate_no_cert (line 515) | def test_generate_no_cert(self, backend, encryption_algorithm, password): method test_generate_cas_only (line 535) | def test_generate_cas_only(self, encryption_algorithm, password, backe... method test_generate_cert_only (line 554) | def test_generate_cert_only(self, encryption_algorithm, password, back... method test_generate_cert_only_none_cas (line 571) | def test_generate_cert_only_none_cas(self, backend): method test_invalid_utf8_friendly_name (line 585) | def test_invalid_utf8_friendly_name(self, backend): method test_must_supply_something (line 592) | def test_must_supply_something(self): method test_generate_unsupported_encryption_type (line 601) | def test_generate_unsupported_encryption_type(self, backend): method test_key_serialization_encryption (line 649) | def test_key_serialization_encryption( method test_set_mac_key_certificate_mismatch (line 705) | def test_set_mac_key_certificate_mismatch(self, backend): method test_generate_localkeyid (line 726) | def test_generate_localkeyid(self, backend, encryption_algorithm): method test_invalid_utf8_password_pbes1 (line 743) | def test_invalid_utf8_password_pbes1(self, backend): class TestPKCS12TrustStoreCreation (line 760) | class TestPKCS12TrustStoreCreation: method test_generate_valid_truststore (line 761) | def test_generate_valid_truststore(self, backend): method test_generate_certs_friendly_names (line 792) | def test_generate_certs_friendly_names(self, backend): method test_key_serialization_encryption (line 849) | def test_key_serialization_encryption( method test_invalid_utf8_friendly_name (line 888) | def test_invalid_utf8_friendly_name(self, backend): method test_generate_empty_certs (line 896) | def test_generate_empty_certs(self): method test_generate_unsupported_encryption_type (line 901) | def test_generate_unsupported_encryption_type(self, backend): method test_generate_wrong_types (line 910) | def test_generate_wrong_types(self, backend): function test_pkcs12_ordering (line 947) | def test_pkcs12_ordering(): class TestPKCS12Objects (line 1001) | class TestPKCS12Objects: method test_certificate_constructor (line 1002) | def test_certificate_constructor(self, backend): method test_certificate_equality (line 1013) | def test_certificate_equality(self, backend): method test_certificate_hash (line 1034) | def test_certificate_hash(self, backend): method test_certificate_repr (line 1053) | def test_certificate_repr(self, backend): method test_key_and_certificates_constructor (line 1064) | def test_key_and_certificates_constructor(self, backend): method test_key_and_certificates_equality (line 1084) | def test_key_and_certificates_equality(self, backend): method test_key_and_certificates_hash (line 1143) | def test_key_and_certificates_hash(self, backend): method test_key_and_certificates_repr (line 1200) | def test_key_and_certificates_repr(self, backend): FILE: tests/hazmat/primitives/test_pkcs7.py class TestPKCS7Loading (line 43) | class TestPKCS7Loading: method test_load_invalid_der_pkcs7 (line 44) | def test_load_invalid_der_pkcs7(self, backend): method test_load_invalid_pem_pkcs7 (line 48) | def test_load_invalid_pem_pkcs7(self, backend): method test_not_bytes_der (line 58) | def test_not_bytes_der(self, backend): method test_not_bytes_pem (line 62) | def test_not_bytes_pem(self, backend): method test_load_pkcs7_pem (line 66) | def test_load_pkcs7_pem(self, backend): method test_load_pkcs7_der (line 84) | def test_load_pkcs7_der(self, filepath, backend): method test_load_pkcs7_unsupported_type (line 126) | def test_load_pkcs7_unsupported_type(self, backend): method test_load_pkcs7_empty_certificates (line 136) | def test_load_pkcs7_empty_certificates(self): function _load_cert_key (line 149) | def _load_cert_key(): class TestPKCS7SignatureBuilder (line 174) | class TestPKCS7SignatureBuilder: method test_invalid_data (line 175) | def test_invalid_data(self, backend): method test_set_data_twice (line 180) | def test_set_data_twice(self, backend): method test_sign_no_signer (line 185) | def test_sign_no_signer(self, backend): method test_sign_no_data (line 190) | def test_sign_no_data(self, backend): method test_unsupported_hash_alg (line 198) | def test_unsupported_hash_alg(self, backend): method test_not_a_cert (line 207) | def test_not_a_cert(self, backend): method test_unsupported_key_type (line 220) | def test_unsupported_key_type(self, backend): method test_sign_invalid_options (line 230) | def test_sign_invalid_options(self, backend): method test_sign_invalid_encoding (line 243) | def test_sign_invalid_encoding(self, backend): method test_sign_invalid_options_text_no_detached (line 253) | def test_sign_invalid_options_text_no_detached(self, backend): method test_sign_invalid_options_text_der_encoding (line 264) | def test_sign_invalid_options_text_der_encoding(self, backend): method test_sign_invalid_options_no_attrs_and_no_caps (line 278) | def test_sign_invalid_options_no_attrs_and_no_caps(self, backend): method test_smime_sign_detached (line 292) | def test_smime_sign_detached(self, backend): method test_sign_byteslike (line 338) | def test_sign_byteslike(self, backend): method test_sign_pem (line 374) | def test_sign_pem(self, backend): method test_sign_alternate_digests_der (line 401) | def test_sign_alternate_digests_der( method test_sign_alternate_digests_detached (line 426) | def test_sign_alternate_digests_detached( method test_sign_attached (line 442) | def test_sign_attached(self, backend): method test_sign_binary (line 464) | def test_sign_binary(self, backend): method test_sign_smime_canonicalization (line 497) | def test_sign_smime_canonicalization(self, backend): method test_sign_text (line 520) | def test_sign_text(self, backend): method test_smime_capabilities (line 556) | def test_smime_capabilities(self, backend): method test_sign_no_capabilities (line 599) | def test_sign_no_capabilities(self, backend): method test_sign_no_attributes (line 627) | def test_sign_no_attributes(self, backend): method test_sign_no_certs (line 653) | def test_sign_no_certs(self, backend): method test_rsa_pkcs_padding_options (line 681) | def test_rsa_pkcs_padding_options(self, pad, backend): method test_not_rsa_key_with_padding (line 735) | def test_not_rsa_key_with_padding(self, backend): method test_rsa_invalid_padding (line 742) | def test_rsa_invalid_padding(self, backend): method test_multiple_signers (line 766) | def test_multiple_signers(self, backend): method test_multiple_signers_different_hash_algs (line 802) | def test_multiple_signers_different_hash_algs(self, backend): method test_add_additional_cert_not_a_cert (line 839) | def test_add_additional_cert_not_a_cert(self, backend): method test_add_additional_cert (line 845) | def test_add_additional_cert(self, backend): method test_add_multiple_additional_certs (line 867) | def test_add_multiple_additional_certs(self, backend): function _load_rsa_cert_key (line 891) | def _load_rsa_cert_key(): class TestPKCS7EnvelopeBuilder (line 915) | class TestPKCS7EnvelopeBuilder: method test_invalid_data (line 916) | def test_invalid_data(self, backend): method test_set_data_twice (line 921) | def test_set_data_twice(self, backend): method test_encrypt_no_recipient (line 926) | def test_encrypt_no_recipient(self, backend): method test_encrypt_no_data (line 931) | def test_encrypt_no_data(self, backend): method test_unsupported_encryption (line 937) | def test_unsupported_encryption(self, backend): method test_not_a_cert (line 942) | def test_not_a_cert(self, backend): method test_set_content_encryption_algorithm_twice (line 948) | def test_set_content_encryption_algorithm_twice(self, backend): method test_invalid_content_encryption_algorithm (line 954) | def test_invalid_content_encryption_algorithm(self, backend): method test_encrypt_invalid_options (line 963) | def test_encrypt_invalid_options(self, backend): method test_encrypt_invalid_encoding (line 974) | def test_encrypt_invalid_encoding(self, backend): method test_encrypt_invalid_encryption_options (line 992) | def test_encrypt_invalid_encryption_options( method test_smime_encrypt_smime_encoding (line 1009) | def test_smime_encrypt_smime_encoding(self, backend, options): method test_smime_encrypt_der_encoding (line 1062) | def test_smime_encrypt_der_encoding(self, backend, options): method test_smime_encrypt_pem_encoding (line 1103) | def test_smime_encrypt_pem_encoding(self, backend, options): method test_smime_encrypt_multiple_recipients (line 1125) | def test_smime_encrypt_multiple_recipients(self, backend): class TestPKCS7Decrypt (line 1151) | class TestPKCS7Decrypt: method fixture_data (line 1153) | def fixture_data(self, backend) -> bytes: method fixture_certificate (line 1157) | def fixture_certificate(self, backend) -> x509.Certificate: method fixture_private_key (line 1162) | def fixture_private_key(self, backend) -> rsa.RSAPrivateKey: method test_unsupported_certificate_encryption (line 1166) | def test_unsupported_certificate_encryption(self, backend, private_key): method test_not_a_cert (line 1171) | def test_not_a_cert(self, backend, private_key): method test_not_a_pkey (line 1175) | def test_not_a_pkey(self, backend, certificate): method test_pkcs7_decrypt_invalid_options (line 1187) | def test_pkcs7_decrypt_invalid_options( method test_pkcs7_decrypt_der (line 1196) | def test_pkcs7_decrypt_der( method test_pkcs7_decrypt_aes_256_cbc_encrypted_content (line 1214) | def test_pkcs7_decrypt_aes_256_cbc_encrypted_content( method test_pkcs7_decrypt_der_text_handmade_header (line 1243) | def test_pkcs7_decrypt_der_text_handmade_header( method test_pkcs7_decrypt_pem (line 1265) | def test_pkcs7_decrypt_pem( method test_pkcs7_decrypt_pem_with_wrong_tag (line 1283) | def test_pkcs7_decrypt_pem_with_wrong_tag( method test_pkcs7_decrypt_smime (line 1295) | def test_pkcs7_decrypt_smime( method test_pkcs7_decrypt_no_encrypted_content (line 1312) | def test_pkcs7_decrypt_no_encrypted_content( method test_pkcs7_decrypt_text_no_header (line 1325) | def test_pkcs7_decrypt_text_no_header( method test_pkcs7_decrypt_text_html_content_type (line 1342) | def test_pkcs7_decrypt_text_html_content_type( method test_smime_decrypt_no_recipient_match (line 1362) | def test_smime_decrypt_no_recipient_match( method test_smime_decrypt_unsupported_key_encryption_algorithm (line 1387) | def test_smime_decrypt_unsupported_key_encryption_algorithm( method test_smime_decrypt_unsupported_content_encryption_algorithm (line 1399) | def test_smime_decrypt_unsupported_content_encryption_algorithm( method test_smime_decrypt_not_enveloped (line 1411) | def test_smime_decrypt_not_enveloped( method test_smime_decrypt_smime_not_encrypted (line 1428) | def test_smime_decrypt_smime_not_encrypted( class TestPKCS7SerializeCerts (line 1446) | class TestPKCS7SerializeCerts: method test_roundtrip (line 1454) | def test_roundtrip(self, encoding, loader, backend): method test_ordering (line 1464) | def test_ordering(self, backend): method test_pem_matches_vector (line 1476) | def test_pem_matches_vector(self, backend): method test_der_matches_vector (line 1486) | def test_der_matches_vector(self, backend): method test_invalid_types (line 1496) | def test_invalid_types(self): class TestPKCS7EnvelopeBuilderUnsupported (line 1525) | class TestPKCS7EnvelopeBuilderUnsupported: method test_envelope_builder_unsupported (line 1526) | def test_envelope_builder_unsupported(self, backend): class TestPKCS7DecryptUnsupported (line 1538) | class TestPKCS7DecryptUnsupported: method test_pkcs7_decrypt_unsupported (line 1539) | def test_pkcs7_decrypt_unsupported(self, backend): FILE: tests/hazmat/primitives/test_poly1305.py function test_poly1305_unsupported (line 29) | def test_poly1305_unsupported(backend): class TestPoly1305 (line 38) | class TestPoly1305: method test_vectors (line 45) | def test_vectors(self, vector, backend): method test_key_with_no_additional_references (line 56) | def test_key_with_no_additional_references(self, backend): method test_raises_after_finalize (line 60) | def test_raises_after_finalize(self, backend): method test_reject_unicode (line 70) | def test_reject_unicode(self, backend): method test_verify (line 78) | def test_verify(self, backend): method test_invalid_verify (line 92) | def test_invalid_verify(self, backend): method test_verify_reject_unicode (line 106) | def test_verify_reject_unicode(self, backend): method test_invalid_key_type (line 114) | def test_invalid_key_type(self, backend): method test_invalid_key_length (line 121) | def test_invalid_key_length(self, backend): method test_buffer_protocol (line 134) | def test_buffer_protocol(self, backend): FILE: tests/hazmat/primitives/test_rsa.py function rsa_key_512 (line 62) | def rsa_key_512() -> rsa.RSAPrivateKey: function rsa_key_2048 (line 67) | def rsa_key_2048() -> rsa.RSAPrivateKey: class DummyMGF (line 71) | class DummyMGF(padding.MGF): function _check_fips_key_length (line 76) | def _check_fips_key_length(backend, private_key): function _flatten_pkcs1_examples (line 84) | def _flatten_pkcs1_examples(vectors): function _build_oaep_sha2_vectors (line 95) | def _build_oaep_sha2_vectors(): function _skip_pss_hash_algorithm_unsupported (line 129) | def _skip_pss_hash_algorithm_unsupported(backend, hash_alg): function test_skip_pss_hash_algorithm_unsupported (line 138) | def test_skip_pss_hash_algorithm_unsupported(backend): function test_modular_inverse (line 143) | def test_modular_inverse(): class TestRSA (line 167) | class TestRSA: method test_generate_rsa_keys (line 175) | def test_generate_rsa_keys(self, backend, public_exponent, key_size): method test_generate_bad_public_exponent (line 188) | def test_generate_bad_public_exponent(self, backend): method test_cant_generate_insecure_tiny_key (line 204) | def test_cant_generate_insecure_tiny_key(self, backend): method test_load_pss_vect_example_keys (line 224) | def test_load_pss_vect_example_keys(self, pkcs1_example): method test_load_pss_keys_strips_constraints (line 265) | def test_load_pss_keys_strips_constraints(self, path, backend): method test_load_pss_pub_keys_strips_constraints (line 282) | def test_load_pss_pub_keys_strips_constraints(self, backend): method test_oaep_label_decrypt (line 315) | def test_oaep_label_decrypt(self, vector, backend): method test_oaep_label_roundtrip (line 351) | def test_oaep_label_roundtrip(self, rsa_key_2048, msg, label, backend): method test_oaep_wrong_label (line 385) | def test_oaep_wrong_label(self, rsa_key_2048, enclabel, declabel, back... class TestRSASignature (line 407) | class TestRSASignature: method test_pkcs1v15_signing (line 420) | def test_pkcs1v15_signing(self, backend, subtests): method test_pkcs1v15_signing_without_digest (line 459) | def test_pkcs1v15_signing_without_digest(self, backend, subtests): method test_pss_signing (line 516) | def test_pss_signing(self, subtests, backend): method test_pss_signing_without_digest (line 571) | def test_pss_signing_without_digest(self, backend, rsa_key_2048): method test_pss_sha2_max_length (line 595) | def test_pss_sha2_max_length(self, rsa_key_2048, hash_alg, backend): method test_pss_digest_length (line 615) | def test_pss_digest_length(self, rsa_key_2048, backend): method test_pss_minimum_key_size_for_digest (line 658) | def test_pss_minimum_key_size_for_digest(self, backend): method test_pss_signing_digest_too_large_for_key_size (line 685) | def test_pss_signing_digest_too_large_for_key_size( method test_pss_signing_salt_length_too_long (line 708) | def test_pss_signing_salt_length_too_long( method test_unsupported_padding (line 721) | def test_unsupported_padding( method test_padding_incorrect_type (line 728) | def test_padding_incorrect_type( method test_unsupported_pss_mgf (line 745) | def test_unsupported_pss_mgf( method test_pss_sign_unsupported_auto (line 768) | def test_pss_sign_unsupported_auto( method test_pkcs1_digest_too_large_for_key_size (line 789) | def test_pkcs1_digest_too_large_for_key_size(self, backend): method test_pkcs1_minimum_key_size (line 805) | def test_pkcs1_minimum_key_size(self, backend): method test_sign (line 818) | def test_sign(self, rsa_key_2048: rsa.RSAPrivateKey, message, backend): method test_prehashed_sign (line 832) | def test_prehashed_sign(self, rsa_key_2048: rsa.RSAPrivateKey, backend): method test_prehashed_digest_length (line 853) | def test_prehashed_digest_length( method test_unsupported_hash (line 882) | def test_unsupported_hash(self, rsa_key_2048: rsa.RSAPrivateKey, backe... method test_unsupported_hash_pss_mgf1 (line 895) | def test_unsupported_hash_pss_mgf1(self, rsa_key_2048: rsa.RSAPrivateK... method test_prehashed_digest_mismatch (line 910) | def test_prehashed_digest_mismatch( method test_prehashed_unsupported_in_signature_recover (line 923) | def test_prehashed_unsupported_in_signature_recover( method test_corrupted_private_key (line 939) | def test_corrupted_private_key(self, backend): class TestRSAVerification (line 946) | class TestRSAVerification: method test_pkcs1v15_verification (line 959) | def test_pkcs1v15_verification(self, backend, subtests): method test_invalid_pkcs1v15_signature_wrong_data (line 1000) | def test_invalid_pkcs1v15_signature_wrong_data( method test_invalid_pkcs1v15_signature_recover_wrong_hash_alg (line 1016) | def test_invalid_pkcs1v15_signature_recover_wrong_hash_alg( method test_invalid_signature_sequence_removed (line 1029) | def test_invalid_signature_sequence_removed(self, backend): method test_invalid_pkcs1v15_signature_wrong_key (line 1071) | def test_invalid_pkcs1v15_signature_wrong_key( method test_pss_verification (line 1098) | def test_pss_verification(self, subtests, backend): method test_pss_verify_auto_salt_length (line 1130) | def test_pss_verify_auto_salt_length( method test_invalid_pss_signature_wrong_data (line 1162) | def test_invalid_pss_signature_wrong_data(self, backend): method test_invalid_pss_signature_wrong_key (line 1197) | def test_invalid_pss_signature_wrong_key(self, backend): method test_invalid_pss_signature_data_too_large_for_modulus (line 1234) | def test_invalid_pss_signature_data_too_large_for_modulus(self, backend): method test_invalid_pss_signature_recover (line 1261) | def test_invalid_pss_signature_recover( method test_unsupported_padding (line 1284) | def test_unsupported_padding( method test_padding_incorrect_type (line 1294) | def test_padding_incorrect_type( method test_unsupported_pss_mgf (line 1313) | def test_unsupported_pss_mgf( method test_pss_verify_digest_too_large_for_key_size (line 1342) | def test_pss_verify_digest_too_large_for_key_size( method test_pss_verify_salt_length_too_long (line 1372) | def test_pss_verify_salt_length_too_long(self, backend): method test_verify (line 1406) | def test_verify(self, rsa_key_2048: rsa.RSAPrivateKey, message, backend): method test_prehashed_verify (line 1414) | def test_prehashed_verify(self, rsa_key_2048: rsa.RSAPrivateKey, backe... method test_prehashed_digest_mismatch (line 1426) | def test_prehashed_digest_mismatch( class TestRSAPSSMGF1Verification (line 1440) | class TestRSAPSSMGF1Verification: class TestRSAPKCS1Verification (line 1582) | class TestRSAPKCS1Verification: class TestPSS (line 1704) | class TestPSS: method test_calculate_max_pss_salt_length (line 1705) | def test_calculate_max_pss_salt_length(self): method test_invalid_salt_length_not_integer (line 1712) | def test_invalid_salt_length_not_integer(self): method test_invalid_salt_length_negative_integer (line 1719) | def test_invalid_salt_length_negative_integer(self): method test_valid_pss_parameters (line 1723) | def test_valid_pss_parameters(self): method test_valid_pss_parameters_maximum (line 1731) | def test_valid_pss_parameters_maximum(self): method test_mgf_property (line 1738) | def test_mgf_property(self): class TestMGF1 (line 1746) | class TestMGF1: method test_invalid_hash_algorithm (line 1747) | def test_invalid_hash_algorithm(self): method test_valid_mgf1_parameters (line 1751) | def test_valid_mgf1_parameters(self): class TestOAEP (line 1757) | class TestOAEP: method test_invalid_algorithm (line 1758) | def test_invalid_algorithm(self): method test_algorithm_property (line 1767) | def test_algorithm_property(self): method test_mgf_property (line 1774) | def test_mgf_property(self): class TestRSADecryption (line 1782) | class TestRSADecryption: method test_decrypt_pkcs1v15_vectors (line 1789) | def test_decrypt_pkcs1v15_vectors(self, backend, subtests): method test_unsupported_padding (line 1814) | def test_unsupported_padding( method test_decrypt_invalid_decrypt (line 1828) | def test_decrypt_invalid_decrypt( method test_decrypt_ciphertext_too_large (line 1841) | def test_decrypt_ciphertext_too_large( method test_decrypt_ciphertext_too_small (line 1854) | def test_decrypt_ciphertext_too_small( method test_decrypt_oaep_sha1_vectors (line 1875) | def test_decrypt_oaep_sha1_vectors(self, subtests, backend): method test_decrypt_oaep_sha2_vectors (line 1906) | def test_decrypt_oaep_sha2_vectors(self, backend, subtests): method test_invalid_oaep_decryption (line 1947) | def test_invalid_oaep_decryption( method test_invalid_oaep_decryption_data_to_large_for_modulus (line 1988) | def test_invalid_oaep_decryption_data_to_large_for_modulus(self, backe... method test_unsupported_oaep_hash (line 2018) | def test_unsupported_oaep_hash(self, rsa_key_2048: rsa.RSAPrivateKey): method test_unsupported_oaep_mgf (line 2039) | def test_unsupported_oaep_mgf( class TestRSAEncryption (line 2054) | class TestRSAEncryption: method test_rsa_encrypt_oaep (line 2089) | def test_rsa_encrypt_oaep(self, key_data, pad, backend): method test_rsa_encrypt_oaep_sha2 (line 2119) | def test_rsa_encrypt_oaep_sha2( method test_rsa_encrypt_pkcs1v15 (line 2165) | def test_rsa_encrypt_pkcs1v15(self, key_data, pad, backend): method test_rsa_encrypt_key_too_small (line 2201) | def test_rsa_encrypt_key_too_small(self, key_data, pad, backend): method test_rsa_fips_small_key (line 2219) | def test_rsa_fips_small_key(self, rsa_key_512: rsa.RSAPrivateKey, back... method test_unsupported_padding (line 2225) | def test_unsupported_padding( method test_unsupported_oaep_mgf (line 2239) | def test_unsupported_oaep_mgf( class TestRSANumbers (line 2256) | class TestRSANumbers: method test_rsa_public_numbers (line 2257) | def test_rsa_public_numbers(self): method test_rsa_private_numbers (line 2262) | def test_rsa_private_numbers(self): method test_rsa_private_numbers_create_key (line 2282) | def test_rsa_private_numbers_create_key(self, backend): method test_rsa_public_numbers_create_key (line 2288) | def test_rsa_public_numbers_create_key(self, backend): method test_public_numbers_invalid_types (line 2295) | def test_public_numbers_invalid_types(self): method test_private_numbers_invalid_types (line 2314) | def test_private_numbers_invalid_types( method test_invalid_public_numbers_argument_values (line 2337) | def test_invalid_public_numbers_argument_values(self, e, n, backend): method test_invalid_private_numbers_argument_values (line 2362) | def test_invalid_private_numbers_argument_values( method test_public_number_repr (line 2380) | def test_public_number_repr(self): class TestRSANumbersEquality (line 2385) | class TestRSANumbersEquality: method test_public_numbers_eq (line 2386) | def test_public_numbers_eq(self): method test_public_numbers_ne (line 2391) | def test_public_numbers_ne(self): method test_private_numbers_eq (line 2397) | def test_private_numbers_eq(self): method test_private_numbers_ne (line 2404) | def test_private_numbers_ne(self): method test_public_numbers_hash (line 2433) | def test_public_numbers_hash(self): method test_private_numbers_hash (line 2441) | def test_private_numbers_hash(self): class TestRSAPrimeFactorRecovery (line 2450) | class TestRSAPrimeFactorRecovery: method test_recover_prime_factors (line 2451) | def test_recover_prime_factors(self, subtests): method test_invalid_recover_prime_factors (line 2478) | def test_invalid_recover_prime_factors(self): class TestRSAPartial (line 2489) | class TestRSAPartial: method test_rsa_partial (line 2490) | def test_rsa_partial(self): class TestRSAPrivateKeySerialization (line 2511) | class TestRSAPrivateKeySerialization: method test_private_bytes_encrypted_pem (line 2527) | def test_private_bytes_encrypted_pem( method test_traditional_serialization_fips (line 2549) | def test_traditional_serialization_fips( method test_private_bytes_rejects_invalid (line 2569) | def test_private_bytes_rejects_invalid( method test_private_bytes_encrypted_der (line 2585) | def test_private_bytes_encrypted_der( method test_private_bytes_unencrypted (line 2627) | def test_private_bytes_unencrypted( method test_private_bytes_traditional_openssl_unencrypted (line 2668) | def test_private_bytes_traditional_openssl_unencrypted( method test_private_bytes_traditional_der_encrypted_invalid (line 2684) | def test_private_bytes_traditional_der_encrypted_invalid( method test_private_bytes_invalid_encoding (line 2695) | def test_private_bytes_invalid_encoding( method test_private_bytes_invalid_format (line 2706) | def test_private_bytes_invalid_format( method test_private_bytes_invalid_encryption_algorithm (line 2717) | def test_private_bytes_invalid_encryption_algorithm( method test_private_bytes_unsupported_encryption_type (line 2728) | def test_private_bytes_unsupported_encryption_type( class TestRSAPEMPublicKeySerialization (line 2740) | class TestRSAPEMPublicKeySerialization: method test_public_bytes_match (line 2774) | def test_public_bytes_match( method test_public_bytes_openssh (line 2784) | def test_public_bytes_openssh(self, backend): method test_public_bytes_invalid_encoding (line 2821) | def test_public_bytes_invalid_encoding( method test_public_bytes_invalid_format (line 2831) | def test_public_bytes_invalid_format( method test_public_bytes_rejects_invalid (line 2864) | def test_public_bytes_rejects_invalid( method test_public_key_equality (line 2871) | def test_public_key_equality(self, rsa_key_2048: rsa.RSAPrivateKey): method test_public_key_copy (line 2885) | def test_public_key_copy(self, rsa_key_2048: rsa.RSAPrivateKey): method test_private_key_copy (line 2891) | def test_private_key_copy(self, rsa_key_2048: rsa.RSAPrivateKey): method test_public_key_deepcopy (line 2897) | def test_public_key_deepcopy( method test_private_key_deepcopy (line 2909) | def test_private_key_deepcopy( FILE: tests/hazmat/primitives/test_scrypt.py function _skip_if_memory_limited (line 24) | def _skip_if_memory_limited(memory_limit, params): function test_memory_limit_skip (line 38) | def test_memory_limit_skip(): function test_unsupported_backend (line 49) | def test_unsupported_backend(backend): class TestScrypt (line 60) | class TestScrypt: method test_derive (line 62) | def test_derive(self, backend, params): method test_salt_not_bytes (line 82) | def test_salt_not_bytes(self, backend): method test_scrypt_malloc_failure (line 99) | def test_scrypt_malloc_failure(self, backend): method test_password_not_bytes (line 119) | def test_password_not_bytes(self, backend): method test_buffer_protocol (line 139) | def test_buffer_protocol(self, backend): method test_verify (line 159) | def test_verify(self, backend, params): method test_invalid_verify (line 179) | def test_invalid_verify(self, backend): method test_already_finalized (line 200) | def test_already_finalized(self, backend): method test_invalid_n (line 220) | def test_invalid_n(self, backend): method test_invalid_r (line 229) | def test_invalid_r(self, backend): method test_invalid_p (line 233) | def test_invalid_p(self, backend): method test_derive_into (line 237) | def test_derive_into(self, backend): method test_derive_into_buffer_incorrect_size (line 250) | def test_derive_into_buffer_incorrect_size(self, buflen, outlen, backe... method test_derive_into_already_finalized (line 256) | def test_derive_into_already_finalized(self, backend): FILE: tests/hazmat/primitives/test_serialization.py function _skip_fips_format (line 53) | def _skip_fips_format(key_path, password, backend): class TestBufferProtocolSerialization (line 72) | class TestBufferProtocolSerialization: method test_load_der_rsa_private_key (line 82) | def test_load_der_rsa_private_key(self, key_path, password, backend): method test_load_pem_rsa_private_key (line 112) | def test_load_pem_rsa_private_key(self, key_path, password, backend): class TestDERSerialization (line 127) | class TestDERSerialization: method test_load_der_rsa_private_key (line 137) | def test_load_der_rsa_private_key(self, key_path, password, backend): method test_load_der_dsa_private_key (line 163) | def test_load_der_dsa_private_key(self, key_path, password, backend): method test_password_not_bytes (line 178) | def test_password_not_bytes(self, key_path, backend): method test_load_der_ec_private_key (line 200) | def test_load_der_ec_private_key(self, key_path, password, backend): method test_wrong_password (line 218) | def test_wrong_password(self, key_path, backend): method test_unused_password (line 234) | def test_unused_password(self, key_path, backend): method test_missing_password (line 253) | def test_missing_password(self, key_path, password, backend): method test_wrong_format (line 265) | def test_wrong_format(self, backend): method test_invalid_rsa_even_q (line 276) | def test_invalid_rsa_even_q(self, backend): method test_corrupt_der_pkcs8 (line 287) | def test_corrupt_der_pkcs8(self, backend): method test_corrupt_traditional_format_der (line 316) | def test_corrupt_traditional_format_der(self, backend): method test_load_der_rsa_public_key (line 350) | def test_load_der_rsa_public_key(self, key_file, backend): method test_load_der_invalid_public_key (line 361) | def test_load_der_invalid_public_key(self, backend): method test_load_der_dsa_public_key (line 380) | def test_load_der_dsa_public_key(self, key_file, backend): method test_load_ec_public_key (line 389) | def test_load_ec_public_key(self, backend): method test_wrong_parameters_format (line 407) | def test_wrong_parameters_format(self, backend): method test_load_pkcs8_private_key_invalid_version (line 413) | def test_load_pkcs8_private_key_invalid_version(self): method test_load_pkcs8_private_key_unknown_oid (line 422) | def test_load_pkcs8_private_key_unknown_oid(self): method test_load_pkcs8_private_key_3des_encryption (line 432) | def test_load_pkcs8_private_key_3des_encryption(self): method test_load_pkcs8_private_key_unknown_encryption_algorithm (line 441) | def test_load_pkcs8_private_key_unknown_encryption_algorithm(self): method test_load_pkcs8_private_key_unknown_pbkdf2_prf (line 450) | def test_load_pkcs8_private_key_unknown_pbkdf2_prf(self): method test_load_pkcs8_private_key_unknown_kdf (line 459) | def test_load_pkcs8_private_key_unknown_kdf(self): method test_load_pkcs8_private_key_pbkdf2_zero_iterations (line 468) | def test_load_pkcs8_private_key_pbkdf2_zero_iterations(self): method test_load_pkcs8_pbes_long_salt (line 480) | def test_load_pkcs8_pbes_long_salt(self): method test_load_pkscs8_pbkdf_prf (line 502) | def test_load_pkscs8_pbkdf_prf(self, filename: str): method test_load_pkcs8_40_bit_rc2 (line 521) | def test_load_pkcs8_40_bit_rc2(self): method test_load_pkcs8_rc2_cbc (line 540) | def test_load_pkcs8_rc2_cbc(self): method test_load_pkcs8_rc2_cbc_effective_key_length (line 557) | def test_load_pkcs8_rc2_cbc_effective_key_length(self): method test_load_pkcs8_rc4_sha1_128bit (line 574) | def test_load_pkcs8_rc4_sha1_128bit(self): method test_load_pkcs8_aes_192_cbc (line 583) | def test_load_pkcs8_aes_192_cbc(self): method test_load_pkcs8_scrypt (line 596) | def test_load_pkcs8_scrypt(self): method test_load_pkcs8_pbe_with_md5_and_des_cbc (line 611) | def test_load_pkcs8_pbe_with_md5_and_des_cbc(self): class TestPEMSerialization (line 621) | class TestPEMSerialization: method test_load_pem_rsa_private_key (line 648) | def test_load_pem_rsa_private_key(self, key_file, password, backend): method test_load_dsa_private_key (line 677) | def test_load_dsa_private_key(self, key_path, password, backend): method test_load_pem_ec_private_key (line 698) | def test_load_pem_ec_private_key(self, key_path, password, backend): method test_load_pem_rsa_public_key (line 728) | def test_load_pem_rsa_public_key(self, key_file, backend): method test_load_pem_public_fails_with_ec_key_with_rsa_delimiter (line 740) | def test_load_pem_public_fails_with_ec_key_with_rsa_delimiter(self): method test_load_priv_key_with_public_key_api_fails (line 751) | def test_load_priv_key_with_public_key_api_fails( method test_load_pem_dsa_public_key (line 780) | def test_load_pem_dsa_public_key(self, key_file, backend): method test_load_ec_public_key (line 790) | def test_load_ec_public_key(self, backend): method test_rsa_traditional_encrypted_values (line 808) | def test_rsa_traditional_encrypted_values(self, backend): method test_unused_password (line 888) | def test_unused_password(self, key_path, backend): method test_invalid_encoding_with_traditional (line 900) | def test_invalid_encoding_with_traditional(self, backend): method test_password_not_bytes (line 925) | def test_password_not_bytes(self, key_path, backend): method test_wrong_password (line 946) | def test_wrong_password(self, key_path, backend): method test_missing_password (line 968) | def test_missing_password(self, key_path, password, backend): method test_wrong_private_format (line 979) | def test_wrong_private_format(self, backend): method test_wrong_public_format (line 990) | def test_wrong_public_format(self, backend): method test_wrong_parameters_format (line 1000) | def test_wrong_parameters_format(self, backend): method test_corrupt_traditional_format (line 1006) | def test_corrupt_traditional_format(self, backend): method test_traditional_encrypted_corrupt_format (line 1029) | def test_traditional_encrypted_corrupt_format(self, backend): method test_unsupported_key_encryption (line 1056) | def test_unsupported_key_encryption(self, backend): method test_corrupt_pkcs8_format (line 1079) | def test_corrupt_pkcs8_format(self, backend): method test_pks8_encrypted_corrupt_format (line 1109) | def test_pks8_encrypted_corrupt_format(self, backend): method test_rsa_pkcs8_encrypted_values (line 1142) | def test_rsa_pkcs8_encrypted_values(self, backend): method test_load_pem_dsa_private_key (line 1214) | def test_load_pem_dsa_private_key(self, backend): method test_load_bad_oid_key (line 1265) | def test_load_bad_oid_key(self, key_file, password, backend): method test_load_bad_encryption_oid_key (line 1277) | def test_load_bad_encryption_oid_key(self, key_file, password, backend): method test_encrypted_pkcs8_non_utf_password (line 1286) | def test_encrypted_pkcs8_non_utf_password(self): method test_rsa_private_key_invalid_version (line 1295) | def test_rsa_private_key_invalid_version(self): method test_dsa_private_key_invalid_version (line 1308) | def test_dsa_private_key_invalid_version(self): method test_pem_encryption_missing_dek_info (line 1321) | def test_pem_encryption_missing_dek_info(self): method test_pem_encryption_malformed_dek_info (line 1334) | def test_pem_encryption_malformed_dek_info(self): method test_pem_encryption_malformed_iv (line 1347) | def test_pem_encryption_malformed_iv(self): method test_pem_encryption_short_iv (line 1360) | def test_pem_encryption_short_iv(self): method test_pkcs8_key_with_wrong_pem_delimiter (line 1373) | def test_pkcs8_key_with_wrong_pem_delimiter(self): class TestKeySerializationEncryptionTypes (line 1392) | class TestKeySerializationEncryptionTypes: method test_non_bytes_password (line 1393) | def test_non_bytes_password(self): method test_encryption_with_zero_length_password (line 1397) | def test_encryption_with_zero_length_password(self): class TestEd25519Serialization (line 1406) | class TestEd25519Serialization: method test_load_der_private_key (line 1407) | def test_load_der_private_key(self, backend): method test_load_pem_private_key (line 1426) | def test_load_pem_private_key(self, backend): method test_load_public_key (line 1460) | def test_load_public_key(self, key_path, encoding, loader, backend): method test_openssl_serialization_unsupported (line 1474) | def test_openssl_serialization_unsupported(self, backend): class TestX448Serialization (line 1494) | class TestX448Serialization: method test_load_der_private_key (line 1495) | def test_load_der_private_key(self, backend): method test_load_pem_private_key (line 1514) | def test_load_pem_private_key(self, backend): method test_load_public_key (line 1540) | def test_load_public_key(self, key_path, encoding, loader, backend): method test_openssl_serialization_unsupported (line 1554) | def test_openssl_serialization_unsupported(self, backend): method test_openssh_serialization_unsupported (line 1569) | def test_openssh_serialization_unsupported(self, backend): class TestX25519Serialization (line 1585) | class TestX25519Serialization: method test_load_der_private_key (line 1586) | def test_load_der_private_key(self, backend): method test_load_pem_private_key (line 1605) | def test_load_pem_private_key(self, backend): method test_load_public_key (line 1631) | def test_load_public_key(self, key_path, encoding, loader, backend): method test_openssl_serialization_unsupported (line 1645) | def test_openssl_serialization_unsupported(self, backend): method test_openssh_serialization_unsupported (line 1660) | def test_openssh_serialization_unsupported(self, backend): class TestEd448Serialization (line 1676) | class TestEd448Serialization: method test_load_der_private_key (line 1677) | def test_load_der_private_key(self, backend): method test_load_pem_private_key (line 1696) | def test_load_pem_private_key(self, backend): method test_load_public_key (line 1722) | def test_load_public_key(self, key_path, encoding, loader, backend): method test_openssl_serialization_unsupported (line 1736) | def test_openssl_serialization_unsupported(self, backend): method test_openssh_serialization_unsupported (line 1751) | def test_openssh_serialization_unsupported(self, backend): class TestDHSerialization (line 1770) | class TestDHSerialization: method test_dh_public_key (line 1774) | def test_dh_public_key(self, backend): method test_dh_private_key (line 1806) | def test_dh_private_key(self, backend): class TestEncryptionBuilder (line 1835) | class TestEncryptionBuilder: method test_unsupported_format (line 1836) | def test_unsupported_format(self): method test_duplicate_kdf_rounds (line 1841) | def test_duplicate_kdf_rounds(self): method test_invalid_kdf_rounds (line 1846) | def test_invalid_kdf_rounds(self): method test_invalid_password (line 1855) | def test_invalid_password(self): method test_unsupported_type_for_methods (line 1862) | def test_unsupported_type_for_methods(self): method test_duplicate_hmac_hash (line 1869) | def test_duplicate_hmac_hash(self): method test_duplicate_key_cert_algorithm (line 1874) | def test_duplicate_key_cert_algorithm(self): FILE: tests/hazmat/primitives/test_sm4.py class TestSM4ModeECB (line 24) | class TestSM4ModeECB: class TestSM4ModeCBC (line 40) | class TestSM4ModeCBC: class TestSM4ModeOFB (line 56) | class TestSM4ModeOFB: class TestSM4ModeCFB (line 72) | class TestSM4ModeCFB: class TestSM4ModeCTR (line 88) | class TestSM4ModeCTR: class TestSM4ModeGCM (line 104) | class TestSM4ModeGCM: method test_encryption (line 112) | def test_encryption(self, vector, backend): method test_decryption (line 134) | def test_decryption(self, vector, backend): method test_invalid_tag (line 163) | def test_invalid_tag(self, vector, backend): FILE: tests/hazmat/primitives/test_ssh.py class TestOpenSSHSerialization (line 52) | class TestOpenSSHSerialization: method test_load_ssh_public_key (line 70) | def test_load_ssh_public_key(self, key_file, cert_file, backend): method run_partial_pubkey (line 153) | def run_partial_pubkey(self, pubdata, backend): method test_load_ssh_private_key (line 176) | def test_load_ssh_private_key(self, key_file, backend): method test_load_unsupported_ssh_private_key (line 275) | def test_load_unsupported_ssh_private_key(self, key_file): method test_load_ssh_private_key_invalid_tag (line 292) | def test_load_ssh_private_key_invalid_tag(self, backend): method test_load_ssh_private_key_tag_incorrect_length (line 315) | def test_load_ssh_private_key_tag_incorrect_length(self, backend): method test_bcrypt_encryption (line 330) | def test_bcrypt_encryption(self, backend): method test_missing_bcrypt (line 389) | def test_missing_bcrypt(self, backend): method test_fraglist_corners (line 406) | def test_fraglist_corners(self): method make_file (line 414) | def make_file( method test_ssh_make_file (line 466) | def test_ssh_make_file(self, backend): method test_load_ssh_private_key_errors (line 472) | def test_load_ssh_private_key_errors(self, backend): method test_ssh_errors_bad_values (line 498) | def test_ssh_errors_bad_values(self, backend): method test_ssh_errors_pubpriv_mismatch (line 516) | def test_ssh_errors_pubpriv_mismatch(self, backend): method test_ssh_errors_bad_wrapper (line 570) | def test_ssh_errors_bad_wrapper(self, backend): method test_ssh_no_padding (line 581) | def test_ssh_no_padding(self, backend): method test_ssh_errors_bad_secrets (line 602) | def test_ssh_errors_bad_secrets(self, backend): method test_ssh_errors_unencrypted_with_password (line 616) | def test_ssh_errors_unencrypted_with_password(self): method test_serialize_ssh_private_key_errors_bad_curve (line 631) | def test_serialize_ssh_private_key_errors_bad_curve(self, backend): method test_serialize_ssh_private_key_errors (line 638) | def test_serialize_ssh_private_key_errors( method test_serialize_ssh_private_key_with_password (line 691) | def test_serialize_ssh_private_key_with_password( method test_dsa_private_key_sizes (line 739) | def test_dsa_private_key_sizes(self, key_path, supported, backend): class TestRSASSHSerialization (line 762) | class TestRSASSHSerialization: method test_load_ssh_public_key_unsupported (line 763) | def test_load_ssh_public_key_unsupported(self, backend): method test_load_ssh_public_key_bad_format (line 769) | def test_load_ssh_public_key_bad_format(self, backend): method test_load_ssh_public_key_rsa_too_short (line 775) | def test_load_ssh_public_key_rsa_too_short(self, backend): method test_load_ssh_public_key_truncated_int (line 781) | def test_load_ssh_public_key_truncated_int(self, backend): method test_load_ssh_public_key_rsa_comment_with_spaces (line 792) | def test_load_ssh_public_key_rsa_comment_with_spaces(self, backend): method test_load_ssh_public_key_rsa_extra_data_after_modulo (line 806) | def test_load_ssh_public_key_rsa_extra_data_after_modulo(self, backend): method test_load_ssh_public_key_rsa_different_string (line 820) | def test_load_ssh_public_key_rsa_different_string(self, backend): method test_load_ssh_public_key_rsa (line 836) | def test_load_ssh_public_key_rsa(self, backend): method test_unsafe_skip_rsa_key_validation (line 873) | def test_unsafe_skip_rsa_key_validation(self): class TestDSSSSHSerialization (line 884) | class TestDSSSSHSerialization: method test_load_ssh_public_key_dss_too_short (line 885) | def test_load_ssh_public_key_dss_too_short(self, backend): method test_load_ssh_public_key_dss_comment_with_spaces (line 891) | def test_load_ssh_public_key_dss_comment_with_spaces(self, backend): method test_load_ssh_public_key_dss_extra_data_after_modulo (line 908) | def test_load_ssh_public_key_dss_extra_data_after_modulo(self, backend): method test_load_ssh_public_key_dss_different_string (line 925) | def test_load_ssh_public_key_dss_different_string(self, backend): method test_load_ssh_public_key_dss (line 944) | def test_load_ssh_public_key_dss(self, backend): class TestECDSASSHSerialization (line 999) | class TestECDSASSHSerialization: method test_load_ssh_public_key_ecdsa_nist_p256 (line 1000) | def test_load_ssh_public_key_ecdsa_nist_p256(self, backend): method test_load_ssh_public_key_byteslike (line 1026) | def test_load_ssh_public_key_byteslike(self, backend): method test_load_ssh_public_key_ecdsa_nist_p384 (line 1038) | def test_load_ssh_public_key_ecdsa_nist_p384(self, backend): method test_load_ssh_public_key_ecdsa_nist_p521 (line 1064) | def test_load_ssh_public_key_ecdsa_nist_p521(self, backend): method test_load_ssh_public_key_ecdsa_nist_p256_trailing_data (line 1093) | def test_load_ssh_public_key_ecdsa_nist_p256_trailing_data(self, backe... method test_load_ssh_public_key_ecdsa_nist_p256_missing_data (line 1102) | def test_load_ssh_public_key_ecdsa_nist_p256_missing_data(self, backend): method test_load_ssh_public_key_ecdsa_nist_p256_compressed (line 1111) | def test_load_ssh_public_key_ecdsa_nist_p256_compressed(self, backend): method test_load_ssh_public_key_ecdsa_nist_p256_empty_point (line 1122) | def test_load_ssh_public_key_ecdsa_nist_p256_empty_point(self, backend): method test_load_ssh_public_key_ecdsa_nist_p256_bad_curve_name (line 1132) | def test_load_ssh_public_key_ecdsa_nist_p256_bad_curve_name(self, back... class TestEd25519SSHSerialization (line 1147) | class TestEd25519SSHSerialization: method test_load_ssh_public_key (line 1148) | def test_load_ssh_public_key(self, backend): method test_public_bytes_openssh (line 1160) | def test_public_bytes_openssh(self, backend): method test_load_ssh_public_key_not_32_bytes (line 1171) | def test_load_ssh_public_key_not_32_bytes(self, backend): method test_load_ssh_public_key_trailing_data (line 1179) | def test_load_ssh_public_key_trailing_data(self, backend): class TestSSHCertificate (line 1188) | class TestSSHCertificate: method test_loads_ssh_cert (line 1193) | def test_loads_ssh_cert(self, backend): method test_verify_cert_signature (line 1251) | def test_verify_cert_signature(self, filename, backend): method test_invalid_signature (line 1275) | def test_invalid_signature(self, filename, backend): method test_not_bytes (line 1292) | def test_not_bytes(self): method test_load_ssh_public_key (line 1298) | def test_load_ssh_public_key(self): method test_dsa_unsupported (line 1310) | def test_dsa_unsupported(self, filename): method test_mismatched_inner_signature_type_and_sig_type (line 1319) | def test_mismatched_inner_signature_type_and_sig_type(self): method test_invalid_cert_type (line 1333) | def test_invalid_cert_type(self): method test_invalid_encodings (line 1358) | def test_invalid_encodings(self, filename): method test_invalid_line_format (line 1367) | def test_invalid_line_format(self): method test_invalid_b64 (line 1371) | def test_invalid_b64(self): method test_inner_outer_key_type_mismatch (line 1375) | def test_inner_outer_key_type_mismatch(self): method test_loads_a_cert_empty_principals (line 1394) | def test_loads_a_cert_empty_principals(self): method test_public_bytes (line 1411) | def test_public_bytes(self): class TestSSHCertificateBuilder (line 1427) | class TestSSHCertificateBuilder: method test_signs_a_cert (line 1428) | def test_signs_a_cert(self): method test_public_key_errors (line 1474) | def test_public_key_errors(self): method test_serial_errors (line 1483) | def test_serial_errors(self): method test_type_errors (line 1495) | def test_type_errors(self): method test_key_id_errors (line 1503) | def test_key_id_errors(self): method test_valid_principals_errors (line 1511) | def test_valid_principals_errors(self): method test_valid_for_all_principals_errors (line 1531) | def test_valid_for_all_principals_errors(self): method test_valid_before_errors (line 1539) | def test_valid_before_errors(self): method test_valid_after_errors (line 1551) | def test_valid_after_errors(self): method test_add_critical_option_errors (line 1563) | def test_add_critical_option_errors(self): method test_add_extension_errors (line 1579) | def test_add_extension_errors(self): method test_sign_unsupported_key (line 1592) | def test_sign_unsupported_key(self): method test_sign_no_public_key (line 1603) | def test_sign_no_public_key(self): method test_sign_no_type (line 1615) | def test_sign_no_type(self): method test_sign_no_valid_principals (line 1627) | def test_sign_no_valid_principals(self): method test_sign_no_valid_after (line 1639) | def test_sign_no_valid_after(self): method test_sign_no_valid_before (line 1651) | def test_sign_no_valid_before(self): method test_sign_valid_after_after_valid_before (line 1663) | def test_sign_valid_after_after_valid_before(self): method test_sign_non_zero_serial (line 1676) | def test_sign_non_zero_serial(self): method test_crit_opts_exts_lexically_sorted (line 1690) | def test_crit_opts_exts_lexically_sorted(self): method test_sign_ed25519 (line 1725) | def test_sign_ed25519(self, backend): method test_sign_ec (line 1742) | def test_sign_ec(self, curve): method test_sign_rsa (line 1758) | def test_sign_rsa(self): method test_sign_and_byte_compare_rsa (line 1773) | def test_sign_and_byte_compare_rsa(self, monkeypatch): method test_sign_and_byte_compare_ed25519 (line 1825) | def test_sign_and_byte_compare_ed25519(self, monkeypatch, backend): class TestSSHSK (line 1868) | class TestSSHSK: method ssh_str (line 1870) | def ssh_str(application): method test_load_application (line 1877) | def test_load_application(self): method test_load_application_valueerror (line 1880) | def test_load_application_valueerror(self): class TestSSHKeyFingerprint (line 1885) | class TestSSHKeyFingerprint: method test_ssh_key_fingerprint_rsa_md5 (line 1890) | def test_ssh_key_fingerprint_rsa_md5(self): method test_ssh_key_fingerprint_rsa_sha256 (line 1900) | def test_ssh_key_fingerprint_rsa_sha256(self): method test_ssh_key_fingerprint_ed25519_md5 (line 1920) | def test_ssh_key_fingerprint_ed25519_md5(self): method test_ssh_key_fingerprint_ed25519_sha256 (line 1934) | def test_ssh_key_fingerprint_ed25519_sha256(self): method test_ssh_key_fingerprint_ecdsa_md5 (line 1951) | def test_ssh_key_fingerprint_ecdsa_md5(self): method test_ssh_key_fingerprint_ecdsa_sha256 (line 1961) | def test_ssh_key_fingerprint_ecdsa_sha256(self): method test_ssh_key_fingerprint_unsupported_hash (line 1974) | def test_ssh_key_fingerprint_unsupported_hash(self): method test_ssh_key_fingerprint_unsupported_key (line 1984) | def test_ssh_key_fingerprint_unsupported_key(self): FILE: tests/hazmat/primitives/test_x25519.py function test_x25519_unsupported (line 33) | def test_x25519_unsupported(backend): class TestX25519Exchange (line 48) | class TestX25519Exchange: method test_rfc7748 (line 56) | def test_rfc7748(self, vector, backend): method test_rfc7748_1000_iteration (line 65) | def test_rfc7748_1000_iteration(self, backend): method test_null_shared_key_raises_error (line 84) | def test_null_shared_key_raises_error(self, backend): method test_public_bytes_bad_args (line 99) | def test_public_bytes_bad_args(self, backend): method test_pub_priv_bytes_raw (line 148) | def test_pub_priv_bytes_raw(self, private_bytes, public_bytes, backend): method test_generate (line 175) | def test_generate(self, backend): method test_invalid_type_exchange (line 180) | def test_invalid_type_exchange(self, backend): method test_invalid_length_from_public_bytes (line 185) | def test_invalid_length_from_public_bytes(self, backend): method test_invalid_length_from_private_bytes (line 192) | def test_invalid_length_from_private_bytes(self, backend): method test_invalid_private_bytes (line 199) | def test_invalid_private_bytes(self, backend): method test_invalid_public_bytes (line 266) | def test_invalid_public_bytes(self, backend): method test_round_trip_private_serialization (line 317) | def test_round_trip_private_serialization( method test_invalid_public_key_pem (line 325) | def test_invalid_public_key_pem(self): method test_buffer_protocol (line 334) | def test_buffer_protocol(self, backend): function test_public_key_equality (line 351) | def test_public_key_equality(backend): function test_public_key_copy (line 371) | def test_public_key_copy(backend): function test_public_key_deepcopy (line 387) | def test_public_key_deepcopy(backend): function test_private_key_copy (line 406) | def test_private_key_copy(backend): function test_private_key_deepcopy (line 422) | def test_private_key_deepcopy(backend): FILE: tests/hazmat/primitives/test_x448.py function test_x448_unsupported (line 32) | def test_x448_unsupported(backend): class TestX448Exchange (line 47) | class TestX448Exchange: method test_rfc7748 (line 55) | def test_rfc7748(self, vector, backend): method test_rfc7748_1000_iteration (line 64) | def test_rfc7748_1000_iteration(self, backend): method test_pub_priv_bytes_raw (line 112) | def test_pub_priv_bytes_raw(self, private_bytes, public_bytes, backend): method test_round_trip_private_serialization (line 172) | def test_round_trip_private_serialization( method test_generate (line 180) | def test_generate(self, backend): method test_invalid_type_exchange (line 185) | def test_invalid_type_exchange(self, backend): method test_invalid_length_from_public_bytes (line 190) | def test_invalid_length_from_public_bytes(self, backend): method test_invalid_length_from_private_bytes (line 197) | def test_invalid_length_from_private_bytes(self, backend): method test_invalid_private_bytes (line 204) | def test_invalid_private_bytes(self, backend): method test_invalid_public_bytes (line 233) | def test_invalid_public_bytes(self, backend): method test_invalid_public_key_pem (line 251) | def test_invalid_public_key_pem(self): method test_buffer_protocol (line 260) | def test_buffer_protocol(self, backend): function test_public_key_equality (line 280) | def test_public_key_equality(backend): function test_public_key_copy (line 300) | def test_public_key_copy(backend): function test_public_key_deepcopy (line 316) | def test_public_key_deepcopy(backend): function test_private_key_copy (line 332) | def test_private_key_copy(backend): function test_private_key_deepcopy (line 348) | def test_private_key_deepcopy(backend): FILE: tests/hazmat/primitives/test_x963_vectors.py function _skip_hashfn_unsupported (line 19) | def _skip_hashfn_unsupported(backend, hashfn): class TestX963 (line 26) | class TestX963: method test_x963 (line 37) | def test_x963(self, backend, subtests): method test_unsupported_hash (line 61) | def test_unsupported_hash(self, backend): FILE: tests/hazmat/primitives/test_x963kdf.py class TestX963KDF (line 16) | class TestX963KDF: method test_length_limit (line 17) | def test_length_limit(self, backend): method test_already_finalized (line 24) | def test_already_finalized(self, backend): method test_derive (line 32) | def test_derive(self, backend): method test_buffer_protocol (line 43) | def test_buffer_protocol(self, backend): method test_verify (line 56) | def test_verify(self, backend): method test_invalid_verify (line 74) | def test_invalid_verify(self, backend): method test_unicode_typeerror (line 84) | def test_unicode_typeerror(self, backend): method test_derive_into (line 114) | def test_derive_into(self, backend): method test_derive_into_buffer_incorrect_size (line 130) | def test_derive_into_buffer_incorrect_size(self, buflen, outlen, backe... method test_derive_into_already_finalized (line 136) | def test_derive_into_already_finalized(self, backend): FILE: tests/hazmat/primitives/test_xofhash.py function test_unsupported_boring_libre (line 30) | def test_unsupported_boring_libre(backend): class TestXOFHash (line 39) | class TestXOFHash: method test_hash_reject_unicode (line 40) | def test_hash_reject_unicode(self, backend): method test_incorrect_hash_algorithm_type (line 45) | def test_incorrect_hash_algorithm_type(self, backend): method test_raises_update_after_squeeze (line 53) | def test_raises_update_after_squeeze(self, backend): method test_copy (line 61) | def test_copy(self, backend): method test_exhaust_bytes (line 68) | def test_exhaust_bytes(self, backend): class TestXOFSHAKE128 (line 83) | class TestXOFSHAKE128: method test_shake128_variable (line 84) | def test_shake128_variable(self, backend, subtests): class TestXOFSHAKE256 (line 111) | class TestXOFSHAKE256: method test_shake256_variable (line 112) | def test_shake256_variable(self, backend, subtests): FILE: tests/hazmat/primitives/twofactor/test_hotp.py class TestHOTP (line 24) | class TestHOTP: method test_invalid_key_length (line 25) | def test_invalid_key_length(self, backend): method test_unenforced_invalid_kwy_length (line 31) | def test_unenforced_invalid_kwy_length(self, backend): method test_invalid_hotp_length (line 35) | def test_invalid_hotp_length(self, backend): method test_invalid_algorithm (line 41) | def test_invalid_algorithm(self, backend): method test_truncate (line 48) | def test_truncate(self, backend, params): method test_generate (line 58) | def test_generate(self, backend, params): method test_verify (line 68) | def test_verify(self, backend, params): method test_invalid_verify (line 76) | def test_invalid_verify(self, backend): method test_length_not_int (line 85) | def test_length_not_int(self, backend): method test_get_provisioning_uri (line 91) | def test_get_provisioning_uri(self, backend): method test_buffer_protocol (line 106) | def test_buffer_protocol(self, backend): method test_invalid_counter (line 111) | def test_invalid_counter(self, backend): FILE: tests/hazmat/primitives/twofactor/test_totp.py class TestTOTP (line 17) | class TestTOTP: method test_generate_sha1 (line 25) | def test_generate_sha1(self, backend, params): method test_generate_sha256 (line 40) | def test_generate_sha256(self, backend, params): method test_generate_sha512 (line 55) | def test_generate_sha512(self, backend, params): method test_verify_sha1 (line 70) | def test_verify_sha1(self, backend, params): method test_verify_sha256 (line 85) | def test_verify_sha256(self, backend, params): method test_verify_sha512 (line 100) | def test_verify_sha512(self, backend, params): method test_invalid_verify (line 108) | def test_invalid_verify(self, backend): method test_floating_point_time_generate (line 117) | def test_floating_point_time_generate(self, backend): method test_get_provisioning_uri (line 125) | def test_get_provisioning_uri(self, backend): method test_buffer_protocol (line 140) | def test_buffer_protocol(self, backend): method test_invalid_time (line 146) | def test_invalid_time(self, backend): FILE: tests/hazmat/primitives/utils.py function _load_all_params (line 42) | def _load_all_params(path, file_names, param_loader): function compute_rsa_hash_digest_sha256 (line 51) | def compute_rsa_hash_digest_sha256(backend, msg): function generate_encrypt_test (line 58) | def generate_encrypt_test( function encrypt_test (line 69) | def encrypt_test(backend, cipher_factory, mode_factory, params): function generate_aead_test (line 89) | def generate_aead_test( function aead_test (line 105) | def aead_test(backend, cipher_factory, mode_factory, params): function generate_stream_encryption_test (line 165) | def generate_stream_encryption_test( function stream_encryption_test (line 176) | def stream_encryption_test(backend, cipher_factory, params): function generate_hash_test (line 194) | def generate_hash_test(param_loader, path, file_names, hash_cls): function hash_test (line 203) | def hash_test(backend, algorithm, params): function generate_base_hash_test (line 211) | def generate_base_hash_test(algorithm, digest_size): function base_hash_test (line 218) | def base_hash_test(backend, algorithm, digest_size): function generate_base_hmac_test (line 231) | def generate_base_hmac_test(hash_cls): function base_hmac_test (line 238) | def base_hmac_test(backend, algorithm): function generate_hmac_test (line 245) | def generate_hmac_test(param_loader, path, file_names, algorithm): function hmac_test (line 254) | def hmac_test(backend, algorithm, params): function generate_aead_exception_test (line 261) | def generate_aead_exception_test(cipher_factory, mode_factory): function aead_exception_test (line 268) | def aead_exception_test(backend, cipher_factory, mode_factory): function generate_aead_tag_exception_test (line 305) | def generate_aead_tag_exception_test(cipher_factory, mode_factory): function aead_tag_exception_test (line 312) | def aead_tag_exception_test(backend, cipher_factory, mode_factory): function hkdf_derive_test (line 341) | def hkdf_derive_test(backend, algorithm, params): function hkdf_expand_test (line 361) | def hkdf_expand_test(backend, algorithm, params): function generate_hkdf_test (line 374) | def generate_hkdf_test(param_loader, path, file_names, algorithm): function generate_kbkdf_counter_mode_test (line 385) | def generate_kbkdf_counter_mode_test(param_loader, path, file_names): function _kbkdf_hmac_counter_mode_test (line 394) | def _kbkdf_hmac_counter_mode_test(backend, prf, ctr_loc, brk_loc, params): function _kbkdf_cmac_counter_mode_test (line 427) | def _kbkdf_cmac_counter_mode_test(backend, prf, ctr_loc, brk_loc, params): function kbkdf_counter_mode_test (line 467) | def kbkdf_counter_mode_test(backend, params): function generate_rsa_verification_test (line 497) | def generate_rsa_verification_test( function generate_rsa_verification_without_digest_test (line 512) | def generate_rsa_verification_without_digest_test( function rsa_verification_test (line 532) | def rsa_verification_test(backend, params, hash_alg, pad_factory): function _rsa_recover_euler_private_exponent (line 547) | def _rsa_recover_euler_private_exponent(e: int, p: int, q: int) -> int: function _check_rsa_private_numbers (line 565) | def _check_rsa_private_numbers(skey): function _check_dsa_private_numbers (line 589) | def _check_dsa_private_numbers(skey): function skip_fips_traditional_openssl (line 596) | def skip_fips_traditional_openssl(backend, fmt): FILE: tests/hazmat/test_oid.py function test_basic_oid (line 12) | def test_basic_oid(): function test_oid_equal (line 16) | def test_oid_equal(): function test_oid_deepcopy (line 20) | def test_oid_deepcopy(): function test_oid_constraint (line 25) | def test_oid_constraint(): FILE: tests/test_cryptography_utils.py class TestCachedProperty (line 13) | class TestCachedProperty: method test_simple (line 14) | def test_simple(self): method test_set (line 36) | def test_set(self): function test_enum (line 57) | def test_enum(): FILE: tests/test_doubles.py class TestDummyEd25519PublicKey (line 14) | class TestDummyEd25519PublicKey: method test_public_bytes (line 15) | def test_public_bytes(self): method test_public_bytes_raw_not_implemented (line 25) | def test_public_bytes_raw_not_implemented(self): method test_verify_not_implemented (line 30) | def test_verify_not_implemented(self): method test_eq_not_implemented (line 35) | def test_eq_not_implemented(self): method test_copy_not_implemented (line 40) | def test_copy_not_implemented(self): method test_deepcopy_not_implemented (line 45) | def test_deepcopy_not_implemented(self): FILE: tests/test_fernet.py function json_parametrize (line 20) | def json_parametrize(keys, filename): class TestFernet (line 39) | class TestFernet: method test_generate (line 44) | def test_generate(self, secret, now, iv, src, token, backend): method test_verify (line 57) | def test_verify( method test_invalid (line 86) | def test_invalid(self, secret, token, now, ttl_sec, backend, monkeypat... method test_invalid_start_byte (line 99) | def test_invalid_start_byte(self, backend): method test_timestamp_too_short (line 104) | def test_timestamp_too_short(self, backend): method test_non_base64_token (line 109) | def test_non_base64_token(self, backend): method test_invalid_types (line 116) | def test_invalid_types(self, backend): method test_timestamp_ignored_no_ttl (line 123) | def test_timestamp_ignored_no_ttl(self, monkeypatch, backend): method test_ttl_required_in_decrypt_at_time (line 130) | def test_ttl_required_in_decrypt_at_time(self, backend): method test_roundtrips (line 142) | def test_roundtrips(self, message, backend): method test_bad_key (line 147) | def test_bad_key(self, backend, key): method test_extract_timestamp (line 151) | def test_extract_timestamp(self, backend): class TestMultiFernet (line 167) | class TestMultiFernet: method test_encrypt (line 168) | def test_encrypt(self, backend): method test_decrypt (line 175) | def test_decrypt(self, backend): method test_decrypt_at_time (line 191) | def test_decrypt_at_time(self, backend): method test_no_fernets (line 206) | def test_no_fernets(self, backend): method test_non_iterable_argument (line 210) | def test_non_iterable_argument(self, backend): method test_rotate_bytes (line 214) | def test_rotate_bytes(self, backend): method test_rotate_str (line 234) | def test_rotate_str(self, backend): method test_rotate_preserves_timestamp (line 253) | def test_rotate_preserves_timestamp(self, backend): method test_rotate_decrypt_no_shared_keys (line 271) | def test_rotate_decrypt_no_shared_keys(self, backend): method test_extract_timestamp_first_fernet_valid_token (line 281) | def test_extract_timestamp_first_fernet_valid_token(self, backend): method test_extract_timestamp_second_fernet_valid_token (line 288) | def test_extract_timestamp_second_fernet_valid_token(self, backend): method test_extract_timestamp_invalid_token (line 296) | def test_extract_timestamp_invalid_token(self, backend): FILE: tests/test_meta.py function find_all_modules (line 14) | def find_all_modules() -> typing.List[str]: function test_no_circular_imports (line 24) | def test_no_circular_imports(subtests): FILE: tests/test_utils.py function test_int_to_bytes_rejects_zero_length (line 42) | def test_int_to_bytes_rejects_zero_length(): function test_check_backend_support_skip (line 49) | def test_check_backend_support_skip(): function test_check_backend_support_no_skip (line 60) | def test_check_backend_support_no_skip(): function test_load_nist_vectors (line 69) | def test_load_nist_vectors(): function test_load_nist_vectors_with_null_chars (line 137) | def test_load_nist_vectors_with_null_chars(): function test_load_ed25519_vectors (line 154) | def test_load_ed25519_vectors(): function test_load_cryptrec_vectors (line 246) | def test_load_cryptrec_vectors(): function test_load_cryptrec_vectors_invalid (line 288) | def test_load_cryptrec_vectors_invalid(): function test_load_hash_vectors (line 304) | def test_load_hash_vectors(): function test_load_hmac_vectors (line 336) | def test_load_hmac_vectors(): function test_load_hash_vectors_bad_data (line 356) | def test_load_hash_vectors_bad_data(): function test_load_vectors_from_file (line 370) | def test_load_vectors_from_file(): function test_load_nist_gcm_vectors (line 389) | def test_load_nist_gcm_vectors(): function test_load_pkcs1_vectors (line 559) | def test_load_pkcs1_vectors(): function test_load_pkcs1_oaep_vectors (line 1035) | def test_load_pkcs1_oaep_vectors(): function test_load_hotp_vectors (line 1267) | def test_load_hotp_vectors(): function test_load_totp_vectors (line 1337) | def test_load_totp_vectors(): function test_load_rsa_nist_vectors (line 1385) | def test_load_rsa_nist_vectors(): function test_load_rsa_nist_pkcs1v15_verification_vectors (line 1463) | def test_load_rsa_nist_pkcs1v15_verification_vectors(): function test_load_rsa_nist_pss_verification_vectors (line 1558) | def test_load_rsa_nist_pss_verification_vectors(): function test_load_fips_dsa_key_pair_vectors (line 1624) | def test_load_fips_dsa_key_pair_vectors(): function test_load_fips_dsa_sig_ver_vectors (line 2035) | def test_load_fips_dsa_sig_ver_vectors(): function test_load_fips_dsa_sig_gen_vectors (line 2361) | def test_load_fips_dsa_sig_gen_vectors(): function test_load_fips_ecdsa_key_pair_vectors (line 2657) | def test_load_fips_ecdsa_key_pair_vectors(): function test_load_fips_ecdsa_signing_vectors (line 2805) | def test_load_fips_ecdsa_signing_vectors(): function test_load_kasvs_dh_vectors (line 2998) | def test_load_kasvs_dh_vectors(): function test_load_kasvs_ecdh_vectors_empty_vector_data (line 3495) | def test_load_kasvs_ecdh_vectors_empty_vector_data(): function test_load_kasvs_ecdh_vectors (line 3499) | def test_load_kasvs_ecdh_vectors(): function test_load_kasvs_ecdh_kdf_vectors (line 3928) | def test_load_kasvs_ecdh_kdf_vectors(): function test_load_x963_vectors (line 4020) | def test_load_x963_vectors(): function test_load_kbkdf_vectors (line 4117) | def test_load_kbkdf_vectors(): function test_load_nist_ccm_vectors_dvpt (line 4236) | def test_load_nist_ccm_vectors_dvpt(): function test_load_nist_ccm_vectors_vadt (line 4332) | def test_load_nist_ccm_vectors_vadt(): function test_vector_version (line 4424) | def test_vector_version(): function test_raises_unsupported_algorithm_wrong_type (line 4428) | def test_raises_unsupported_algorithm_wrong_type(): function test_raises_unsupported_algorithm_wrong_reason (line 4438) | def test_raises_unsupported_algorithm_wrong_reason(): function test_raises_unsupported_no_exc (line 4447) | def test_raises_unsupported_no_exc(): function test_raises_unsupported_algorithm (line 4454) | def test_raises_unsupported_algorithm(): class TestDeprecated (line 4465) | class TestDeprecated: method test_getattr (line 4466) | def test_getattr(self): method test_inspect_deprecated_module (line 4472) | def test_inspect_deprecated_module(self): FILE: tests/test_warnings.py class TestDeprecated (line 16) | class TestDeprecated: method test_deprecated (line 18) | def test_deprecated(self, monkeypatch): method test_deleting_deprecated_members (line 54) | def test_deleting_deprecated_members(self, monkeypatch): FILE: tests/utils.py function check_backend_support (line 26) | def check_backend_support(backend, item): function raises_unsupported_algorithm (line 33) | def raises_unsupported_algorithm(reason): function load_vectors_from_file (line 43) | def load_vectors_from_file( function load_nist_vectors (line 50) | def load_nist_vectors(vector_data: typing.Iterable[str]) -> list[dict]: function load_cryptrec_vectors (line 89) | def load_cryptrec_vectors(vector_data: typing.Iterable[str]) -> list[dict]: function load_hash_vectors (line 117) | def load_hash_vectors(vector_data): function load_pkcs1_vectors (line 158) | def load_pkcs1_vectors( function load_rsa_nist_vectors (line 283) | def load_rsa_nist_vectors(vector_data: typing.Iterable[str]) -> list[dict]: function load_fips_dsa_key_pair_vectors (line 343) | def load_fips_dsa_key_pair_vectors( function load_fips_dsa_sig_vectors (line 384) | def load_fips_dsa_sig_vectors(vector_data: typing.Iterable[str]) -> list... function load_fips_ecdsa_key_pair_vectors (line 462) | def load_fips_ecdsa_key_pair_vectors( function load_fips_ecdsa_signing_vectors (line 503) | def load_fips_ecdsa_signing_vectors( function load_kasvs_dh_vectors (line 556) | def load_kasvs_dh_vectors(vector_data: typing.Iterable[str]) -> list[dict]: function load_kasvs_ecdh_vectors (line 611) | def load_kasvs_ecdh_vectors(vector_data: typing.Iterable[str]) -> list[d... function load_rfc6979_vectors (line 719) | def load_rfc6979_vectors(vector_data: typing.Iterable[str]) -> list[dict]: function load_x963_vectors (line 771) | def load_x963_vectors(vector_data: typing.Iterable[str]) -> list[dict]: function load_nist_kbkdf_vectors (line 828) | def load_nist_kbkdf_vectors(vector_data: typing.Iterable[str]) -> list[d... function load_ed25519_vectors (line 864) | def load_ed25519_vectors(vector_data: typing.Iterable[str]) -> list[dict]: function load_nist_ccm_vectors (line 883) | def load_nist_ccm_vectors(vector_data: typing.Iterable[str]) -> list[dict]: class WycheproofTest (line 956) | class WycheproofTest: method __init__ (line 957) | def __init__(self, testfiledata, testgroup, testcase): method __repr__ (line 962) | def __repr__(self): method valid (line 971) | def valid(self) -> bool: method acceptable (line 975) | def acceptable(self) -> bool: method invalid (line 979) | def invalid(self) -> bool: method has_flag (line 982) | def has_flag(self, flag: str) -> bool: method cache_value_to_group (line 985) | def cache_value_to_group(self, cache_key: str, func): function load_wycheproof_tests (line 993) | def load_wycheproof_tests(wycheproof: str, test_file: str, subdir: str): FILE: tests/wycheproof/test_aes.py function test_aes_cbc_pkcs5 (line 19) | def test_aes_cbc_pkcs5(backend, wycheproof): function test_aes_gcm (line 46) | def test_aes_gcm(backend, wycheproof): function test_aes_gcm_aead_api (line 90) | def test_aes_gcm_aead_api(backend, wycheproof): function test_aes_ccm_aead_api (line 123) | def test_aes_ccm_aead_api(backend, wycheproof): FILE: tests/wycheproof/test_chacha20poly1305.py function test_chacha20poly1305 (line 21) | def test_chacha20poly1305(backend, wycheproof): FILE: tests/wycheproof/test_cmac.py function test_aes_cmac (line 17) | def test_aes_cmac(backend, wycheproof): FILE: tests/wycheproof/test_dsa.py function test_dsa_signature (line 32) | def test_dsa_signature(backend, wycheproof): FILE: tests/wycheproof/test_ecdh.py function test_ecdh (line 50) | def test_ecdh(backend, wycheproof): function test_ecdh_ecpoint (line 91) | def test_ecdh_ecpoint(backend, wycheproof): FILE: tests/wycheproof/test_ecdsa.py function test_ecdsa_signature (line 60) | def test_ecdsa_signature(backend, wycheproof): FILE: tests/wycheproof/test_eddsa.py function test_ed25519_signature (line 21) | def test_ed25519_signature(backend, wycheproof): function test_ed448_signature (line 48) | def test_ed448_signature(backend, wycheproof): FILE: tests/wycheproof/test_hkdf.py function test_hkdf (line 28) | def test_hkdf(backend, wycheproof): FILE: tests/wycheproof/test_hmac.py function test_hmac (line 38) | def test_hmac(backend, wycheproof): FILE: tests/wycheproof/test_keywrap.py function test_keywrap_with_padding (line 15) | def test_keywrap_with_padding(backend, wycheproof): function test_keywrap (line 39) | def test_keywrap(backend, wycheproof): FILE: tests/wycheproof/test_pbkdf2.py function test_pbkdf2 (line 29) | def test_pbkdf2(backend, wycheproof): FILE: tests/wycheproof/test_rsa.py function should_verify (line 33) | def should_verify(backend, wycheproof): function test_rsa_pkcs1v15_signature (line 69) | def test_rsa_pkcs1v15_signature(backend, wycheproof): function test_rsa_pkcs1v15_signature_generation (line 108) | def test_rsa_pkcs1v15_signature_generation(backend, wycheproof): function test_rsa_pss_signature (line 149) | def test_rsa_pss_signature(backend, wycheproof): function test_rsa_oaep_encryption (line 220) | def test_rsa_oaep_encryption(backend, wycheproof): function test_rsa_pkcs1_encryption (line 277) | def test_rsa_pkcs1_encryption(backend, wycheproof): FILE: tests/wycheproof/test_utils.py function test_wycheproof_test_repr (line 8) | def test_wycheproof_test_repr(): FILE: tests/wycheproof/test_x25519.py function test_x25519 (line 22) | def test_x25519(backend, wycheproof): FILE: tests/wycheproof/test_x448.py function test_x448 (line 22) | def test_x448(backend, wycheproof): FILE: tests/wycheproof/utils.py function wycheproof_tests (line 10) | def wycheproof_tests(*paths, subdir="testvectors_v1"): FILE: tests/x509/test_name.py class TestRFC4514 (line 16) | class TestRFC4514: method test_invalid (line 17) | def test_invalid(self, subtests): method test_valid (line 30) | def test_valid(self, subtests): method test_attr_name_override (line 182) | def test_attr_name_override(self): method test_generate_parse (line 200) | def test_generate_parse(self): method test_single_space_escaping (line 221) | def test_single_space_escaping(self): FILE: tests/x509/test_ocsp.py function _load_data (line 25) | def _load_data(filename, loader): function _cert_and_issuer (line 31) | def _cert_and_issuer(): function _generate_root (line 43) | def _generate_root(private_key=None, algorithm=hashes.SHA256()): function _check_ocsp_response_times (line 72) | def _check_ocsp_response_times( class TestOCSPRequest (line 101) | class TestOCSPRequest: method test_bad_request (line 102) | def test_bad_request(self): method test_load_request (line 106) | def test_load_request(self): method test_load_request_with_extensions (line 124) | def test_load_request_with_extensions(self): method test_load_request_with_acceptable_responses (line 136) | def test_load_request_with_acceptable_responses(self): method test_load_request_with_unknown_extension (line 148) | def test_load_request_with_unknown_extension(self): method test_load_request_with_duplicate_extension (line 161) | def test_load_request_with_duplicate_extension(self): method test_load_request_two_requests (line 169) | def test_load_request_two_requests(self): method test_invalid_hash_algorithm (line 176) | def test_invalid_hash_algorithm(self): method test_serialize_request (line 184) | def test_serialize_request(self): method test_invalid_serialize_encoding (line 193) | def test_invalid_serialize_encoding(self): class TestOCSPRequestBuilder (line 204) | class TestOCSPRequestBuilder: method test_add_cert_twice (line 205) | def test_add_cert_twice(self): method test_add_cert_by_hash_twice (line 218) | def test_add_cert_by_hash_twice(self): method test_add_cert_by_hash_bad_hash (line 233) | def test_add_cert_by_hash_bad_hash(self): method test_create_ocsp_request_no_req (line 258) | def test_create_ocsp_request_no_req(self): method test_create_ocsp_request_invalid_alg (line 263) | def test_create_ocsp_request_invalid_alg(self): method test_add_extension_twice (line 269) | def test_add_extension_twice(self): method test_add_invalid_extension (line 275) | def test_add_invalid_extension(self): method test_unsupported_extension (line 283) | def test_unsupported_extension(self): method test_create_ocsp_request_invalid_cert (line 293) | def test_create_ocsp_request_invalid_cert(self): method test_create_ocsp_request (line 310) | def test_create_ocsp_request(self): method test_create_ocsp_request_with_extension (line 328) | def test_create_ocsp_request_with_extension(self, ext, critical): method test_add_cert_by_hash (line 340) | def test_add_cert_by_hash(self): class TestOCSPResponseBuilder (line 363) | class TestOCSPResponseBuilder: method test_add_response_twice (line 364) | def test_add_response_twice(self): method test_invalid_add_response (line 390) | def test_invalid_add_response(self): method test_invalid_certificates (line 509) | def test_invalid_certificates(self): method test_invalid_responder_id (line 523) | def test_invalid_responder_id(self): method test_invalid_extension (line 538) | def test_invalid_extension(self): method test_unsupported_extension (line 546) | def test_unsupported_extension(self): method test_sign_no_response (line 575) | def test_sign_no_response(self): method test_sign_no_responder_id (line 584) | def test_sign_no_responder_id(self): method test_sign_invalid_hash_algorithm (line 606) | def test_sign_invalid_hash_algorithm(self): method test_sign_good_cert (line 630) | def test_sign_good_cert(self): method test_sign_revoked_cert (line 680) | def test_sign_revoked_cert(self): method test_sign_unknown_cert (line 717) | def test_sign_unknown_cert(self): method test_sign_with_appended_certs (line 752) | def test_sign_with_appended_certs(self): method test_sign_revoked_no_next_update (line 780) | def test_sign_revoked_no_next_update(self): method test_sign_revoked_with_reason (line 816) | def test_sign_revoked_with_reason(self): method test_sign_responder_id_key_hash (line 853) | def test_sign_responder_id_key_hash(self): method test_invalid_sign_responder_cert_does_not_match_private_key (line 885) | def test_invalid_sign_responder_cert_does_not_match_private_key(self): method test_sign_with_extension (line 914) | def test_sign_with_extension(self): method test_build_non_successful_statuses (line 957) | def test_build_non_successful_statuses(self, status, der): method test_invalid_build_not_a_status (line 962) | def test_invalid_build_not_a_status(self): method test_invalid_build_successful_status (line 968) | def test_invalid_build_successful_status(self): method test_sign_unknown_private_key (line 974) | def test_sign_unknown_private_key(self, backend): method test_add_response_by_hash (line 1000) | def test_add_response_by_hash(self): method test_add_response_then_add_response_by_hash (line 1040) | def test_add_response_then_add_response_by_hash(self): method test_add_response_by_hash_bad_hash (line 1070) | def test_add_response_by_hash_bad_hash(self): method test_sign_unrecognized_hash_algorithm (line 1130) | def test_sign_unrecognized_hash_algorithm(self, backend): method test_sign_none_hash_not_eddsa (line 1157) | def test_sign_none_hash_not_eddsa(self): class TestSignedCertificateTimestampsExtension (line 1184) | class TestSignedCertificateTimestampsExtension: method test_init (line 1185) | def test_init(self): method test_repr (line 1191) | def test_repr(self): method test_eq (line 1196) | def test_eq(self, backend): method test_ne (line 1219) | def test_ne(self, backend): method test_hash (line 1234) | def test_hash(self, backend): method test_entry_type (line 1259) | def test_entry_type(self, backend): class TestOCSPResponse (line 1276) | class TestOCSPResponse: method test_bad_response (line 1277) | def test_bad_response(self): method test_load_response (line 1281) | def test_load_response(self): method test_load_multi_valued_response (line 1346) | def test_load_multi_valued_response(self): method test_multi_valued_responses (line 1358) | def test_multi_valued_responses(self): method test_load_unauthorized (line 1420) | def test_load_unauthorized(self): method test_load_revoked (line 1471) | def test_load_revoked(self): method test_load_delegate_unknown_cert (line 1486) | def test_load_delegate_unknown_cert(self): method test_load_invalid_signature_oid (line 1495) | def test_load_invalid_signature_oid(self): method test_unknown_hash_algorithm (line 1506) | def test_unknown_hash_algorithm(self): method test_load_responder_key_hash (line 1514) | def test_load_responder_key_hash(self): method test_load_revoked_reason (line 1524) | def test_load_revoked_reason(self): method test_load_revoked_no_next_update (line 1531) | def test_load_revoked_no_next_update(self): method test_response_extensions (line 1541) | def test_response_extensions(self): method test_response_unknown_extension (line 1553) | def test_response_unknown_extension(self): method test_serialize_reponse (line 1566) | def test_serialize_reponse(self): method test_invalid_serialize_encoding (line 1575) | def test_invalid_serialize_encoding(self): method test_single_extensions_sct (line 1585) | def test_single_extensions_sct(self, backend): method test_single_extensions (line 1602) | def test_single_extensions(self, backend): method test_unknown_response_type (line 1612) | def test_unknown_response_type(self): method test_response_bytes_absent (line 1621) | def test_response_bytes_absent(self): method test_unknown_response_status (line 1630) | def test_unknown_response_status(self): class TestOCSPEdDSA (line 1640) | class TestOCSPEdDSA: method test_invalid_algorithm (line 1645) | def test_invalid_algorithm(self, backend): method test_sign_ed25519 (line 1677) | def test_sign_ed25519(self, backend): method test_sign_ed448 (line 1723) | def test_sign_ed448(self, backend): FILE: tests/x509/test_x509.py class DummyExtension (line 67) | class DummyExtension(x509.ExtensionType): class FakeGeneralName (line 71) | class FakeGeneralName(x509.GeneralName): method __init__ (line 72) | def __init__(self, value): method value (line 76) | def value(self): function _load_cert (line 83) | def _load_cert(filename, loader: typing.Callable[..., T]) -> T: function _generate_ca_and_leaf (line 91) | def _generate_ca_and_leaf( function _break_cert_sig (line 134) | def _break_cert_sig(cert: x509.Certificate) -> x509.Certificate: function _check_cert_times (line 143) | def _check_cert_times( function _check_crl_times (line 162) | def _check_crl_times( class TestCertificateRevocationList (line 179) | class TestCertificateRevocationList: method test_load_pem_crl (line 180) | def test_load_pem_crl(self, backend): method test_load_der_crl (line 195) | def test_load_der_crl(self, backend): method test_load_large_crl (line 206) | def test_load_large_crl(self, backend): method test_empty_crl_no_sequence (line 213) | def test_empty_crl_no_sequence(self, backend): method test_invalid_pem (line 227) | def test_invalid_pem(self, backend): method test_invalid_der (line 238) | def test_invalid_der(self, backend): method test_invalid_time (line 242) | def test_invalid_time(self, backend): method test_unknown_signature_algorithm (line 249) | def test_unknown_signature_algorithm(self, backend): method test_invalid_version (line 260) | def test_invalid_version(self, backend): method test_issuer (line 267) | def test_issuer(self, backend): method test_equality (line 285) | def test_equality(self, backend): method test_comparison (line 305) | def test_comparison(self, backend): method test_update_dates (line 313) | def test_update_dates(self, backend): method test_no_next_update (line 330) | def test_no_next_update(self, backend): method test_unrecognized_extension (line 340) | def test_unrecognized_extension(self, backend): method test_revoked_cert_retrieval (line 352) | def test_revoked_cert_retrieval(self, backend): method test_get_revoked_certificate_by_serial_number (line 368) | def test_get_revoked_certificate_by_serial_number(self, backend): method test_revoked_cert_retrieval_retain_only_revoked (line 381) | def test_revoked_cert_retrieval_retain_only_revoked(self, backend): method test_extensions (line 400) | def test_extensions(self, backend): method test_delta_crl_indicator (line 437) | def test_delta_crl_indicator(self, backend): method test_signature (line 449) | def test_signature(self, backend): method test_tbs_certlist_bytes (line 467) | def test_tbs_certlist_bytes(self, backend): method test_public_bytes_pem (line 488) | def test_public_bytes_pem(self, backend): method test_public_bytes_der (line 508) | def test_public_bytes_der(self, backend): method test_public_bytes_match (line 543) | def test_public_bytes_match( method test_public_bytes_invalid_encoding (line 553) | def test_public_bytes_invalid_encoding(self, backend): method test_verify_bad (line 562) | def test_verify_bad(self, backend): method test_verify_good (line 582) | def test_verify_good(self, backend): method test_verify_argument_must_be_a_public_key (line 596) | def test_verify_argument_must_be_a_public_key(self, backend): method test_crl_issuer_invalid_printable_string (line 610) | def test_crl_issuer_invalid_printable_string(self): class TestRevokedCertificate (line 621) | class TestRevokedCertificate: method test_revoked_basics (line 622) | def test_revoked_basics(self, backend): method test_revoked_extensions (line 644) | def test_revoked_extensions(self, backend): method test_no_revoked_certs (line 706) | def test_no_revoked_certs(self, backend): method test_duplicate_entry_ext (line 713) | def test_duplicate_entry_ext(self, backend): method test_unsupported_crit_entry_ext (line 722) | def test_unsupported_crit_entry_ext(self, backend): method test_unsupported_reason (line 736) | def test_unsupported_reason(self, backend): method test_invalid_cert_issuer_ext (line 745) | def test_invalid_cert_issuer_ext(self, backend): method test_indexing (line 756) | def test_indexing(self, backend): method test_get_revoked_certificate_doesnt_reorder (line 772) | def test_get_revoked_certificate_doesnt_reorder( class TestRSAECertificate (line 810) | class TestRSAECertificate: method test_load_cert_pub_key (line 811) | def test_load_cert_pub_key(self, backend): class TestRSAPSSCertificate (line 846) | class TestRSAPSSCertificate: method test_load_cert_pub_key (line 847) | def test_load_cert_pub_key(self, backend): method test_load_pss_cert_no_null (line 877) | def test_load_pss_cert_no_null(self, backend): method test_load_pss_sha1_mgf1_sha1 (line 894) | def test_load_pss_sha1_mgf1_sha1(self, backend): method test_invalid_mgf (line 909) | def test_invalid_mgf(self, backend): method test_unsupported_mgf_hash (line 917) | def test_unsupported_mgf_hash(self, backend): method test_no_sig_params (line 927) | def test_no_sig_params(self, backend): class TestRSACertificate (line 938) | class TestRSACertificate: method test_load_pem_cert (line 939) | def test_load_pem_cert(self, backend): method test_check_pkcs1_signature_algorithm_parameters (line 961) | def test_check_pkcs1_signature_algorithm_parameters(self, backend): method test_load_legacy_pem_header (line 980) | def test_load_legacy_pem_header(self, backend): method test_load_with_other_sections (line 987) | def test_load_with_other_sections(self, backend): method test_load_multiple_sections (line 1000) | def test_load_multiple_sections(self, backend): method test_negative_serial_number (line 1014) | def test_negative_serial_number(self, backend): method test_country_jurisdiction_country_too_long (line 1026) | def test_country_jurisdiction_country_too_long(self, backend): method test_alternate_rsa_with_sha1_oid (line 1049) | def test_alternate_rsa_with_sha1_oid(self, backend): method test_load_bmpstring_explicittext (line 1065) | def test_load_bmpstring_explicittext(self, backend): method test_load_der_cert (line 1078) | def test_load_der_cert(self, backend): method test_signature (line 1089) | def test_signature(self, backend): method test_tbs_certificate_bytes (line 1115) | def test_tbs_certificate_bytes(self, backend): method test_tbs_precertificate_bytes_duplicate_extensions_raises (line 1156) | def test_tbs_precertificate_bytes_duplicate_extensions_raises( method test_tbs_precertificate_bytes_no_extensions_raises (line 1170) | def test_tbs_precertificate_bytes_no_extensions_raises(self, backend): method test_tbs_precertificate_bytes_missing_extension_raises (line 1182) | def test_tbs_precertificate_bytes_missing_extension_raises(self, backe... method test_tbs_precertificate_bytes_strips_scts (line 1196) | def test_tbs_precertificate_bytes_strips_scts(self, backend): method test_issuer (line 1212) | def test_issuer(self, backend): method test_all_issuer_name_types (line 1235) | def test_all_issuer_name_types(self, backend): method test_subject (line 1276) | def test_subject(self, backend): method test_unicode_name (line 1305) | def test_unicode_name(self, backend): method test_invalid_unicode_name (line 1317) | def test_invalid_unicode_name(self, backend): method test_non_ascii_dns_name (line 1327) | def test_non_ascii_dns_name(self, backend): method test_all_subject_name_types (line 1348) | def test_all_subject_name_types(self, backend): method test_load_good_ca_cert (line 1392) | def test_load_good_ca_cert(self, backend): method test_utc_pre_2000_not_before_cert (line 1410) | def test_utc_pre_2000_not_before_cert(self, backend): method test_pre_2000_utc_not_after_cert (line 1427) | def test_pre_2000_utc_not_after_cert(self, backend): method test_post_2000_utc_cert (line 1444) | def test_post_2000_utc_cert(self, backend): method test_generalized_time_not_before_cert (line 1455) | def test_generalized_time_not_before_cert(self, backend): method test_generalized_time_not_after_cert (line 1472) | def test_generalized_time_not_after_cert(self, backend): method test_invalid_version_cert (line 1489) | def test_invalid_version_cert(self, backend): method test_invalid_visiblestring_in_explicit_text (line 1498) | def test_invalid_visiblestring_in_explicit_text(self, backend): method test_eq (line 1517) | def test_eq(self, backend): method test_ne (line 1528) | def test_ne(self, backend): method test_ordering_unsupported (line 1545) | def test_ordering_unsupported(self, backend): method test_hash (line 1557) | def test_hash(self, backend): method test_version_1_cert (line 1579) | def test_version_1_cert(self, backend): method test_invalid_pem (line 1586) | def test_invalid_pem(self, backend): method test_invalid_der (line 1598) | def test_invalid_der(self, backend): method test_unsupported_signature_hash_algorithm_cert (line 1602) | def test_unsupported_signature_hash_algorithm_cert(self, backend): method test_public_bytes_pem (line 1610) | def test_public_bytes_pem(self, backend): method test_public_bytes_der (line 1638) | def test_public_bytes_der(self, backend): method test_public_bytes_invalid_encoding (line 1665) | def test_public_bytes_invalid_encoding(self, backend): method test_public_bytes_match (line 1689) | def test_public_bytes_match( method test_certificate_repr (line 1699) | def test_certificate_repr(self): method test_parse_tls_feature_extension (line 1710) | def test_parse_tls_feature_extension(self, backend): method test_verify_directly_issued_by_rsa_pss (line 1721) | def test_verify_directly_issued_by_rsa_pss( method test_verify_directly_issued_by_rsa (line 1765) | def test_verify_directly_issued_by_rsa( method test_verify_directly_issued_by_rsa_bad_sig (line 1777) | def test_verify_directly_issued_by_rsa_bad_sig( method test_verify_directly_issued_by_rsa_mismatched_inner_out_oid (line 1791) | def test_verify_directly_issued_by_rsa_mismatched_inner_out_oid(self): method test_verify_directly_issued_by_subject_issuer_mismatch (line 1806) | def test_verify_directly_issued_by_subject_issuer_mismatch(self): method test_verify_directly_issued_by_algorithm_mismatch (line 1818) | def test_verify_directly_issued_by_algorithm_mismatch( method test_verify_directly_issued_by_unsupported_key_type (line 1842) | def test_verify_directly_issued_by_unsupported_key_type(self, backend): method test_admissions_extension (line 1879) | def test_admissions_extension(self, backend): class TestRSACertificateRequest (line 2012) | class TestRSACertificateRequest: method test_load_rsa_certificate_request (line 2026) | def test_load_rsa_certificate_request(self, path, loader_func, backend): method test_load_legacy_pem_header (line 2052) | def test_load_legacy_pem_header(self, backend): method test_invalid_pem (line 2059) | def test_invalid_pem(self, backend): method test_invalid_certificate_request (line 2074) | def test_invalid_certificate_request(self, loader_func, backend): method test_unsupported_signature_hash_algorithm_request (line 2078) | def test_unsupported_signature_hash_algorithm_request(self, backend): method test_invalid_version (line 2086) | def test_invalid_version(self, backend): method test_duplicate_extension (line 2093) | def test_duplicate_extension(self, backend): method test_unsupported_critical_extension (line 2103) | def test_unsupported_critical_extension(self, backend): method test_unsupported_extension (line 2116) | def test_unsupported_extension(self, backend): method test_no_extension_with_other_attributes (line 2128) | def test_no_extension_with_other_attributes(self, backend): method test_request_basic_constraints (line 2135) | def test_request_basic_constraints(self, backend): method test_subject_alt_name (line 2150) | def test_subject_alt_name(self, backend): method test_freeipa_bad_critical (line 2163) | def test_freeipa_bad_critical(self, backend): method test_public_bytes_pem (line 2171) | def test_public_bytes_pem(self, backend): method test_public_bytes_der (line 2199) | def test_public_bytes_der(self, backend): method test_signature (line 2227) | def test_signature(self, backend): method test_tbs_certrequest_bytes (line 2249) | def test_tbs_certrequest_bytes(self, backend): method test_public_bytes_invalid_encoding (line 2279) | def test_public_bytes_invalid_encoding(self, backend): method test_signature_invalid (line 2288) | def test_signature_invalid(self, backend): method test_signature_valid (line 2295) | def test_signature_valid(self, backend): method test_public_bytes_match (line 2317) | def test_public_bytes_match( method test_eq (line 2327) | def test_eq(self, backend): method test_ne (line 2339) | def test_ne(self, backend): method test_ordering_unsupported (line 2352) | def test_ordering_unsupported(self, backend): method test_hash (line 2364) | def test_hash(self, backend): method test_build_cert (line 2394) | def test_build_cert( method test_build_cert_private_type_encoding (line 2484) | def test_build_cert_private_type_encoding( method test_build_cert_printable_string_country_name (line 2535) | def test_build_cert_printable_string_country_name( class TestCertificateBuilder (line 2591) | class TestCertificateBuilder: method test_checks_for_unsupported_extensions (line 2592) | def test_checks_for_unsupported_extensions( method test_encode_nonstandard_aia (line 2614) | def test_encode_nonstandard_aia( method test_encode_nonstandard_sia (line 2645) | def test_encode_nonstandard_sia( method test_subject_dn_asn1_types (line 2680) | def test_subject_dn_asn1_types( method test_extreme_times (line 2739) | def test_extreme_times( method test_rdns_preserve_iteration_order (line 2774) | def test_rdns_preserve_iteration_order( method test_sign_pss (line 2822) | def test_sign_pss( method test_sign_pss_length_options (line 2866) | def test_sign_pss_length_options( method test_sign_pss_auto_unsupported (line 2895) | def test_sign_pss_auto_unsupported( method test_sign_invalid_padding (line 2917) | def test_sign_invalid_padding( method test_sign_pss_hash_none (line 2945) | def test_sign_pss_hash_none( method test_no_subject_name (line 2965) | def test_no_subject_name(self, rsa_key_2048: rsa.RSAPrivateKey, backend): method test_no_issuer_name (line 2980) | def test_no_issuer_name(self, rsa_key_2048: rsa.RSAPrivateKey, backend): method test_no_public_key (line 2995) | def test_no_public_key(self, rsa_key_2048: rsa.RSAPrivateKey, backend): method test_no_not_valid_before (line 3012) | def test_no_not_valid_before( method test_no_not_valid_after (line 3031) | def test_no_not_valid_after( method test_no_serial_number (line 3050) | def test_no_serial_number(self, rsa_key_2048: rsa.RSAPrivateKey, backe... method test_issuer_name_must_be_a_name_type (line 3067) | def test_issuer_name_must_be_a_name_type(self): method test_issuer_name_may_only_be_set_once (line 3076) | def test_issuer_name_may_only_be_set_once(self): method test_subject_name_must_be_a_name_type (line 3083) | def test_subject_name_must_be_a_name_type(self): method test_subject_name_may_only_be_set_once (line 3092) | def test_subject_name_may_only_be_set_once(self): method test_not_valid_before_after_not_valid_after (line 3099) | def test_not_valid_before_after_not_valid_after(self): method test_not_valid_after_before_not_valid_before (line 3106) | def test_not_valid_after_before_not_valid_before(self): method test_public_key_must_be_public_key (line 3115) | def test_public_key_must_be_public_key( method test_public_key_may_only_be_set_once (line 3124) | def test_public_key_may_only_be_set_once( method test_serial_number_must_be_an_integer_type (line 3134) | def test_serial_number_must_be_an_integer_type(self): method test_serial_number_must_be_non_negative (line 3140) | def test_serial_number_must_be_non_negative(self): method test_serial_number_must_be_positive (line 3144) | def test_serial_number_must_be_positive(self): method test_minimal_serial_number (line 3148) | def test_minimal_serial_number( method test_biggest_serial_number (line 3168) | def test_biggest_serial_number( method test_serial_number_must_be_less_than_160_bits_long (line 3188) | def test_serial_number_must_be_less_than_160_bits_long(self): method test_serial_number_may_only_be_set_once (line 3192) | def test_serial_number_may_only_be_set_once(self): method test_aware_not_valid_after (line 3198) | def test_aware_not_valid_after( method test_earliest_time (line 3223) | def test_earliest_time(self, rsa_key_2048: rsa.RSAPrivateKey, backend): method test_invalid_not_valid_after (line 3248) | def test_invalid_not_valid_after(self): method test_not_valid_after_may_only_be_set_once (line 3264) | def test_not_valid_after_may_only_be_set_once(self): method test_aware_not_valid_before (line 3272) | def test_aware_not_valid_before( method test_invalid_not_valid_before (line 3297) | def test_invalid_not_valid_before(self): method test_not_valid_before_may_only_be_set_once (line 3313) | def test_not_valid_before_may_only_be_set_once(self): method test_add_extension_checks_for_duplicates (line 3321) | def test_add_extension_checks_for_duplicates(self): method test_add_invalid_extension_type (line 3333) | def test_add_invalid_extension_type(self): method test_sign_with_unsupported_hash (line 3343) | def test_sign_with_unsupported_hash( method test_sign_with_unsupported_hash_ed25519 (line 3368) | def test_sign_with_unsupported_hash_ed25519(self, backend): method test_sign_with_unsupported_hash_ed448 (line 3391) | def test_sign_with_unsupported_hash_ed448(self, backend): method test_sign_dsa_with_unsupported_hash (line 3428) | def test_sign_dsa_with_unsupported_hash(self, hash_algorithm, backend): method test_sign_ec_with_md5 (line 3450) | def test_sign_ec_with_md5(self, backend): method test_build_cert_with_dsa_private_key (line 3486) | def test_build_cert_with_dsa_private_key( method test_build_cert_with_ec_private_key (line 3558) | def test_build_cert_with_ec_private_key( method test_build_cert_with_deterministic_ecdsa_signature (line 3625) | def test_build_cert_with_deterministic_ecdsa_signature(self, backend): method test_sign_deterministic_wrong_key_type (line 3670) | def test_sign_deterministic_wrong_key_type(self, rsa_key_2048, backend): method test_build_cert_with_bmpstring_universalstring_name (line 3690) | def test_build_cert_with_bmpstring_universalstring_name( method test_build_cert_with_ed25519 (line 3731) | def test_build_cert_with_ed25519(self, backend): method test_build_cert_with_public_ed25519_rsa_sig (line 3794) | def test_build_cert_with_public_ed25519_rsa_sig( method test_build_cert_with_ed448 (line 3836) | def test_build_cert_with_ed448(self, backend): method test_build_cert_with_public_ed448_rsa_sig (line 3899) | def test_build_cert_with_public_ed448_rsa_sig( method test_build_cert_with_public_x25519_x448_rsa_sig (line 3958) | def test_build_cert_with_public_x25519_x448_rsa_sig( method test_build_cert_with_rsa_key_too_small (line 4001) | def test_build_cert_with_rsa_key_too_small( method test_extensions (line 4492) | def test_extensions( method test_build_ca_request_with_path_length_none (line 4540) | def test_build_ca_request_with_path_length_none( method test_unrecognized_extension (line 4578) | def test_unrecognized_extension( class TestCertificateSigningRequestBuilder (line 4604) | class TestCertificateSigningRequestBuilder: method test_sign_invalid_hash_algorithm (line 4605) | def test_sign_invalid_hash_algorithm( method test_request_with_unsupported_hash_ed25519 (line 4624) | def test_request_with_unsupported_hash_ed25519(self, backend): method test_request_with_unsupported_hash_ed448 (line 4637) | def test_request_with_unsupported_hash_ed448(self, backend): method test_no_subject_name (line 4646) | def test_no_subject_name(self, rsa_key_2048: rsa.RSAPrivateKey, backend): method test_build_ca_request_with_rsa (line 4653) | def test_build_ca_request_with_rsa( method test_build_ca_request_with_unicode (line 4686) | def test_build_ca_request_with_unicode( method test_subject_dn_asn1_types (line 4717) | def test_subject_dn_asn1_types( method test_build_ca_request_with_multivalue_rdns (line 4777) | def test_build_ca_request_with_multivalue_rdns( method test_build_nonca_request_with_rsa (line 4808) | def test_build_nonca_request_with_rsa( method test_build_ca_request_with_ec (line 4840) | def test_build_ca_request_with_ec(self, backend): method test_build_ca_request_with_deterministic_ec (line 4876) | def test_build_ca_request_with_deterministic_ec(self, backend): method test_csr_deterministic_wrong_key_type (line 4919) | def test_csr_deterministic_wrong_key_type(self, rsa_key_2048, backend): method test_build_ca_request_with_ed25519 (line 4935) | def test_build_ca_request_with_ed25519(self, backend): method test_build_ca_request_with_ed448 (line 4973) | def test_build_ca_request_with_ed448(self, backend): method test_build_ca_request_with_dsa (line 5011) | def test_build_ca_request_with_dsa(self, backend): method test_add_duplicate_extension (line 5040) | def test_add_duplicate_extension(self): method test_set_invalid_subject (line 5051) | def test_set_invalid_subject(self): method test_add_invalid_extension_type (line 5056) | def test_add_invalid_extension_type(self): method test_add_unsupported_extension (line 5065) | def test_add_unsupported_extension( method test_add_two_extensions (line 5083) | def test_add_two_extensions( method test_add_attributes (line 5117) | def test_add_attributes(self, backend): method test_add_attributes_non_utf8 (line 5175) | def test_add_attributes_non_utf8(self, backend): method test_add_attribute_bad_types (line 5189) | def test_add_attribute_bad_types(self, backend): method test_duplicate_attribute (line 5203) | def test_duplicate_attribute(self, backend): method test_add_attribute_tag (line 5212) | def test_add_attribute_tag(self, backend): method test_add_attribute_tag_non_int (line 5231) | def test_add_attribute_tag_non_int(self, backend): method test_set_subject_twice (line 5242) | def test_set_subject_twice(self): method test_extensions (line 5321) | def test_extensions( method test_invalid_asn1_othername (line 5343) | def test_invalid_asn1_othername( method test_subject_alt_name_unsupported_general_name (line 5369) | def test_subject_alt_name_unsupported_general_name( method test_rsa_key_too_small (line 5388) | def test_rsa_key_too_small(self, rsa_key_512: rsa.RSAPrivateKey, backe... method test_sign_pss (line 5405) | def test_sign_pss( method test_sign_pss_length_options (line 5439) | def test_sign_pss_length_options( method test_sign_pss_auto_unsupported (line 5462) | def test_sign_pss_auto_unsupported( method test_sign_invalid_padding (line 5474) | def test_sign_invalid_padding( method test_sign_pss_hash_none (line 5492) | def test_sign_pss_hash_none( class TestDSACertificate (line 5507) | class TestDSACertificate: method test_load_dsa_cert (line 5514) | def test_load_dsa_cert(self, backend): method test_load_dsa_cert_null_alg_params (line 5564) | def test_load_dsa_cert_null_alg_params(self, backend): method test_signature (line 5579) | def test_signature(self, backend): method test_tbs_certificate_bytes (line 5592) | def test_tbs_certificate_bytes(self, backend): method test_verify_directly_issued_by_dsa (line 5650) | def test_verify_directly_issued_by_dsa(self, backend): method test_verify_directly_issued_by_dsa_bad_sig (line 5658) | def test_verify_directly_issued_by_dsa_bad_sig(self, backend): class TestDSACertificateRequest (line 5677) | class TestDSACertificateRequest: method test_load_dsa_request (line 5691) | def test_load_dsa_request(self, path, loader_func, backend): method test_signature (line 5706) | def test_signature(self, backend): method test_tbs_certrequest_bytes (line 5716) | def test_tbs_certrequest_bytes(self, backend): class TestGOSTCertificate (line 5750) | class TestGOSTCertificate: method test_numeric_string_x509_name_entry (line 5751) | def test_numeric_string_x509_name_entry(self): class TestECDSACertificate (line 5764) | class TestECDSACertificate: method test_load_ecdsa_cert (line 5765) | def test_load_ecdsa_cert(self, backend): method test_load_ecdsa_cert_null_alg_params (line 5796) | def test_load_ecdsa_cert_null_alg_params(self, backend): method test_load_bitstring_dn (line 5811) | def test_load_bitstring_dn(self): method test_load_name_attribute_long_form_asn1_tag (line 5833) | def test_load_name_attribute_long_form_asn1_tag(self, backend): method test_ms_certificate_template (line 5843) | def test_ms_certificate_template(self, backend): method test_signature (line 5859) | def test_signature(self, backend): method test_tbs_certificate_bytes (line 5882) | def test_tbs_certificate_bytes(self, backend): method test_load_ecdsa_no_named_curve (line 5914) | def test_load_ecdsa_no_named_curve(self, backend): method test_verify_directly_issued_by_ec (line 5926) | def test_verify_directly_issued_by_ec(self): method test_verify_directly_issued_by_ec_bad_sig (line 5934) | def test_verify_directly_issued_by_ec_bad_sig(self): class TestECDSACertificateRequest (line 5945) | class TestECDSACertificateRequest: method test_load_ecdsa_certificate_request (line 5959) | def test_load_ecdsa_certificate_request(self, path, loader_func, backe... method test_signature (line 5975) | def test_signature(self, backend): method test_tbs_certrequest_bytes (line 5988) | def test_tbs_certrequest_bytes(self, backend): class TestOtherCertificate (line 6013) | class TestOtherCertificate: method test_unsupported_subject_public_key_info (line 6014) | def test_unsupported_subject_public_key_info(self, backend): method test_bad_time_in_validity (line 6025) | def test_bad_time_in_validity(self, backend): method test_invalid_empty_eku (line 6032) | def test_invalid_empty_eku(self, backend): class TestNameAttribute (line 6042) | class TestNameAttribute: method test_default_types (line 6072) | def test_default_types(self): method test_alternate_type (line 6077) | def test_alternate_type(self): method test_init_bad_oid (line 6083) | def test_init_bad_oid(self): method test_init_bad_value (line 6090) | def test_init_bad_value(self): method test_init_bitstring_not_bytes (line 6097) | def test_init_bitstring_not_bytes(self): method test_init_bitstring_not_allowed_random_oid (line 6103) | def test_init_bitstring_not_allowed_random_oid(self): method test_init_none_value (line 6110) | def test_init_none_value(self): method test_init_bad_length (line 6117) | def test_init_bad_length(self): method test_invalid_type (line 6132) | def test_invalid_type(self): method test_eq (line 6140) | def test_eq(self): method test_ne (line 6145) | def test_ne(self): method test_repr (line 6157) | def test_repr(self): method test_distinguished_name (line 6164) | def test_distinguished_name(self): method test_distinguished_name_custom_attrs (line 6183) | def test_distinguished_name_custom_attrs(self): method test_empty_name (line 6200) | def test_empty_name(self): method test_empty_value (line 6203) | def test_empty_value(self): class TestRelativeDistinguishedName (line 6208) | class TestRelativeDistinguishedName: method test_init_empty (line 6209) | def test_init_empty(self): method test_init_not_nameattribute (line 6213) | def test_init_not_nameattribute(self): method test_init_duplicate_attribute (line 6219) | def test_init_duplicate_attribute(self): method test_hash (line 6232) | def test_hash(self): method test_eq (line 6254) | def test_eq(self): method test_ne (line 6269) | def test_ne(self): method test_iter_input (line 6285) | def test_iter_input(self): method test_get_attributes_for_oid (line 6296) | def test_get_attributes_for_oid(self): class TestObjectIdentifier (line 6304) | class TestObjectIdentifier: method test_eq (line 6305) | def test_eq(self): method test_ne (line 6310) | def test_ne(self): method test_comparison (line 6315) | def test_comparison(self): method test_repr (line 6321) | def test_repr(self): method test_name_property (line 6327) | def test_name_property(self): method test_too_short (line 6333) | def test_too_short(self): method test_invalid_input (line 6337) | def test_invalid_input(self): method test_invalid_node1 (line 6341) | def test_invalid_node1(self): method test_invalid_node2 (line 6345) | def test_invalid_node2(self): method test_valid (line 6349) | def test_valid(self): method test_oid_arc_too_large (line 6356) | def test_oid_arc_too_large(self): class TestName (line 6361) | class TestName: method test_eq (line 6362) | def test_eq(self): method test_ne (line 6377) | def test_ne(self): method test_hash (line 6387) | def test_hash(self): method test_iter_input (line 6405) | def test_iter_input(self): method test_rdns (line 6413) | def test_rdns(self): method test_repr (line 6439) | def test_repr(self, common_name, org_name, expected_repr): method test_rfc4514_attribute_name (line 6449) | def test_rfc4514_attribute_name(self): method test_rfc4514_string (line 6455) | def test_rfc4514_string(self): method test_rfc4514_string_empty_values (line 6476) | def test_rfc4514_string_empty_values(self): method test_not_nameattribute (line 6488) | def test_not_nameattribute(self): method test_bytes (line 6492) | def test_bytes(self, backend): method test_bitstring_encoding (line 6504) | def test_bitstring_encoding(self): method test_bmpstring_bytes (line 6520) | def test_bmpstring_bytes(self, backend): method test_universalstring_bytes (line 6539) | def test_universalstring_bytes(self, backend): class TestEd25519Certificate (line 6562) | class TestEd25519Certificate: method test_load_pem_cert (line 6563) | def test_load_pem_cert(self, backend): method test_deepcopy (line 6579) | def test_deepcopy(self, backend): method test_verify_directly_issued_by_ed25519 (line 6586) | def test_verify_directly_issued_by_ed25519(self, backend): method test_verify_directly_issued_by_ed25519_bad_sig (line 6594) | def test_verify_directly_issued_by_ed25519_bad_sig(self, backend): class TestEd448Certificate (line 6609) | class TestEd448Certificate: method test_load_pem_cert (line 6610) | def test_load_pem_cert(self, backend): method test_verify_directly_issued_by_ed448 (line 6626) | def test_verify_directly_issued_by_ed448(self, backend): method test_verify_directly_issued_by_ed448_bad_sig (line 6634) | def test_verify_directly_issued_by_ed448_bad_sig(self, backend): class TestSignatureRejection (line 6649) | class TestSignatureRejection: method load_key (line 6652) | def load_key(self, backend): method test_crt_signing_check (line 6662) | def test_crt_signing_check(self, rsa_key_2048: rsa.RSAPrivateKey, back... method test_csr_signing_check (line 6684) | def test_csr_signing_check(self, backend): method test_crl_signing_check (line 6693) | def test_crl_signing_check(self, backend): function test_random_serial_number (line 6712) | def test_random_serial_number(monkeypatch): class TestAttribute (line 6727) | class TestAttribute: method test_eq (line 6728) | def test_eq(self): method test_ne (line 6739) | def test_ne(self): method test_repr (line 6762) | def test_repr(self): method test_hash (line 6772) | def test_hash(self): class TestAttributes (line 6792) | class TestAttributes: method test_no_attributes (line 6793) | def test_no_attributes(self): method test_get_attribute_for_oid (line 6797) | def test_get_attribute_for_oid(self): method test_indexing (line 6817) | def test_indexing(self): method test_get_attribute_not_found (line 6842) | def test_get_attribute_not_found(self): method test_repr (line 6850) | def test_repr(self): class TestRequestAttributes (line 6865) | class TestRequestAttributes: method test_get_attribute_for_oid_challenge (line 6866) | def test_get_attribute_for_oid_challenge(self, backend): method test_get_attribute_for_oid_multiple (line 6879) | def test_get_attribute_for_oid_multiple(self, backend): method test_unsupported_asn1_type_in_attribute (line 6899) | def test_unsupported_asn1_type_in_attribute(self, backend): method test_long_form_asn1_tag_in_attribute (line 6912) | def test_long_form_asn1_tag_in_attribute(self, backend): method test_challenge_multivalued (line 6920) | def test_challenge_multivalued(self, backend): method test_no_challenge_password (line 6931) | def test_no_challenge_password(self, backend): method test_no_attributes (line 6942) | def test_no_attributes(self, backend): method test_zero_element_attribute (line 6949) | def test_zero_element_attribute(self): function test_load_pem_x509_certificates (line 6958) | def test_load_pem_x509_certificates(): FILE: tests/x509/test_x509_crlbuilder.py class TestCertificateRevocationListBuilder (line 40) | class TestCertificateRevocationListBuilder: method test_issuer_name_invalid (line 41) | def test_issuer_name_invalid(self): method test_set_issuer_name_twice (line 46) | def test_set_issuer_name_twice(self): method test_aware_last_update (line 55) | def test_aware_last_update(self, rsa_key_2048: rsa.RSAPrivateKey, back... method test_last_update_invalid (line 83) | def test_last_update_invalid(self): method test_last_update_before_1950 (line 88) | def test_last_update_before_1950(self): method test_set_last_update_twice (line 93) | def test_set_last_update_twice(self): method test_aware_next_update (line 100) | def test_aware_next_update(self, rsa_key_2048: rsa.RSAPrivateKey, back... method test_next_update_invalid (line 128) | def test_next_update_invalid(self): method test_next_update_before_1950 (line 133) | def test_next_update_before_1950(self): method test_set_next_update_twice (line 138) | def test_set_next_update_twice(self): method test_last_update_after_next_update (line 145) | def test_last_update_after_next_update(self): method test_next_update_after_last_update (line 152) | def test_next_update_after_last_update(self): method test_add_extension_checks_for_duplicates (line 159) | def test_add_extension_checks_for_duplicates(self): method test_add_invalid_extension (line 167) | def test_add_invalid_extension(self): method test_add_invalid_revoked_certificate (line 173) | def test_add_invalid_revoked_certificate(self): method test_no_issuer_name (line 179) | def test_no_issuer_name(self, rsa_key_2048: rsa.RSAPrivateKey, backend): method test_no_last_update (line 190) | def test_no_last_update(self, rsa_key_2048: rsa.RSAPrivateKey, backend): method test_no_next_update (line 203) | def test_no_next_update(self, rsa_key_2048: rsa.RSAPrivateKey, backend): method test_sign_invalid_padding (line 216) | def test_sign_invalid_padding( method test_sign_empty_list (line 248) | def test_sign_empty_list(self, rsa_key_2048: rsa.RSAPrivateKey, backend): method test_sign_pss (line 279) | def test_sign_pss(self, rsa_key_2048: rsa.RSAPrivateKey, backend): method test_sign_extensions (line 338) | def test_sign_extensions( method test_sign_multiple_extensions_critical (line 367) | def test_sign_multiple_extensions_critical( method test_freshestcrl_extension (line 406) | def test_freshestcrl_extension( method test_add_unsupported_extension (line 450) | def test_add_unsupported_extension( method test_add_unsupported_entry_extension (line 474) | def test_add_unsupported_entry_extension( method test_sign_rsa_key_too_small (line 490) | def test_sign_rsa_key_too_small( method test_sign_with_invalid_hash (line 514) | def test_sign_with_invalid_hash( method test_sign_with_invalid_hash_ed25519 (line 546) | def test_sign_with_invalid_hash_ed25519(self, backend): method test_sign_with_invalid_hash_ed448 (line 578) | def test_sign_with_invalid_hash_ed448(self, backend): method test_sign_dsa_key (line 610) | def test_sign_dsa_key(self, backend): method test_sign_ec_key (line 660) | def test_sign_ec_key(self, backend): method test_sign_ed25519_key (line 715) | def test_sign_ed25519_key(self, backend): method test_sign_ed448_key (line 771) | def test_sign_ed448_key(self, backend): method test_dsa_key_sign_md5 (line 823) | def test_dsa_key_sign_md5(self, backend): method test_ec_key_sign_md5 (line 849) | def test_ec_key_sign_md5(self, backend): method test_sign_with_revoked_certificates (line 876) | def test_sign_with_revoked_certificates( method test_build_crl_with_deterministic_ecdsa_signature (line 958) | def test_build_crl_with_deterministic_ecdsa_signature(self, backend): method test_deterministic_signature_wrong_key_type (line 1005) | def test_deterministic_signature_wrong_key_type( FILE: tests/x509/test_x509_ext.py function _make_certbuilder (line 49) | def _make_certbuilder(private_key): class TestExtension (line 62) | class TestExtension: method test_not_an_oid (line 63) | def test_not_an_oid(self): method test_critical_not_a_bool (line 68) | def test_critical_not_a_bool(self): method test_repr (line 77) | def test_repr(self): method test_eq (line 86) | def test_eq(self): method test_ne (line 99) | def test_ne(self): method test_hash (line 125) | def test_hash(self): class TestTLSFeature (line 145) | class TestTLSFeature: method test_not_enum_type (line 146) | def test_not_enum_type(self): method test_empty_list (line 150) | def test_empty_list(self): method test_repr (line 154) | def test_repr(self): method test_eq (line 160) | def test_eq(self): method test_ne (line 165) | def test_ne(self): method test_hash (line 178) | def test_hash(self): method test_iter (line 190) | def test_iter(self): method test_indexing (line 203) | def test_indexing(self): method test_public_bytes (line 213) | def test_public_bytes(self): class TestUnrecognizedExtension (line 220) | class TestUnrecognizedExtension: method test_invalid_oid (line 221) | def test_invalid_oid(self): method test_eq (line 228) | def test_eq(self): method test_ne (line 237) | def test_ne(self): method test_repr (line 251) | def test_repr(self): method test_hash (line 260) | def test_hash(self): method test_public_bytes (line 273) | def test_public_bytes(self): class TestCertificateIssuer (line 288) | class TestCertificateIssuer: method test_iter_names (line 289) | def test_iter_names(self): method test_indexing (line 299) | def test_indexing(self): method test_eq (line 312) | def test_eq(self): method test_ne (line 317) | def test_ne(self): method test_repr (line 323) | def test_repr(self): method test_get_values_for_type (line 330) | def test_get_values_for_type(self): method test_hash (line 335) | def test_hash(self): method test_public_bytes (line 344) | def test_public_bytes(self): class TestCRLReason (line 349) | class TestCRLReason: method test_invalid_reason_flags (line 350) | def test_invalid_reason_flags(self): method test_eq (line 354) | def test_eq(self): method test_ne (line 359) | def test_ne(self): method test_hash (line 365) | def test_hash(self): method test_repr (line 373) | def test_repr(self): method test_public_bytes (line 377) | def test_public_bytes(self): class TestDeltaCRLIndicator (line 382) | class TestDeltaCRLIndicator: method test_not_int (line 383) | def test_not_int(self): method test_eq (line 387) | def test_eq(self): method test_ne (line 392) | def test_ne(self): method test_repr (line 398) | def test_repr(self): method test_hash (line 402) | def test_hash(self): method test_public_bytes (line 409) | def test_public_bytes(self): class TestInvalidityDate (line 414) | class TestInvalidityDate: method test_invalid_invalidity_date (line 415) | def test_invalid_invalidity_date(self): method test_eq (line 419) | def test_eq(self): method test_ne (line 424) | def test_ne(self): method test_repr (line 430) | def test_repr(self): method test_hash (line 436) | def test_hash(self): method test_public_bytes (line 443) | def test_public_bytes(self): method test_timezone_aware_api (line 447) | def test_timezone_aware_api(self): class TestNoticeReference (line 468) | class TestNoticeReference: method test_notice_numbers_not_all_int (line 469) | def test_notice_numbers_not_all_int(self): method test_notice_numbers_none (line 476) | def test_notice_numbers_none(self): method test_iter_input (line 480) | def test_iter_input(self): method test_repr (line 485) | def test_repr(self): method test_eq (line 492) | def test_eq(self): method test_ne (line 497) | def test_ne(self): method test_hash (line 505) | def test_hash(self): class TestUserNotice (line 513) | class TestUserNotice: method test_notice_reference_invalid (line 514) | def test_notice_reference_invalid(self): method test_notice_reference_none (line 518) | def test_notice_reference_none(self): method test_repr (line 523) | def test_repr(self): method test_eq (line 530) | def test_eq(self): method test_ne (line 537) | def test_ne(self): method test_hash (line 547) | def test_hash(self): class TestPolicyInformation (line 557) | class TestPolicyInformation: method test_invalid_policy_identifier (line 558) | def test_invalid_policy_identifier(self): method test_none_policy_qualifiers (line 562) | def test_none_policy_qualifiers(self): method test_policy_qualifiers (line 567) | def test_policy_qualifiers(self): method test_invalid_policy_identifiers (line 573) | def test_invalid_policy_identifiers(self): method test_iter_input (line 580) | def test_iter_input(self): method test_repr (line 586) | def test_repr(self): method test_eq (line 598) | def test_eq(self): method test_ne (line 609) | def test_ne(self): method test_hash (line 621) | def test_hash(self): class TestCertificatePolicies (line 635) | class TestCertificatePolicies: method test_invalid_policies (line 636) | def test_invalid_policies(self): method test_iter_len (line 642) | def test_iter_len(self): method test_iter_input (line 650) | def test_iter_input(self): method test_repr (line 657) | def test_repr(self): method test_eq (line 667) | def test_eq(self): method test_ne (line 676) | def test_ne(self): method test_indexing (line 686) | def test_indexing(self): method test_long_oid (line 696) | def test_long_oid(self, backend): method test_hash (line 714) | def test_hash(self): class TestCertificatePoliciesExtension (line 729) | class TestCertificatePoliciesExtension: method test_cps_uri_policy_qualifier (line 730) | def test_cps_uri_policy_qualifier(self, backend): method test_user_notice_with_notice_reference (line 749) | def test_user_notice_with_notice_reference(self, backend): method test_user_notice_with_explicit_text (line 777) | def test_user_notice_with_explicit_text(self, backend): method test_user_notice_no_explicit_text (line 798) | def test_user_notice_no_explicit_text(self, backend): method test_non_ascii_qualifier (line 823) | def test_non_ascii_qualifier( method test_public_bytes (line 859) | def test_public_bytes(self): class TestKeyUsage (line 880) | class TestKeyUsage: method test_key_agreement_false_encipher_decipher_true (line 881) | def test_key_agreement_false_encipher_decipher_true(self): method test_properties_key_agreement_true (line 921) | def test_properties_key_agreement_true(self): method test_key_agreement_true_properties (line 941) | def test_key_agreement_true_properties(self): method test_key_agreement_false_properties (line 957) | def test_key_agreement_false_properties(self): method test_repr_key_agreement_false (line 976) | def test_repr_key_agreement_false(self): method test_repr_key_agreement_true (line 995) | def test_repr_key_agreement_true(self): method test_eq (line 1014) | def test_eq(self): method test_ne (line 1039) | def test_ne(self): method test_hash (line 1065) | def test_hash(self): method test_public_bytes (line 1177) | def test_public_bytes(self, ext, serialized): class TestSubjectKeyIdentifier (line 1181) | class TestSubjectKeyIdentifier: method test_properties (line 1182) | def test_properties(self): method test_repr (line 1188) | def test_repr(self): method test_eq (line 1200) | def test_eq(self): method test_ne (line 1209) | def test_ne(self): method test_hash (line 1219) | def test_hash(self): method test_public_bytes (line 1232) | def test_public_bytes(self): class TestAuthorityKeyIdentifier (line 1243) | class TestAuthorityKeyIdentifier: method test_authority_cert_issuer_not_generalname (line 1244) | def test_authority_cert_issuer_not_generalname(self): method test_authority_cert_serial_number_not_integer (line 1252) | def test_authority_cert_serial_number_not_integer(self): method test_authority_issuer_none_serial_not_none (line 1272) | def test_authority_issuer_none_serial_not_none(self): method test_authority_issuer_not_none_serial_none (line 1276) | def test_authority_issuer_not_none_serial_none(self): method test_authority_cert_serial_and_issuer_none (line 1292) | def test_authority_cert_serial_and_issuer_none(self): method test_authority_cert_serial_zero (line 1298) | def test_authority_cert_serial_zero(self): method test_iter_input (line 1305) | def test_iter_input(self): method test_repr (line 1315) | def test_repr(self): method test_eq (line 1327) | def test_eq(self): method test_ne (line 1338) | def test_ne(self): method test_hash (line 1356) | def test_hash(self): method test_public_bytes (line 1366) | def test_public_bytes(self): class TestBasicConstraints (line 1378) | class TestBasicConstraints: method test_ca_not_boolean (line 1379) | def test_ca_not_boolean(self): method test_path_length_not_ca (line 1386) | def test_path_length_not_ca(self): method test_path_length_not_int (line 1390) | def test_path_length_not_int(self): method test_path_length_negative (line 1403) | def test_path_length_negative(self): method test_repr (line 1407) | def test_repr(self): method test_hash (line 1411) | def test_hash(self): method test_eq (line 1418) | def test_eq(self): method test_ne (line 1423) | def test_ne(self): method test_public_bytes (line 1431) | def test_public_bytes(self): class TestExtendedKeyUsage (line 1436) | class TestExtendedKeyUsage: method test_not_all_oids (line 1437) | def test_not_all_oids(self): method test_iter_len (line 1441) | def test_iter_len(self): method test_iter_input (line 1454) | def test_iter_input(self): method test_repr (line 1462) | def test_repr(self): method test_eq (line 1475) | def test_eq(self): method test_ne (line 1484) | def test_ne(self): method test_hash (line 1490) | def test_hash(self): method test_public_bytes (line 1501) | def test_public_bytes(self): class TestExtensions (line 1508) | class TestExtensions: method test_no_extensions (line 1509) | def test_no_extensions(self, backend): method test_one_extension (line 1522) | def test_one_extension(self, backend): method test_duplicate_extension (line 1533) | def test_duplicate_extension(self, backend): method test_unsupported_critical_extension (line 1543) | def test_unsupported_critical_extension(self, backend): method test_unsupported_extension (line 1556) | def test_unsupported_extension(self, backend): method test_no_extensions_get_for_class (line 1579) | def test_no_extensions_get_for_class(self, backend): method test_unrecognized_extension_for_class (line 1589) | def test_unrecognized_extension_for_class(self): method test_indexing (line 1594) | def test_indexing(self, backend): method test_one_extension_get_for_class (line 1603) | def test_one_extension_get_for_class(self, backend): method test_repr (line 1613) | def test_repr(self, backend): class TestBasicConstraintsExtension (line 1627) | class TestBasicConstraintsExtension: method test_ca_true_pathlen_6 (line 1628) | def test_ca_true_pathlen_6(self, backend): method test_path_length_zero (line 1641) | def test_path_length_zero(self, backend): method test_ca_true_no_pathlen (line 1652) | def test_ca_true_no_pathlen(self, backend): method test_ca_false (line 1663) | def test_ca_false(self, backend): method test_no_basic_constraints (line 1674) | def test_no_basic_constraints(self, backend): method test_basic_constraint_not_critical (line 1689) | def test_basic_constraint_not_critical(self, backend): class TestSubjectKeyIdentifierExtension (line 1702) | class TestSubjectKeyIdentifierExtension: method test_subject_key_identifier (line 1703) | def test_subject_key_identifier(self, backend): method test_no_subject_key_identifier (line 1718) | def test_no_subject_key_identifier(self, backend): method test_from_rsa_public_key (line 1728) | def test_from_rsa_public_key(self, backend): method test_from_dsa_public_key (line 1743) | def test_from_dsa_public_key(self, backend): method test_invalid_bit_string_padding_from_public_key (line 1755) | def test_invalid_bit_string_padding_from_public_key(self, backend): method test_from_ec_public_key (line 1778) | def test_from_ec_public_key(self, backend): method test_from_ed25519_public_key (line 1795) | def test_from_ed25519_public_key(self, backend): method test_from_ed448_public_key (line 1811) | def test_from_ed448_public_key(self, backend): class TestKeyUsageExtension (line 1824) | class TestKeyUsageExtension: method test_no_key_usage (line 1825) | def test_no_key_usage(self, backend): method test_all_purposes (line 1836) | def test_all_purposes(self, backend): method test_key_cert_sign_crl_sign (line 1855) | def test_key_cert_sign_crl_sign(self, backend): class TestPrivateKeyUsagePeriodExtension (line 1876) | class TestPrivateKeyUsagePeriodExtension: method test_not_validity (line 1877) | def test_not_validity(self): method test_repr (line 1881) | def test_repr(self): method test_eq (line 1891) | def test_eq(self): method test_ne (line 1902) | def test_ne(self): method test_hash (line 1914) | def test_hash(self): method test_both_none (line 1930) | def test_both_none(self): method test_invalid_not_after_type (line 1937) | def test_invalid_not_after_type(self): method test_not_before_after_not_after (line 1944) | def test_not_before_after_not_after(self): method test_public_bytes (line 1953) | def test_public_bytes(self): method test_only_not_before (line 1966) | def test_only_not_before(self): method test_only_not_after (line 1981) | def test_only_not_after(self): method test_load_pem_certificate_with_extension (line 1996) | def test_load_pem_certificate_with_extension(self, backend): method test_load_pem_only_not_before (line 2015) | def test_load_pem_only_not_before(self, backend): method test_load_pem_only_not_after (line 2031) | def test_load_pem_only_not_after(self, backend): method test_certificate_builder_with_extension (line 2049) | def test_certificate_builder_with_extension(self, backend): class TestDNSName (line 2093) | class TestDNSName: method test_non_a_label (line 2094) | def test_non_a_label(self): method test_init (line 2098) | def test_init(self): method test_ne (line 2108) | def test_ne(self): method test_hash (line 2115) | def test_hash(self): class TestDirectoryName (line 2123) | class TestDirectoryName: method test_not_name (line 2124) | def test_not_name(self): method test_repr (line 2131) | def test_repr(self): method test_eq (line 2136) | def test_eq(self): method test_ne (line 2147) | def test_ne(self): method test_hash (line 2159) | def test_hash(self): class TestRFC822Name (line 2173) | class TestRFC822Name: method test_repr (line 2174) | def test_repr(self): method test_equality (line 2178) | def test_equality(self): method test_not_text (line 2186) | def test_not_text(self): method test_invalid_email (line 2193) | def test_invalid_email(self): method test_single_label (line 2200) | def test_single_label(self): method test_non_a_label (line 2204) | def test_non_a_label(self): method test_hash (line 2208) | def test_hash(self): class TestUniformResourceIdentifier (line 2217) | class TestUniformResourceIdentifier: method test_equality (line 2218) | def test_equality(self): method test_not_text (line 2226) | def test_not_text(self): method test_no_parsed_hostname (line 2230) | def test_no_parsed_hostname(self): method test_with_port (line 2234) | def test_with_port(self): method test_non_a_label (line 2238) | def test_non_a_label(self): method test_empty_hostname (line 2244) | def test_empty_hostname(self): method test_hash (line 2248) | def test_hash(self): method test_repr (line 2256) | def test_repr(self): class TestRegisteredID (line 2261) | class TestRegisteredID: method test_not_oid (line 2262) | def test_not_oid(self): method test_repr (line 2269) | def test_repr(self): method test_eq (line 2276) | def test_eq(self): method test_ne (line 2281) | def test_ne(self): method test_hash (line 2287) | def test_hash(self): class TestIPAddress (line 2295) | class TestIPAddress: method test_not_ipaddress (line 2296) | def test_not_ipaddress(self): method test_repr (line 2303) | def test_repr(self): method test_eq (line 2316) | def test_eq(self): method test_ne (line 2321) | def test_ne(self): method test_hash (line 2327) | def test_hash(self): class TestOtherName (line 2335) | class TestOtherName: method test_invalid_args (line 2336) | def test_invalid_args(self): method test_repr (line 2349) | def test_repr(self): method test_eq (line 2362) | def test_eq(self): method test_ne (line 2367) | def test_ne(self): method test_hash (line 2377) | def test_hash(self): class TestGeneralNames (line 2385) | class TestGeneralNames: method test_get_values_for_type (line 2386) | def test_get_values_for_type(self): method test_iter_names (line 2391) | def test_iter_names(self): method test_iter_input (line 2401) | def test_iter_input(self): method test_indexing (line 2409) | def test_indexing(self): method test_invalid_general_names (line 2422) | def test_invalid_general_names(self): method test_repr (line 2432) | def test_repr(self): method test_eq (line 2438) | def test_eq(self): method test_ne (line 2443) | def test_ne(self): method test_hash (line 2449) | def test_hash(self): class TestIssuerAlternativeName (line 2457) | class TestIssuerAlternativeName: method test_get_values_for_type (line 2458) | def test_get_values_for_type(self): method test_iter_names (line 2463) | def test_iter_names(self): method test_indexing (line 2473) | def test_indexing(self): method test_invalid_general_names (line 2486) | def test_invalid_general_names(self): method test_repr (line 2496) | def test_repr(self): method test_eq (line 2503) | def test_eq(self): method test_ne (line 2508) | def test_ne(self): method test_hash (line 2516) | def test_hash(self): method test_public_bytes (line 2525) | def test_public_bytes(self): class TestRSAIssuerAlternativeNameExtension (line 2530) | class TestRSAIssuerAlternativeNameExtension: method test_uri (line 2531) | def test_uri(self, backend): method test_malformed (line 2543) | def test_malformed(self): class TestCRLNumber (line 2552) | class TestCRLNumber: method test_eq (line 2553) | def test_eq(self): method test_ne (line 2557) | def test_ne(self): method test_repr (line 2562) | def test_repr(self): method test_invalid_number (line 2566) | def test_invalid_number(self): method test_hash (line 2570) | def test_hash(self): method test_public_bytes (line 2577) | def test_public_bytes(self): class TestSubjectAlternativeName (line 2582) | class TestSubjectAlternativeName: method test_get_values_for_type (line 2583) | def test_get_values_for_type(self): method test_iter_names (line 2588) | def test_iter_names(self): method test_indexing (line 2598) | def test_indexing(self): method test_invalid_general_names (line 2611) | def test_invalid_general_names(self): method test_repr (line 2621) | def test_repr(self): method test_eq (line 2628) | def test_eq(self): method test_ne (line 2633) | def test_ne(self): method test_hash (line 2641) | def test_hash(self): method test_public_bytes (line 2650) | def test_public_bytes(self): class TestRSASubjectAlternativeNameExtension (line 2655) | class TestRSASubjectAlternativeNameExtension: method test_dns_name (line 2656) | def test_dns_name(self, backend): method test_wildcard_dns_name (line 2672) | def test_wildcard_dns_name(self, backend): method test_san_empty_hostname (line 2689) | def test_san_empty_hostname(self, backend): method test_san_wildcard_idna_dns_name (line 2702) | def test_san_wildcard_idna_dns_name(self, backend): method test_unsupported_gn (line 2714) | def test_unsupported_gn(self, backend): method test_registered_id (line 2722) | def test_registered_id(self, backend): method test_uri (line 2737) | def test_uri(self, backend): method test_ipaddress (line 2752) | def test_ipaddress(self, backend): method test_dirname (line 2771) | def test_dirname(self, backend): method test_rfc822name (line 2797) | def test_rfc822name(self, backend): method test_idna2003_invalid (line 2813) | def test_idna2003_invalid(self, backend): method test_unicode_rfc822_name_dns_name_uri (line 2826) | def test_unicode_rfc822_name_dns_name_uri(self, backend): method test_rfc822name_dnsname_ipaddress_directoryname_uri (line 2842) | def test_rfc822name_dnsname_ipaddress_directoryname_uri(self, backend): method test_invalid_rfc822name (line 2878) | def test_invalid_rfc822name(self, backend): method test_other_name (line 2895) | def test_other_name(self, backend): method test_certbuilder (line 2916) | def test_certbuilder(self, rsa_key_2048: rsa.RSAPrivateKey, backend): method test_malformed (line 2937) | def test_malformed(self): class TestExtendedKeyUsageExtension (line 2946) | class TestExtendedKeyUsageExtension: method test_eku (line 2947) | def test_eku(self, backend): class TestAccessDescription (line 2968) | class TestAccessDescription: method test_invalid_access_method (line 2969) | def test_invalid_access_method(self): method test_invalid_access_location (line 2976) | def test_invalid_access_location(self): method test_valid_nonstandard_method (line 2983) | def test_valid_nonstandard_method(self): method test_repr (line 2990) | def test_repr(self): method test_eq (line 3001) | def test_eq(self): method test_ne (line 3012) | def test_ne(self): method test_hash (line 3029) | def test_hash(self): class TestPolicyConstraints (line 3046) | class TestPolicyConstraints: method test_invalid_explicit_policy (line 3047) | def test_invalid_explicit_policy(self): method test_invalid_inhibit_policy (line 3051) | def test_invalid_inhibit_policy(self): method test_both_none (line 3055) | def test_both_none(self): method test_repr (line 3059) | def test_repr(self): method test_eq (line 3067) | def test_eq(self): method test_ne (line 3072) | def test_ne(self): method test_hash (line 3080) | def test_hash(self): method test_public_bytes (line 3087) | def test_public_bytes(self): class TestPolicyConstraintsExtension (line 3092) | class TestPolicyConstraintsExtension: method test_inhibit_policy_mapping (line 3093) | def test_inhibit_policy_mapping(self, backend): method test_require_explicit_policy (line 3108) | def test_require_explicit_policy(self, backend): method test_public_bytes (line 3122) | def test_public_bytes(self): class TestAuthorityInformationAccess (line 3130) | class TestAuthorityInformationAccess: method test_invalid_descriptions (line 3131) | def test_invalid_descriptions(self): method test_iter_len (line 3137) | def test_iter_len(self): method test_iter_input (line 3162) | def test_iter_input(self): method test_repr (line 3172) | def test_repr(self): method test_eq (line 3195) | def test_eq(self): method test_ne (line 3222) | def test_ne(self): method test_indexing (line 3247) | def test_indexing(self): method test_hash (line 3275) | def test_hash(self): method test_public_bytes (line 3315) | def test_public_bytes(self): class TestSubjectInformationAccess (line 3336) | class TestSubjectInformationAccess: method test_invalid_descriptions (line 3337) | def test_invalid_descriptions(self): method test_iter_len (line 3343) | def test_iter_len(self): method test_iter_input (line 3368) | def test_iter_input(self): method test_repr (line 3378) | def test_repr(self): method test_eq (line 3394) | def test_eq(self): method test_ne (line 3421) | def test_ne(self): method test_indexing (line 3446) | def test_indexing(self): method test_hash (line 3474) | def test_hash(self): method test_public_bytes (line 3514) | def test_public_bytes(self): class TestSubjectInformationAccessExtension (line 3535) | class TestSubjectInformationAccessExtension: method test_sia (line 3536) | def test_sia(self, backend): class TestAuthorityInformationAccessExtension (line 3563) | class TestAuthorityInformationAccessExtension: method test_aia_ocsp_ca_issuers (line 3564) | def test_aia_ocsp_ca_issuers(self, backend): method test_aia_multiple_ocsp_ca_issuers (line 3590) | def test_aia_multiple_ocsp_ca_issuers(self, backend): method test_aia_ocsp_only (line 3629) | def test_aia_ocsp_only(self, backend): method test_aia_ca_issuers_only (line 3649) | def test_aia_ca_issuers_only(self, backend): method test_public_bytes (line 3680) | def test_public_bytes(self): class TestAuthorityKeyIdentifierExtension (line 3708) | class TestAuthorityKeyIdentifierExtension: method test_aki_keyid (line 3709) | def test_aki_keyid(self, backend): method test_aki_all_fields (line 3726) | def test_aki_all_fields(self, backend): method test_aki_no_keyid (line 3754) | def test_aki_no_keyid(self, backend): method test_from_certificate (line 3782) | def test_from_certificate(self, backend): method test_from_issuer_subject_key_identifier (line 3799) | def test_from_issuer_subject_key_identifier(self, backend): class TestNameConstraints (line 3820) | class TestNameConstraints: method test_ipaddress_wrong_type (line 3821) | def test_ipaddress_wrong_type(self): method test_ipaddress_allowed_type (line 3838) | def test_ipaddress_allowed_type(self): method test_dnsname_wrong_value (line 3847) | def test_dnsname_wrong_value(self): method test_dnsname_allowed_value (line 3860) | def test_dnsname_allowed_value(self): method test_invalid_permitted_subtrees (line 3869) | def test_invalid_permitted_subtrees(self): method test_invalid_excluded_subtrees (line 3873) | def test_invalid_excluded_subtrees(self): method test_no_subtrees (line 3877) | def test_no_subtrees(self): method test_permitted_none (line 3881) | def test_permitted_none(self): method test_excluded_none (line 3889) | def test_excluded_none(self): method test_iter_input (line 3897) | def test_iter_input(self): method test_empty_lists (line 3905) | def test_empty_lists(self): method test_repr (line 3911) | def test_repr(self): method test_eq (line 3922) | def test_eq(self): method test_ne (line 3933) | def test_ne(self): method test_hash (line 3951) | def test_hash(self): method test_public_bytes (line 3972) | def test_public_bytes(self): class TestNameConstraintsExtension (line 3983) | class TestNameConstraintsExtension: method test_permitted_excluded (line 3984) | def test_permitted_excluded(self, backend): method test_permitted (line 4003) | def test_permitted(self, backend): method test_permitted_with_leading_period (line 4016) | def test_permitted_with_leading_period(self, backend): method test_excluded_with_leading_period (line 4032) | def test_excluded_with_leading_period(self, backend): method test_permitted_excluded_with_ips (line 4048) | def test_permitted_excluded_with_ips(self, backend): method test_single_ip_netmask (line 4067) | def test_single_ip_netmask(self, backend): method test_ip_invalid_length (line 4083) | def test_ip_invalid_length(self, backend): method test_invalid_ipv6_netmask (line 4093) | def test_invalid_ipv6_netmask(self, backend): method test_invalid_ipv4_netmask (line 4103) | def test_invalid_ipv4_netmask(self, backend): method test_certbuilder (line 4113) | def test_certbuilder(self, rsa_key_2048: rsa.RSAPrivateKey, backend): method test_public_bytes (line 4138) | def test_public_bytes(self): class TestDistributionPoint (line 4156) | class TestDistributionPoint: method test_distribution_point_full_name_not_general_names (line 4157) | def test_distribution_point_full_name_not_general_names(self): method test_distribution_point_relative_name_not_name (line 4166) | def test_distribution_point_relative_name_not_name(self): method test_distribution_point_full_and_relative_not_none (line 4175) | def test_distribution_point_full_and_relative_not_none(self): method test_no_full_name_relative_name_or_crl_issuer (line 4186) | def test_no_full_name_relative_name_or_crl_issuer(self): method test_crl_issuer_not_general_names (line 4190) | def test_crl_issuer_not_general_names(self): method test_reason_not_reasonflags (line 4199) | def test_reason_not_reasonflags(self): method test_reason_not_frozenset (line 4208) | def test_reason_not_frozenset(self): method test_disallowed_reasons (line 4217) | def test_disallowed_reasons(self): method test_reason_only (line 4234) | def test_reason_only(self): method test_eq (line 4240) | def test_eq(self): method test_ne (line 4275) | def test_ne(self): method test_iter_input (line 4301) | def test_iter_input(self): method test_repr (line 4321) | def test_repr(self): method test_hash (line 4347) | def test_hash(self): class TestFreshestCRL (line 4392) | class TestFreshestCRL: method test_invalid_distribution_points (line 4393) | def test_invalid_distribution_points(self): method test_iter_len (line 4399) | def test_iter_len(self): method test_iter_input (line 4420) | def test_iter_input(self): method test_repr (line 4432) | def test_repr(self): method test_eq (line 4450) | def test_eq(self): method test_ne (line 4483) | def test_ne(self): method test_hash (line 4544) | def test_hash(self): method test_indexing (line 4588) | def test_indexing(self): method test_public_bytes (line 4626) | def test_public_bytes(self): class TestCRLDistributionPoints (line 4643) | class TestCRLDistributionPoints: method test_invalid_distribution_points (line 4644) | def test_invalid_distribution_points(self): method test_iter_len (line 4650) | def test_iter_len(self): method test_iter_input (line 4693) | def test_iter_input(self): method test_repr (line 4705) | def test_repr(self): method test_eq (line 4723) | def test_eq(self): method test_ne (line 4756) | def test_ne(self): method test_hash (line 4817) | def test_hash(self): method test_indexing (line 4861) | def test_indexing(self): method test_public_bytes (line 4899) | def test_public_bytes(self): class TestCRLDistributionPointsExtension (line 4922) | class TestCRLDistributionPointsExtension: method test_fullname_and_crl_issuer (line 4923) | def test_fullname_and_crl_issuer(self, backend): method test_relativename_and_crl_issuer (line 4986) | def test_relativename_and_crl_issuer(self, backend): method test_fullname_crl_issuer_reasons (line 5034) | def test_fullname_crl_issuer_reasons(self, backend): method test_all_reasons (line 5082) | def test_all_reasons(self, backend): method test_single_reason (line 5118) | def test_single_reason(self, backend): method test_crl_issuer_only (line 5143) | def test_crl_issuer_only(self, backend): method test_crl_empty_hostname (line 5174) | def test_crl_empty_hostname(self, backend): method test_public_bytes (line 5199) | def test_public_bytes(self): class TestFreshestCRLExtension (line 5220) | class TestFreshestCRLExtension: method test_vector (line 5221) | def test_vector(self, backend): method test_public_bytes (line 5264) | def test_public_bytes(self): class TestOCSPNoCheckExtension (line 5310) | class TestOCSPNoCheckExtension: method test_nocheck (line 5311) | def test_nocheck(self, backend): method test_eq (line 5319) | def test_eq(self): method test_hash (line 5325) | def test_hash(self): method test_ne (line 5331) | def test_ne(self): method test_repr (line 5339) | def test_repr(self): method test_public_bytes (line 5344) | def test_public_bytes(self): class TestInhibitAnyPolicy (line 5349) | class TestInhibitAnyPolicy: method test_not_int (line 5350) | def test_not_int(self): method test_negative_int (line 5354) | def test_negative_int(self): method test_repr (line 5358) | def test_repr(self): method test_eq (line 5362) | def test_eq(self): method test_ne (line 5367) | def test_ne(self): method test_hash (line 5373) | def test_hash(self): method test_public_bytes (line 5380) | def test_public_bytes(self): class TestInhibitAnyPolicyExtension (line 5385) | class TestInhibitAnyPolicyExtension: method test_inhibit_any_policy (line 5386) | def test_inhibit_any_policy(self, backend): class TestIssuingDistributionPointExtension (line 5397) | class TestIssuingDistributionPointExtension: method test_vectors (line 5549) | def test_vectors(self, filename, expected, backend): method test_invalid_init (line 5619) | def test_invalid_init( method test_repr (line 5641) | def test_repr(self): method test_eq (line 5659) | def test_eq(self): method test_ne (line 5692) | def test_ne(self): method test_hash (line 5726) | def test_hash(self): method test_hash_with_full_name (line 5751) | def test_hash_with_full_name(self): method test_generate (line 5904) | def test_generate(self, rsa_key_2048: rsa.RSAPrivateKey, idp, backend): method test_public_bytes (line 5931) | def test_public_bytes(self): class TestPrecertPoisonExtension (line 5954) | class TestPrecertPoisonExtension: method test_load (line 5955) | def test_load(self, backend): method test_generate (line 5969) | def test_generate(self, rsa_key_2048: rsa.RSAPrivateKey, backend): method test_eq (line 5981) | def test_eq(self): method test_hash (line 5987) | def test_hash(self): method test_ne (line 5993) | def test_ne(self): method test_repr (line 6001) | def test_repr(self): method test_public_bytes (line 6006) | def test_public_bytes(self): class TestSignedCertificateTimestamps (line 6011) | class TestSignedCertificateTimestamps: method test_eq (line 6012) | def test_eq(self, backend): method test_ne (line 6035) | def test_ne(self, backend): method test_hash (line 6059) | def test_hash(self, backend): method test_public_bytes (line 6093) | def test_public_bytes(self, backend): class TestPrecertificateSignedCertificateTimestampsExtension (line 6134) | class TestPrecertificateSignedCertificateTimestampsExtension: method test_init (line 6135) | def test_init(self): method test_repr (line 6141) | def test_repr(self): method test_eq (line 6146) | def test_eq(self, backend): method test_ne (line 6169) | def test_ne(self, backend): method test_ordering (line 6193) | def test_ordering(self, backend): method test_hash (line 6217) | def test_hash(self, backend): method test_simple (line 6251) | def test_simple(self, backend): method test_generate (line 6288) | def test_generate(self, rsa_key_2048: rsa.RSAPrivateKey, backend): method test_invalid_version (line 6310) | def test_invalid_version(self, backend): method test_invalid_hash_algorithm (line 6318) | def test_invalid_hash_algorithm(self, backend): method test_invalid_signature_algorithm (line 6328) | def test_invalid_signature_algorithm(self, backend): method test_invalid_length (line 6339) | def test_invalid_length(self, backend): method test_public_bytes (line 6347) | def test_public_bytes(self, backend): class TestInvalidExtension (line 6375) | class TestInvalidExtension: method test_invalid_certificate_policies_data (line 6376) | def test_invalid_certificate_policies_data(self, backend): class TestOCSPNonce (line 6394) | class TestOCSPNonce: method test_non_bytes (line 6395) | def test_non_bytes(self): method test_eq (line 6399) | def test_eq(self): method test_ne (line 6404) | def test_ne(self): method test_repr (line 6410) | def test_repr(self): method test_hash (line 6414) | def test_hash(self): method test_public_bytes (line 6421) | def test_public_bytes(self): class TestOCSPAcceptableResponses (line 6426) | class TestOCSPAcceptableResponses: method test_invalid_types (line 6427) | def test_invalid_types(self): method test_eq (line 6433) | def test_eq(self): method test_ne (line 6442) | def test_ne(self): method test_repr (line 6452) | def test_repr(self): method test_hash (line 6459) | def test_hash(self): method test_iter (line 6473) | def test_iter(self): method test_public_bytes (line 6480) | def test_public_bytes(self): class TestMSCertificateTemplate (line 6493) | class TestMSCertificateTemplate: method test_invalid_type (line 6494) | def test_invalid_type(self): method test_eq (line 6515) | def test_eq(self): method test_ne (line 6524) | def test_ne(self): method test_repr (line 6542) | def test_repr(self): method test_hash (line 6551) | def test_hash(self): method test_public_bytes (line 6569) | def test_public_bytes(self): class TestNamingAuthority (line 6582) | class TestNamingAuthority: method test_invalid_init (line 6583) | def test_invalid_init(self): method test_eq (line 6603) | def test_eq(self): method test_ne (line 6616) | def test_ne(self): method test_repr (line 6642) | def test_repr(self): method test_hash (line 6657) | def test_hash(self): class TestProfessionInfo (line 6688) | class TestProfessionInfo: method test_invalid_init (line 6689) | def test_invalid_init(self): method test_eq (line 6739) | def test_eq(self): method test_ne (line 6768) | def test_ne(self): method test_repr (line 6836) | def test_repr(self): method test_hash (line 6878) | def test_hash(self): class TestAdmission (line 6941) | class TestAdmission: method test_invalid_init (line 6942) | def test_invalid_init(self): method test_eq (line 6968) | def test_eq(self): method test_ne (line 7019) | def test_ne(self): method test_repr (line 7114) | def test_repr(self): method test_hash (line 7165) | def test_hash(self): class TestAdmissions (line 7268) | class TestAdmissions: method test_invalid_init (line 7269) | def test_invalid_init(self): method test_eq (line 7291) | def test_eq(self): method test_ne (line 7306) | def test_ne(self): method test_repr (line 7325) | def test_repr(self): method test_hash (line 7345) | def test_hash(self): method test_public_bytes (line 7367) | def test_public_bytes(self): function test_all_extension_oid_members_have_names_defined (line 7523) | def test_all_extension_oid_members_have_names_defined(): function test_unknown_extension (line 7530) | def test_unknown_extension(): FILE: tests/x509/test_x509_revokedcertbuilder.py class TestRevokedCertificateBuilder (line 13) | class TestRevokedCertificateBuilder: method test_serial_number_must_be_integer (line 14) | def test_serial_number_must_be_integer(self): method test_serial_number_must_be_non_negative (line 20) | def test_serial_number_must_be_non_negative(self): method test_serial_number_must_be_positive (line 24) | def test_serial_number_must_be_positive(self): method test_minimal_serial_number (line 28) | def test_minimal_serial_number(self, backend): method test_biggest_serial_number (line 39) | def test_biggest_serial_number(self, backend): method test_serial_number_must_be_less_than_160_bits_long (line 50) | def test_serial_number_must_be_less_than_160_bits_long(self): method test_set_serial_number_twice (line 54) | def test_set_serial_number_twice(self): method test_aware_revocation_date (line 59) | def test_aware_revocation_date(self, backend): method test_revocation_date_invalid (line 77) | def test_revocation_date_invalid(self): method test_revocation_date_before_1950 (line 83) | def test_revocation_date_before_1950(self): method test_set_revocation_date_twice (line 89) | def test_set_revocation_date_twice(self): method test_add_extension_checks_for_duplicates (line 96) | def test_add_extension_checks_for_duplicates(self): method test_add_invalid_extension (line 106) | def test_add_invalid_extension(self): method test_no_serial_number (line 113) | def test_no_serial_number(self, backend): method test_no_revocation_date (line 121) | def test_no_revocation_date(self, backend): method test_create_revoked (line 127) | def test_create_revoked(self, backend): method test_add_extensions (line 154) | def test_add_extensions(self, backend, extension): method test_add_multiple_extensions (line 179) | def test_add_multiple_extensions(self, backend): FILE: tests/x509/verification/test_limbo.py function _get_limbo_peer (line 101) | def _get_limbo_peer(expected_peer): function _limbo_testcase (line 113) | def _limbo_testcase(id_, testcase): function test_limbo (line 194) | def test_limbo(subtests, pytestconfig): FILE: tests/x509/verification/test_verification.py function dummy_store (line 31) | def dummy_store() -> Store: class TestPolicyBuilder (line 39) | class TestPolicyBuilder: method test_time_already_set (line 40) | def test_time_already_set(self): method test_store_already_set (line 46) | def test_store_already_set(self): method test_max_chain_depth_already_set (line 50) | def test_max_chain_depth_already_set(self): method test_ipaddress_subject (line 54) | def test_ipaddress_subject(self): method test_dnsname_subject (line 62) | def test_dnsname_subject(self): method test_subject_bad_types (line 70) | def test_subject_bad_types(self): method test_builder_pattern (line 87) | def test_builder_pattern(self): method test_build_server_verifier_missing_store (line 112) | def test_build_server_verifier_missing_store(self): class TestStore (line 119) | class TestStore: method test_store_rejects_empty_list (line 120) | def test_store_rejects_empty_list(self): method test_store_rejects_non_certificates (line 124) | def test_store_rejects_non_certificates(self): class TestClientVerifier (line 129) | class TestClientVerifier: method test_build_client_verifier_missing_store (line 130) | def test_build_client_verifier_missing_store(self): method test_verify (line 136) | def test_verify(self): method test_verify_fails_renders_oid (line 179) | def test_verify_fails_renders_oid(self): class TestServerVerifier (line 206) | class TestServerVerifier: method test_verify_tz_aware (line 216) | def test_verify_tz_aware(self, validation_time, valid): method test_error_message (line 240) | def test_error_message(self): class TestCustomExtensionPolicies (line 271) | class TestCustomExtensionPolicies: method test_builder_methods (line 285) | def test_builder_methods(self): method test_unsupported_extension (line 317) | def test_unsupported_extension(self): method _make_validator_cb (line 333) | def _make_validator_cb(extension_type: Type[ExtensionType]): method test_require_not_present (line 347) | def test_require_not_present(self): method test_require_present (line 371) | def test_require_present(self): method test_criticality_constraints (line 403) | def test_criticality_constraints(self): method test_custom_cb_pass (line 442) | def test_custom_cb_pass(self, extension_type: Type[x509.ExtensionType]): method test_custom_cb_exception_fails_verification (line 477) | def test_custom_cb_exception_fails_verification(self, extension_type): method test_custom_cb_no_retval_enforced (line 513) | def test_custom_cb_no_retval_enforced(self): method test_no_subject_alt_name (line 541) | def test_no_subject_alt_name(self): method test_ca_ext_policy_must_require_basic_constraints (line 587) | def test_ca_ext_policy_must_require_basic_constraints(self): method test_wrong_subject_alt_name (line 620) | def test_wrong_subject_alt_name(self): FILE: vectors/cryptography_vectors/__init__.py function open_vector_file (line 15) | def open_vector_file(filename: str, mode: str) -> typing.IO: