MCPcopy Create free account

hub / github.com/pyca/cryptography / functions

Functions3,887 in github.com/pyca/cryptography

↓ 10 callersMethodload_pem_public_key
(self, data: bytes)
src/cryptography/hazmat/backends/openssl/backend.py:754
↓ 10 callersFunctionpy_oid_to_oid
(py_oid: &pyo3::PyAny)
src/rust/src/asn1.rs:14
↓ 10 callersFunctionsingle_response
( resp: &ocsp_resp::BasicOCSPResponse<'a>, )
src/rust/src/x509/ocsp_resp.rs:441
↓ 10 callersMethodverify_cert_signature
(self)
src/cryptography/hazmat/primitives/serialization/ssh.py:911
↓ 9 callersFunctionbig_byte_slice_to_py_int
( py: pyo3::Python<'p>, v: &'_ [u8], )
src/rust/src/asn1.rs:42
↓ 9 callersMethodderive
(self, key_material: bytes)
src/cryptography/hazmat/primitives/kdf/kbkdf.py:227
↓ 9 callersMethodencrypt
( self, nonce: bytes, data: bytes, associated_data: typing.Optional[bytes],
src/cryptography/hazmat/primitives/ciphers/aead.py:40
↓ 9 callersMethodencryption_builder
(self)
src/cryptography/hazmat/primitives/_serialization.py:38
↓ 9 callersFunctiongenerate_base_hash_test
(algorithm, digest_size)
tests/hazmat/primitives/utils.py:200
↓ 9 callersMethodget_attribute_for_oid
(self, oid: ObjectIdentifier)
src/cryptography/x509/base.py:145
↓ 9 callersMethodload_der_public_key
(self, data: bytes)
src/cryptography/hazmat/backends/openssl/backend.py:839
↓ 9 callersMethodsingle_response
(&self)
src/rust/src/x509/ocsp_resp.rs:793
↓ 8 callersMethod_int_to_bn
Converts a python integer to a BIGNUM. The returned BIGNUM will not be garbage collected (to support adding them to structs that take
src/cryptography/hazmat/backends/openssl/backend.py:360
↓ 8 callersMethodadd_revoked_certificate
Adds a revoked certificate to the CRL.
src/cryptography/x509/base.py:1064
↓ 8 callersMethodcache_value_to_group
(self, cache_key: str, func)
tests/utils.py:913
↓ 8 callersMethoddecrypt
( self, nonce: bytes, data: bytes, associated_data: typing.Optional[bytes],
src/cryptography/hazmat/primitives/ciphers/aead.py:61
↓ 8 callersMethodencrypt
( self, nonce: bytes, data: bytes, associated_data: typing.Optional[bytes],
src/cryptography/hazmat/primitives/ciphers/aead.py:194
↓ 8 callersMethodfinalize
Returns the results of processing the final block as bytes.
src/cryptography/hazmat/primitives/ciphers/base.py:40
↓ 8 callersMethodis_empty
(&self)
src/rust/src/x509/sct.rs:20
↓ 8 callersMethodload_der_pkcs7_certificates
( self, data: bytes )
src/cryptography/hazmat/backends/openssl/backend.py:1870
↓ 8 callersMethodput_sshstr
Bytes prefixed with u32 length
src/cryptography/hazmat/primitives/serialization/ssh.py:277
↓ 8 callersFunctionpy_uint_to_big_endian_bytes
( py: pyo3::Python<'p>, v: &'p pyo3::types::PyLong, )
src/rust/src/asn1.rs:65
↓ 8 callersMethodsignature_key
(self)
src/cryptography/hazmat/primitives/serialization/ssh.py:898
↓ 8 callersMethodtobytes
Return as bytes
src/cryptography/hazmat/primitives/serialization/ssh.py:302
↓ 8 callersMethodupdate
(&mut self, data: CffiBuf<'_>)
src/rust/src/backend/poly1305.rs:90
↓ 8 callersMethodupdate
Processes the provided bytes through the cipher and returns the results as bytes.
src/cryptography/hazmat/primitives/ciphers/base.py:26
↓ 8 callersMethodwrite
(&self, w: &mut asn1::Writer<'_>)
src/rust/cryptography-x509/src/common.rs:155
↓ 7 callersFunction_flatten_pkcs1_examples
(vectors)
tests/hazmat/primitives/test_rsa.py:94
↓ 7 callersFunction_get_sshstr
Bytes with u32 length prefix
src/cryptography/hazmat/primitives/serialization/ssh.py:227
↓ 7 callersFunctionencode_dss_signature
( py: pyo3::Python<'_>, r: &pyo3::types::PyLong, s: &pyo3::types::PyLong, )
src/rust/src/asn1.rs:126
↓ 7 callersMethodencrypt
( self, nonce: bytes, data: bytes, associated_data: typing.Optional[bytes],
src/cryptography/hazmat/primitives/ciphers/aead.py:263
↓ 7 callersMethodencrypt
( self, data: bytes, associated_data: typing.Optional[typing.List[bytes]], )
src/cryptography/hazmat/primitives/ciphers/aead.py:332
↓ 7 callersMethodfinalize
( &mut self, py: pyo3::Python<'p>, )
src/rust/src/backend/poly1305.rs:95
↓ 7 callersMethodfingerprint
Returns bytes using digest passed.
src/cryptography/x509/base.py:166
↓ 7 callersFunctionload_nist_vectors
(vector_data)
tests/utils.py:49
↓ 7 callersMethodmake_file
Create private key file
tests/hazmat/primitives/test_ssh.py:377
↓ 7 callersMethodoid
(&self)
src/rust/cryptography-x509/src/common.rs:17
↓ 7 callersMethodpublic_key
(self)
src/cryptography/hazmat/primitives/serialization/ssh.py:861
↓ 7 callersMethodput_mpint
Big-endian bigint prefixed with u32 length
src/cryptography/hazmat/primitives/serialization/ssh.py:286
↓ 7 callersMethodrun
(self)
docs/_ext/cryptography-docs.py:23
↓ 6 callersMethod_bn_to_int
(self, bn)
src/cryptography/hazmat/backends/openssl/backend.py:348
↓ 6 callersFunction_check_rsa_private_numbers
(skey)
tests/hazmat/primitives/utils.py:520
↓ 6 callersFunction_convert_to_naive_utc_time
Normalizes a datetime to a naive datetime in UTC. time -- datetime to normalize. Assumed to be in UTC if not timezone aware.
src/cryptography/x509/base.py:83
↓ 6 callersMethod_create_mem_bio_gc
Creates an empty memory BIO.
src/cryptography/hazmat/backends/openssl/backend.py:485
↓ 6 callersMethod_ec_cdata_to_evp_pkey
(self, ec_cdata)
src/cryptography/hazmat/backends/openssl/backend.py:1190
↓ 6 callersFunction_get_mpint
Big integer.
src/cryptography/hazmat/primitives/serialization/ssh.py:235
↓ 6 callersFunction_lookup_kformat
Return valid format or throw error
src/cryptography/hazmat/primitives/serialization/ssh.py:599
↓ 6 callersFunction_reject_duplicate_extension
( extension: Extension[ExtensionType], extensions: typing.List[Extension[ExtensionType]], )
src/cryptography/x509/base.py:61
↓ 6 callersMethod_rsa_cdata_to_evp_pkey
(self, rsa_cdata)
src/cryptography/hazmat/backends/openssl/backend.py:466
↓ 6 callersFunction_skip_dhx_unsupported
(backend, is_dhx)
tests/hazmat/primitives/test_dh.py:34
↓ 6 callersFunction_skip_fips_format
(key_path, password, backend)
tests/hazmat/primitives/test_serialization.py:48
↓ 6 callersMethod_tmp_bn_ctx
(self)
src/cryptography/hazmat/backends/openssl/backend.py:1214
↓ 6 callersMethodadd_attribute
Adds an X.509 attribute with an OID and associated value.
src/cryptography/x509/base.py:671
↓ 6 callersFunctionbn_to_py_int
( py: pyo3::Python<'p>, b: &openssl::bn::BigNumRef, )
src/rust/src/backend/utils.rs:23
↓ 6 callersMethoddecrypt
( self, nonce: bytes, data: bytes, associated_data: typing.Optional[bytes],
src/cryptography/hazmat/primitives/ciphers/aead.py:143
↓ 6 callersMethoddecrypt
( self, data: bytes, associated_data: typing.Optional[typing.List[bytes]], )
src/cryptography/hazmat/primitives/ciphers/aead.py:352
↓ 6 callersMethodderive
(self, key_material: bytes)
src/cryptography/hazmat/primitives/kdf/pbkdf2.py:48
↓ 6 callersMethodderive
(self, key_material: bytes)
src/cryptography/hazmat/primitives/kdf/concatkdf.py:114
↓ 6 callersMethodderive
(self, key_material: bytes)
src/cryptography/hazmat/primitives/kdf/hkdf.py:91
↓ 6 callersMethodderive
(self, key_material: bytes)
src/cryptography/hazmat/primitives/kdf/scrypt.py:60
↓ 6 callersFunctionencode_der_data
( py: pyo3::Python<'p>, pem_tag: String, data: Vec<u8>, encoding: &'p pyo3::PyAny, )
src/rust/src/asn1.rs:88
↓ 6 callersMethodfinish
(&mut self)
src/rust/cryptography-openssl/src/hmac.rs:46
↓ 6 callersMethodfrom_public_key
( cls, public_key: CertificatePublicKeyTypes )
src/cryptography/x509/extensions.py:296
↓ 6 callersMethodgenerate
(self, time: typing.Union[int, float])
src/cryptography/hazmat/primitives/twofactor/totp.py:33
↓ 6 callersFunctiongenerate_hmac_test
(param_loader, path, file_names, algorithm)
tests/hazmat/primitives/utils.py:234
↓ 6 callersMethodhash_supported
(self, algorithm: hashes.HashAlgorithm)
src/cryptography/hazmat/backends/openssl/backend.py:212
↓ 6 callersMethodload_pem_pkcs7_certificates
( self, data: bytes )
src/cryptography/hazmat/backends/openssl/backend.py:1855
↓ 6 callersMethodp
(self)
src/cryptography/hazmat/primitives/asymmetric/dh.py:58
↓ 6 callersFunctionparse_and_cache_extensions
( py: pyo3::Python<'p>, cached_extensions: &mut Option<pyo3::PyObject>, raw_extensions: &Option<Ra
src/rust/src/x509/common.rs:387
↓ 6 callersFunctionparse_general_names
( py: pyo3::Python<'_>, gn_seq: &asn1::SequenceOf<'a, GeneralName<'a>>, )
src/rust/src/x509/common.rs:316
↓ 6 callersFunctionparse_name
( py: pyo3::Python<'p>, name: &Name<'_>, )
src/rust/src/x509/common.rs:174
↓ 6 callersFunctionpkey_private_bytes
( py: pyo3::Python<'p>, key_obj: &pyo3::PyAny, pkey: &openssl::pkey::PKey<openssl::pkey::Private>,
src/rust/src/backend/utils.rs:41
↓ 6 callersFunctionpkey_public_bytes
( py: pyo3::Python<'p>, key_obj: &pyo3::PyAny, pkey: &openssl::pkey::PKey<openssl::pkey::Public>,
src/rust/src/backend/utils.rs:211
↓ 6 callersFunctionpy_int_to_bn
( py: pyo3::Python<'_>, v: &pyo3::PyAny, )
src/rust/src/backend/utils.rs:7
↓ 6 callersMethodrfc4514_string
Format as RFC4514 Distinguished Name string. For example 'CN=foobar.com,O=Foo Corp,C=US' An X.509 name is a two-level struct
src/cryptography/x509/name.py:308
↓ 6 callersMethodsignature_hash_supported
( self, algorithm: hashes.HashAlgorithm )
src/cryptography/hazmat/backends/openssl/backend.py:219
↓ 5 callersFunction_break_cert_sig
(cert: x509.Certificate)
tests/x509/test_x509.py:129
↓ 5 callersMethod_ec_key_new_by_curve
(self, curve: ec.EllipticCurve)
src/cryptography/hazmat/backends/openssl/backend.py:1169
↓ 5 callersMethod_get_unverified_token_data
( token: typing.Union[bytes, str] )
src/cryptography/fernet.py:110
↓ 5 callersMethod_read_mem_bio
Reads a memory BIO. This only works on memory BIOs.
src/cryptography/hazmat/backends/openssl/backend.py:496
↓ 5 callersFunction_skip_ecdsa_vector
(backend, curve_type, hash_type)
tests/hazmat/primitives/test_ec.py:44
↓ 5 callersFunction_skip_exchange_algorithm_unsupported
(backend, algorithm, curve)
tests/hazmat/primitives/test_ec.py:64
↓ 5 callersMethodadd_critical_option
( self, name: bytes, value: bytes )
src/cryptography/hazmat/primitives/serialization/ssh.py:1355
↓ 5 callersFunctionalready_finalized_error
()
src/rust/src/backend/hashes.rs:17
↓ 5 callersMethodcipher_supported
(self, cipher: CipherAlgorithm, mode: Mode)
src/cryptography/hazmat/backends/openssl/backend.py:241
↓ 5 callersFunctioncompute_signature_algorithm
( py: pyo3::Python<'p>, private_key: &'p pyo3::PyAny, hash_algorithm: &'p pyo3::PyAny, rsa_pad
src/rust/src/x509/sign.rs:171
↓ 5 callersFunctiondecode_dss_signature
( py: pyo3::Python<'_>, data: &[u8], )
src/rust/src/asn1.rs:52
↓ 5 callersMethoddecrypt
( self, nonce: bytes, data: bytes, associated_data: typing.Optional[bytes],
src/cryptography/hazmat/primitives/ciphers/aead.py:212
↓ 5 callersMethoddecrypt
( self, nonce: bytes, data: bytes, associated_data: typing.Optional[bytes],
src/cryptography/hazmat/primitives/ciphers/aead.py:281
↓ 5 callersMethodderive
(self, key_material: bytes)
src/cryptography/hazmat/primitives/kdf/concatkdf.py:72
↓ 5 callersMethodderive
(self, key_material: bytes)
src/cryptography/hazmat/primitives/kdf/x963kdf.py:38
↓ 5 callersMethoded25519_supported
(self)
src/cryptography/hazmat/backends/openssl/backend.py:1532
↓ 5 callersMethodelliptic_curve_supported
(self, curve: ec.EllipticCurve)
src/cryptography/hazmat/backends/openssl/backend.py:992
↓ 5 callersFunctionencode_extensions
( py: pyo3::Python<'p>, py_exts: &'p pyo3::PyAny, encode_ext: F, )
src/rust/src/x509/common.rs:438
↓ 5 callersFunctionencode_name
( py: pyo3::Python<'p>, py_name: &'p pyo3::PyAny, )
src/rust/src/x509/common.rs:30
↓ 5 callersMethodfinalize_with_tag
(self, tag: bytes)
src/cryptography/hazmat/backends/openssl/ciphers.py:247
↓ 5 callersMethodg
(self)
src/cryptography/hazmat/primitives/asymmetric/dh.py:62
↓ 5 callersMethodgenerate_tag
( py: pyo3::Python<'p>, key: CffiBuf<'_>, data: CffiBuf<'_>, )
src/rust/src/backend/poly1305.rs:68
↓ 5 callersFunctioninstall
(session: nox.Session, *args: str)
noxfile.py:21
↓ 5 callersFunctionload_pem_public_key
( data: bytes, backend: typing.Any = None )
src/cryptography/hazmat/primitives/serialization/base.py:30
← previousnext →101–200 of 3,887, ranked by callers