MCPcopy Create free account

hub / github.com/pyca/cryptography / functions

Functions3,887 in github.com/pyca/cryptography

↓ 234 callersFunction_load_cert
(filename, loader: typing.Callable[..., T])
tests/x509/test_x509.py:78
↓ 230 callersMethodpublic_key
Returns the public key
src/cryptography/x509/base.py:186
↓ 230 callersMethodunhexlify
(String line)
docs/development/custom-vectors/rsa-oaep-sha2/VerifyRSAOAEPSHA2.java:142
↓ 186 callersMethodsign
Signs the certificate using the CA's private key.
src/cryptography/x509/base.py:922
↓ 185 callersFunctionload_vectors_from_file
( filename, loader: typing.Callable[..., T], mode="r" )
tests/utils.py:42
↓ 94 callersMethodverify
(self, signature: bytes)
src/cryptography/hazmat/primitives/cmac.py:54
↓ 92 callersMethodpublic_bytes
(self, backend: typing.Any = None)
src/cryptography/x509/name.py:335
↓ 80 callersMethodprivate_bytes
( self, encoding: serialization.Encoding, format: serialization.PrivateFormat,
src/cryptography/hazmat/backends/openssl/rsa.py:490
↓ 77 callersMethodissuer_name
Sets the CA's distinguished name.
src/cryptography/x509/base.py:739
↓ 76 callersMethodget_extension_for_class
( self, extclass: typing.Type[ExtensionTypeVar] )
src/cryptography/x509/extensions.py:128
↓ 74 callersMethodserial_number
Returns certificate serial number
src/cryptography/x509/base.py:173
↓ 73 callersMethodsubject_name
Sets the requestor's distinguished name.
src/cryptography/x509/base.py:757
↓ 71 callersMethodopenssl_assert
( self, ok: bool, errors: typing.Optional[typing.List[rust_openssl.OpenSSLError]] = No
src/cryptography/hazmat/backends/openssl/backend.py:168
↓ 69 callersMethodgenerate_private_key
Generates and returns a DHPrivateKey.
src/cryptography/hazmat/primitives/asymmetric/dh.py:148
↓ 66 callersMethodgenerate
(self, counter: int)
src/cryptography/hazmat/primitives/twofactor/hotp.py:69
↓ 65 callersMethodprivate_key
(self, backend: typing.Any = None)
src/cryptography/hazmat/primitives/asymmetric/dh.py:130
↓ 62 callersMethodget_extension_for_oid
( self, oid: ObjectIdentifier )
src/cryptography/x509/extensions.py:119
↓ 60 callersFunction_skip_curve_unsupported
(backend, curve)
tests/hazmat/primitives/test_ec.py:55
↓ 59 callersMethodfinalize
(self)
src/cryptography/hazmat/primitives/cmac.py:47
↓ 58 callersMethodupdate
(&mut self, data: &[u8])
src/rust/cryptography-openssl/src/hmac.rs:39
↓ 56 callersMethodadd_extension
Adds an X.509 extension to the certificate.
src/cryptography/x509/base.py:900
↓ 52 callersMethodnot_valid_after
Not after time (represented as UTC datetime)
src/cryptography/x509/base.py:200
↓ 52 callersMethodnot_valid_before
Not before time (represented as UTC datetime)
src/cryptography/x509/base.py:193
↓ 51 callersMethodencryptor
( self: Cipher[modes.ModeWithAuthenticationTag], )
src/cryptography/hazmat/primitives/ciphers/base.py:98
↓ 51 callersFunctionraises_unsupported_algorithm
(reason)
tests/utils.py:32
↓ 48 callersMethodtest
(self)
tests/conftest.py:63
↓ 47 callersMethodas_bytes
(&self)
src/rust/src/buf.rs:14
↓ 47 callersMethodclone
(&self)
src/rust/src/x509/crl.rs:469
↓ 43 callersMethodgenerate_key
(cls)
src/cryptography/fernet.py:48
↓ 36 callersFunctiongenerate_encrypt_test
( param_loader, path, file_names, cipher_factory, mode_factory )
tests/hazmat/primitives/utils.py:47
↓ 36 callersMethodprivate_numbers
(self)
src/cryptography/hazmat/backends/openssl/rsa.py:455
↓ 34 callersMethodload_pem_private_key
( self, data: bytes, password: typing.Optional[bytes], unsafe_skip_rsa_key_val
src/cryptography/hazmat/backends/openssl/backend.py:741
↓ 33 callersFunctionload_pem_private_key
( data: bytes, password: typing.Optional[bytes], backend: typing.Any = None, *, unsafe_ski
src/cryptography/hazmat/primitives/serialization/base.py:16
↓ 32 callersMethodfrom_private_bytes
(cls, data: bytes)
src/cryptography/hazmat/primitives/asymmetric/x448.py:68
↓ 31 callersFunction_load_data
(filename, loader)
tests/x509/test_ocsp.py:24
↓ 31 callersMethoddecrypt
( self, token: typing.Union[bytes, str], ttl: typing.Optional[int] = None )
src/cryptography/fernet.py:83
↓ 30 callersFunction_cert_and_issuer
()
tests/x509/test_ocsp.py:30
↓ 30 callersMethod_consume_errors
(self)
src/cryptography/hazmat/backends/openssl/backend.py:345
↓ 30 callersMethodfrom_public_bytes
(cls, data: bytes)
src/cryptography/hazmat/primitives/asymmetric/x448.py:16
↓ 30 callersMethodnew
(tag: asn1::Tag, value: &'a [u8])
src/rust/cryptography-x509/src/common.rs:133
↓ 29 callersMethoddecryptor
( self: Cipher[modes.ModeWithAuthenticationTag], )
src/cryptography/hazmat/primitives/ciphers/base.py:123
↓ 27 callersFunctionload_ssh_public_key
( data: bytes, backend: typing.Any = None )
src/cryptography/hazmat/primitives/serialization/ssh.py:1085
↓ 26 callersMethodunwrap_read
(&self)
src/rust/cryptography-x509/src/common.rs:190
↓ 25 callersFunction_load_cert_key
()
tests/hazmat/primitives/test_pkcs7.py:149
↓ 25 callersMethodadd_signer
( self, certificate: x509.Certificate, private_key: PKCS7PrivateKeyTypes, hash
src/cryptography/hazmat/primitives/serialization/pkcs7.py:85
↓ 25 callersMethodlast_update
Returns the date of last update for this CRL.
src/cryptography/x509/base.py:411
↓ 25 callersMethodnext_update
The time when newer information will be available
src/cryptography/x509/ocsp.py:351
↓ 25 callersMethodupdate
(&mut self, data: CffiBuf<'_>)
src/rust/src/backend/hashes.rs:95
↓ 24 callersMethodextract
(pyobj: &'a pyo3::PyAny)
src/rust/src/buf.rs:20
↓ 24 callersMethodfinalize
( &mut self, py: pyo3::Python<'p>, )
src/rust/src/backend/hashes.rs:100
↓ 24 callersMethodlen
(&self)
src/rust/src/x509/crl.rs:85
↓ 24 callersMethodset_data
(self, data: bytes)
src/cryptography/hazmat/primitives/serialization/pkcs7.py:78
↓ 23 callersMethodbuild
(self)
src/cryptography/x509/ocsp.py:484
↓ 22 callersMethodexchange
Given peer's DHPublicKey, carry out the key exchange and return shared key as bytes.
src/cryptography/hazmat/primitives/asymmetric/dh.py:236
↓ 22 callersMethodparameters
The DHParameters object associated with this public key.
src/cryptography/hazmat/primitives/asymmetric/dh.py:183
↓ 20 callersMethodadd_response
( self, cert: x509.Certificate, issuer: x509.Certificate, algorithm: hashes.Ha
src/cryptography/x509/ocsp.py:506
↓ 19 callersFunction_generate_root
(private_key=None, algorithm=hashes.SHA256())
tests/x509/test_ocsp.py:42
↓ 19 callersFunction_load_all_params
(path, file_names, param_loader)
tests/hazmat/primitives/utils.py:38
↓ 19 callersMethodrequires_successful_response
(&self)
src/rust/src/x509/ocsp_resp.rs:78
↓ 19 callersMethodresponder_id
( self, encoding: OCSPResponderEncoding, responder_cert: x509.Certificate )
src/cryptography/x509/ocsp.py:537
↓ 18 callersMethodget_values_for_type
( self, type: typing.Union[ typing.Type[DNSName], typing.Type[UniformR
src/cryptography/x509/extensions.py:1441
↓ 18 callersMethodpublic_numbers
(self)
src/cryptography/hazmat/backends/openssl/rsa.py:552
↓ 18 callersMethodsign
( self, private_key: CertificateIssuerPrivateKeyTypes, algorithm: typing.Optional[hash
src/cryptography/x509/ocsp.py:589
↓ 17 callersFunctiongenerate_hash_test
(param_loader, path, file_names, hash_cls)
tests/hazmat/primitives/utils.py:183
↓ 17 callersMethodrevocation_date
Returns the date of when this certificate was revoked.
src/cryptography/x509/base.py:315
↓ 17 callersMethodupdate
(self, data: bytes)
src/cryptography/hazmat/primitives/cmac.py:40
↓ 16 callersMethodencrypt
(self, data: bytes)
src/cryptography/fernet.py:51
↓ 16 callersFunctionload_ssh_public_identity
( data: bytes, )
src/cryptography/hazmat/primitives/serialization/ssh.py:1049
↓ 15 callersFunction_load_ca
(backend)
tests/hazmat/primitives/test_pkcs12.py:292
↓ 15 callersFunction_make_sequence_methods
(field_name: str)
src/cryptography/x509/extensions.py:74
↓ 15 callersMethodunpadder
(self)
src/cryptography/hazmat/primitives/padding.py:116
↓ 15 callersMethodverify_directly_issued_by
This method verifies that certificate issuer name matches the issuer subject name and that the certificate is signed by the i
src/cryptography/x509/base.py:293
↓ 14 callersFunctionload_der_private_key
( data: bytes, password: typing.Optional[bytes], backend: typing.Any = None, *, unsafe_ski
src/cryptography/hazmat/primitives/serialization/base.py:46
↓ 14 callersFunctionload_key_and_certificates
( data: bytes, password: typing.Optional[bytes], backend: typing.Any = None, )
src/cryptography/hazmat/primitives/serialization/pkcs12.py:146
↓ 14 callersFunctionoid_to_py_oid
( py: pyo3::Python<'p>, oid: &asn1::ObjectIdentifier, )
src/rust/src/asn1.rs:22
↓ 14 callersMethodtype
(self)
src/cryptography/hazmat/primitives/serialization/ssh.py:871
↓ 14 callersMethodvalid_after
(self)
src/cryptography/hazmat/primitives/serialization/ssh.py:887
↓ 14 callersMethodvalid_before
(self)
src/cryptography/hazmat/primitives/serialization/ssh.py:883
↓ 13 callersFunction_load_cert
(backend, path)
tests/hazmat/primitives/test_pkcs12.py:282
↓ 13 callersFunctionload_ssh_private_key
Load private key from OpenSSH custom encoding.
src/cryptography/hazmat/primitives/serialization/ssh.py:616
↓ 13 callersMethodpadder
(self)
src/cryptography/hazmat/primitives/padding.py:113
↓ 13 callersFunctionserialize_key_and_certificates
( name: typing.Optional[bytes], key: typing.Optional[PKCS12PrivateKeyTypes], cert: typing.Optional
src/cryptography/hazmat/primitives/serialization/pkcs12.py:176
↓ 12 callersFunction_pkcs7_verify
(encoding, sig, msg, certs, options, backend)
tests/hazmat/primitives/test_pkcs7.py:96
↓ 12 callersFunction_verify_key_size
(algorithm: CipherAlgorithm, key: bytes)
src/cryptography/hazmat/primitives/ciphers/algorithms.py:14
↓ 12 callersMethodderive
(self, key_material: bytes)
src/cryptography/hazmat/primitives/kdf/hkdf.py:40
↓ 12 callersMethodrsa_padding_supported
(self, padding: AsymmetricPadding)
src/cryptography/hazmat/backends/openssl/backend.py:661
↓ 12 callersMethodvalid_for_all_principals
(self)
src/cryptography/hazmat/primitives/serialization/ssh.py:1285
↓ 11 callersFunction_generate_ca_and_leaf
( issuer_private_key: types.CertificateIssuerPrivateKeyTypes, subject_private_key: types.CertificateIs
tests/x509/test_x509.py:86
↓ 11 callersMethodencrypt
( self, nonce: bytes, data: bytes, associated_data: typing.Optional[bytes],
src/cryptography/hazmat/primitives/ciphers/aead.py:122
↓ 11 callersMethodget_attributes_for_oid
( self, oid: ObjectIdentifier )
src/cryptography/x509/name.py:326
↓ 11 callersMethodupdate_into
Processes the provided bytes and writes the resulting data into the provided buffer. Returns the number of bytes written.
src/cryptography/hazmat/primitives/ciphers/base.py:33
↓ 10 callersMethod_bytes_to_bio
Return a _MemoryBIO namedtuple of (BIO, char*). The char* is the storage for the BIO and it must stay alive until the BIO is
src/cryptography/hazmat/backends/openssl/backend.py:472
↓ 10 callersMethodadd_certificate
( self, cert: x509.Certificate, issuer: x509.Certificate, algorithm: hashes.Ha
src/cryptography/x509/ocsp.py:422
↓ 10 callersMethodas_datetime
(&self)
src/rust/cryptography-x509/src/common.rs:167
↓ 10 callersFunctionassert_no_memory_leaks
(s, argv=[])
tests/hazmat/backends/test_openssl_memleak.py:164
↓ 10 callersMethodauthenticate_additional_data
(self, data: bytes)
src/cryptography/hazmat/backends/openssl/ciphers.py:268
↓ 10 callersFunctiondatetime_to_py
( py: pyo3::Python<'p>, dt: &asn1::DateTime, )
src/rust/src/x509/common.rs:516
↓ 10 callersMethodderive
(self, key_material: bytes)
src/cryptography/hazmat/primitives/kdf/kbkdf.py:280
↓ 10 callersMethodfrom_encoded_point
( cls, curve: EllipticCurve, data: bytes )
src/cryptography/hazmat/primitives/asymmetric/ec.py:169
↓ 10 callersMethodload_der_private_key
( self, data: bytes, password: typing.Optional[bytes], unsafe_skip_rsa_key_val
src/cryptography/hazmat/backends/openssl/backend.py:799
next →1–100 of 3,887, ranked by callers