Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Cosmian/kms
/ functions
Functions
9,687 in github.com/Cosmian/kms
⨍
Functions
9,687
◇
Types & classes
2,312
↓ 6 callers
Method
headers
(&self)
crate/clients/client/src/http_client/client.rs:244
↓ 6 callers
Function
hybrid_kem_algorithm_name
Map a hybrid KEM `CryptographicAlgorithm` to the OpenSSL algorithm name string.
crate/crypto/src/crypto/pqc/mod.rs:365
↓ 6 callers
Function
ih
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 6 callers
Function
import_google_cse_symmetric_key_with_access
(app: &S)
crate/server/src/tests/google_cse/mod.rs:113
↓ 6 callers
Method
includesCycle
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 6 callers
Method
initialize_always_sensitive
Initialize the server-managed `AlwaysSensitive` attribute at object creation or registration time (KMIP 2.1 §4.3, Table 34). The server SHALL create
crate/kmip/src/kmip_2_1/kmip_attributes.rs:483
↓ 6 callers
Method
isEmpty
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 6 callers
Function
isJSONSchemaObject
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 6 callers
Function
isPrimitiveElement
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 6 callers
Function
is_WS_OR_EOL
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 6 callers
Function
iteratorDone
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 6 callers
Function
make_owm
(uid: &str)
crate/server_database/src/core/object_cache.rs:157
↓ 6 callers
Function
mh
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 6 callers
Function
nh
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 6 callers
Method
nonce_size
(&self)
crate/crypto/src/crypto/symmetric/symmetric_ciphers.rs:258
↓ 6 callers
Function
now_usize
()
crate/server/src/routes/google_cse/jwt.rs:558
↓ 6 callers
Function
one_shot_http_server
Spawn an async one-shot HTTP/1.1 server on a random port. The server runs as a `tokio::spawn` task on the **same** event-loop as the test, avoiding t
crate/server/src/middlewares/jwt/jwks.rs:302
↓ 6 callers
Function
pad_be_bytes
(bytes: &mut Vec<u8>, size: usize)
crate/crypto/src/lib.rs:8
↓ 6 callers
Function
params_with_allowlists
(conf: ClapConfig)
crate/server/src/tests/kmip_policy/helpers.rs:37
↓ 6 callers
Function
params_with_default_policy
()
crate/server/src/tests/kmip_policy/helpers.rs:31
↓ 6 callers
Method
parse
(additional_data: Option<&[u8]>)
crate/crypto/src/crypto/fpe/kmip_fpe.rs:30
↓ 6 callers
Function
parse_v3_ca_from_str
( conf: &str, x509_context: &X509v3Context, )
crate/crypto/src/openssl/x509_extensions.rs:53
↓ 6 callers
Function
pg_get_client
Get a client from the pool, retrying on transient connection errors. Used by Migrate trait methods for startup resilience.
crate/server_database/src/stores/sql/pgsql.rs:85
↓ 6 callers
Function
pqc_keygen_raw
(algorithm_name: &str)
crate/crypto/src/crypto/pqc/mod.rs:227
↓ 6 callers
Function
read_bytes_from_file
Read all bytes from a file
crate/server/src/tests/google_cse/mod.rs:93
↓ 6 callers
Function
rebuild_url_without_ssl_params
Rebuild the connection URL, removing only SSL-related query parameters. Other parameters like `target_session_attrs` are preserved for `tokio-postgres
crate/server_database/src/stores/sql/pgsql.rs:1304
↓ 6 callers
Function
recover_tags
If the user specified tags, we will use these and remove them from the request. else we will use the tags with the object attributes If no tags are fo
crate/server/src/core/operations/import.rs:169
↓ 6 callers
Method
reject
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 6 callers
Method
remove
Remove an object handle from the cache.
crate/hsm/base_hsm/src/slots.rs:71
↓ 6 callers
Function
render
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 6 callers
Method
render
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 6 callers
Method
retrieve_objects
Retrieve objects from the database. The `uid_or_tags` parameter can be either a `uid` or a JSON array of tags. The `user_filter` parameter allows fi
crate/server_database/src/core/database_objects.rs:233
↓ 6 callers
Function
rsa_verify
( verification_key: &PKey<Public>, data: &[u8], signature: &[u8], crypto_params: &Cryptographi
crate/crypto/src/crypto/rsa/verify.rs:85
↓ 6 callers
Function
safeBuildUrl
(s,o,{selectedServer:i=""}={})
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 6 callers
Method
serialize
(&self, serializer: S)
crate/kmip/src/ttlv/interval.rs:65
↓ 6 callers
Method
set_attribute
This operation requests the server to either add or modify an attribute. The request contains the Unique Identifier of the Managed Object to which the
crate/server/src/core/kms/kmip.rs:672
↓ 6 callers
Function
sign_test_jwt
Helper: build a signed JWT with the given claims, kid, and RSA private key.
crate/server/src/routes/google_cse/jwt.rs:602
↓ 6 callers
Function
start_default_test_kms_server_with_utimaco_hsm
With Utimaco HSM
crate/test_kms_server/src/test_server.rs:316
↓ 6 callers
Function
start_test_server_from_toml
Start an isolated test KMS server from a TOML configuration file. The TOML file is loaded into [`ClapConfig`], the HTTP port is overridden to a free
crate/test_kms_server/src/test_server.rs:1191
↓ 6 callers
Function
test_config_path
(name: &str)
crate/test_kms_server/src/test_server.rs:146
↓ 6 callers
Function
test_private_key_conversion_sec1
(private_key: &PKey<Private>, id: Id, key_size: u32)
crate/crypto/src/openssl/private_key.rs:622
↓ 6 callers
Method
toAncestorLineage
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 6 callers
Function
useBranding
()
ui/src/contexts/useBranding.ts:5
↓ 6 callers
Function
validate_cryptographic_parameters
( params: &Option<CryptographicParameters>, wl: &KmipWhitelists, )
crate/server/src/core/operations/algorithm_policy.rs:569
↓ 6 callers
Method
visit_u32
(self, v: u32)
crate/kmip/src/ttlv/interval.rs:87
↓ 6 callers
Function
writeTempFile
(name: string, content: string | Buffer)
ui/tests/e2e/helpers.ts:424
↓ 6 callers
Function
write_output
Copy `data` into `pb_output/cb_output` and write the actual size to `*pcb_result`. If `pb_output` is null, only fill `*pcb_result`.
crate/clients/cng/src/provider.rs:121
↓ 6 callers
Function
z
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 6 callers
Method
zeroize
(&mut self)
crate/crypto/src/crypto/secret.rs:82
↓ 5 callers
Function
Ac
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 5 callers
Function
IndexedSeq
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 5 callers
Function
Ka
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 5 callers
Function
KeyedIterable
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 5 callers
Function
Kk
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 5 callers
Function
Map
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 5 callers
Function
Pg
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 5 callers
Function
Tg
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 5 callers
Function
Yf
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 5 callers
Function
_defineProperty
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 5 callers
Method
add_vendor_attribute
Add a vendor attribute to the list of vendor attributes.
crate/kmip/src/kmip_2_1/kmip_attributes.rs:526
↓ 5 callers
Function
aes_key
(key_value: &[u8])
crate/kmip/src/ttlv/tests/kmip_2_1_tests.rs:70
↓ 5 callers
Function
alphabet_check
(plaintext: &str, alphabet: &Alphabet, non_alphabet_chars: &str)
crate/crypto/src/crypto/fpe/tests.rs:26
↓ 5 callers
Method
apply_on_date
Applies the selected noise method on a given date string. # Arguments `date_str` - - A date string in the RFC3339 format. # Returns The resulting
crate/crypto/src/crypto/anonymization/noise.rs:252
↓ 5 callers
Function
approle_login
Login to the KMS SPIRE/Vault-compatible API using an `AppRole` identity. Sends `POST {server_url}/v1/auth/approle/login` with a JSON body of `{"role_
crate/clients/client/src/http_client/login.rs:587
↓ 5 callers
Function
assert_destroyed
(cli_conf_path: &str, key_id: &str, _remove: bool)
crate/clients/ckms/src/tests/shared/destroy.rs:53
↓ 5 callers
Function
atomic
(db: &DB)
crate/server_database/src/tests/database_tests.rs:104
↓ 5 callers
Function
bench_decrypt
( c: &mut Criterion, name: &str, num_bits: i32, cryptographic_parameters: CryptographicParamet
crate/test_kms_server/benches/symmetric_benches.rs:288
↓ 5 callers
Function
bench_encrypt
( c: &mut Criterion, name: &str, num_bits: i32, cryptographic_parameters: CryptographicParamet
crate/test_kms_server/benches/symmetric_benches.rs:169
↓ 5 callers
Function
bench_op
Benchmark a single KMIP operation under a plain (unparameterized) label. The operation is serialized **once**; every criterion iteration then measure
crate/clients/clap/src/actions/bench/transport.rs:204
↓ 5 callers
Function
build_create_configurable_kem_keypair_request
Build a configurable KEM `CreateKeyPair`.
crate/clients/client_utils/src/configurable_kem_utils.rs:69
↓ 5 callers
Function
build_rekey_keypair_request
Build a `ReKeyKeyPair` request. To re-key an attribute of a user decryption key, we first need: - the MSK UID - the `CoverCrypt` attributes to revoke
crate/crypto/src/crypto/cover_crypt/kmip_requests.rs:19
↓ 5 callers
Function
certify_ml_kem_ca_issued
Issue a certificate with a KEM algorithm using the given CA.
crate/clients/ckms/src/tests/certificates/certify_pqc.rs:139
↓ 5 callers
Function
chacha20_cryptographic_parameters
()
crate/test_kms_server/benches/symmetric_benches.rs:76
↓ 5 callers
Function
check_ecc_mask_algorithm_compliance
Check that - `algorithm` is among `allowed` algorithms. - `algorithm` is compliant with usage mask provided for private and public key components. Fo
crate/crypto/src/crypto/elliptic_curves/operation.rs:81
↓ 5 callers
Function
ckm_rsa_aes_key_unwrap
Asymmetrically unwrap keys referring to PKCS#11 `CKM_RSA_AES_KEY_WRAP` available at <http://docs.oasis-open.org/pkcs11/pkcs11-curr/v2.40/cos01/pkcs11-
crate/crypto/src/crypto/rsa/ckm_rsa_aes_key_wrap.rs:70
↓ 5 callers
Method
closeNode
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 5 callers
Function
cng_key_tag
(name: &str)
crate/clients/cng/src/backend.rs:47
↓ 5 callers
Method
context
(self, context: &str)
crate/clients/pkcs11/module/src/error/result.rs:20
↓ 5 callers
Function
createNamespace
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 5 callers
Function
create_base_symmetric_key_request
Helper function to create a symmetric key for testing `DeriveKey` operations
crate/server/src/tests/derive_key_tests.rs:25
↓ 5 callers
Function
create_ec_key_pair
Create an EC key pair in the KMS with the given curve and name tag. The private key is created with `Sign | DeriveKey | KeyAgreement` usage mask and
crate/clients/cng/src/backend.rs:625
↓ 5 callers
Function
create_ec_keypair
( kms_rest_client: &KmsClient, curve: RecommendedCurve, )
crate/test_kms_server/benches/sign_benches.rs:247
↓ 5 callers
Function
create_fpe_key
Create an FPE key via the CLI and return its unique identifier.
crate/clients/ckms/src/tests/fpe/create_key.rs:11
↓ 5 callers
Function
create_kek_and_target_for_export
(app: &S)
crate/server/src/tests/kmip_policy/e2e_export_wrapping.rs:36
↓ 5 callers
Function
create_rsa_key_pair
Create an RSA key pair via KMIP and return `(private_kid, public_kid)`.
crate/server/src/tests/jose/unwrap.rs:16
↓ 5 callers
Function
create_x25519_key_pair
( vendor_id: &str, private_key_uid: &str, public_key_uid: &str, cryptographic_algorithm: &Cryp
crate/crypto/src/crypto/elliptic_curves/operation.rs:240
↓ 5 callers
Function
decodeURI
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 5 callers
Function
decrypt_request
( key_id: UniqueIdentifier, cryptographic_parameters: CryptographicParameters, nonce: Option<Vec<u
crate/test_kms_server/benches/symmetric_benches.rs:364
↓ 5 callers
Function
default_path_exists
()
crate/server/src/config/command_line/clap_config.rs:831
↓ 5 callers
Method
deserialize_i32
(self, visitor: V)
crate/kmip/src/ttlv/kmip_ttlv_deserializer/offset_date_time_deserializer.rs:77
↓ 5 callers
Method
destroy_object
Destroy an object in the HSM
crate/hsm/base_hsm/src/session/session_impl.rs:574
↓ 5 callers
Function
digest
( request: Json<DigestRequest>, cse_config: Data<Option<GoogleCseConfig>>, kms: Data<Arc<KMS>>, )
crate/server/src/routes/google_cse/mod.rs:130
↓ 5 callers
Function
dispatchPluginsSync
(s,o,i={})
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 5 callers
Function
e
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 5 callers
Function
ecdsa_sign
ECDSA signature helper implementing RFC6979 determinism for NIST P-256 + SHA-256 in non-fips builds, falling back to OpenSSL Signer otherwise.
crate/crypto/src/crypto/elliptic_curves/sign.rs:23
↓ 5 callers
Method
encrypt_big
Encrypts the given `value` using the FPE method. The value must be less than or equal to the `max_value` of the `Integer` representation. # Example
crate/crypto/src/crypto/fpe/integer.rs:141
↓ 5 callers
Function
fetch_certificate
Fetch a certificate and return its Object, attributes and DER bytes
crate/clients/ckms/src/tests/certificates/certify.rs:246
↓ 5 callers
Function
find_by_class_and_id
Run a `C_FindObjectsInit`/`C_FindObjects`/`C_FindObjectsFinal` sequence for the given class and `CKA_ID`, returning the matched object handles.
crate/clients/pkcs11/module/src/tests.rs:899
↓ 5 callers
Method
format
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 5 callers
Function
formatProdErrorMessage
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
← previous
next →
601–700 of 9,687, ranked by callers