Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Cosmian/kms
/ functions
Functions
16,000 in github.com/Cosmian/kms
⨍
Functions
16,000
◇
Types & classes
2,898
↓ 1 callers
Function
key_bucket_attributes
`kms.keys.active.count` attributes of one bucket.
crate/server/src/core/otel_metrics.rs:792
↓ 1 callers
Function
key_id_of
(output: &str)
crate/clients/ckms/src/tests/ssh/mod.rs:36
↓ 1 callers
Method
key_inventory
Break the HSM keys down by type and algorithm. Each slot is queried once per typed filter; keys matched by no typed filter (e.g. generic secrets) are
crate/interfaces/src/hsm/hsm_store.rs:806
↓ 1 callers
Method
key_name
(&self)
crate/clients/cng/src/key.rs:240
↓ 1 callers
Function
key_pair_keyset
(kms: &KMS, slot: usize, created: &mut Vec<String>)
crate/server/src/tests/hsm/rotation.rs:403
↓ 1 callers
Method
key_size
(&self)
crate/clients/pkcs11/module/src/sessions.rs:1261
↓ 1 callers
Function
key_usage_attributes
Check that the PKCS#11 usage attributes of KMS-generated AES and RSA keys are read back. Only for HSMs known to expose them (`get_key_metadata` tolera
crate/hsm/base_hsm/src/tests_shared.rs:2031
↓ 1 callers
Function
keygen_provider
Name of the provider whose key management generated `pkey`, or `None` for a legacy (non-provider) key such as those built from `Rsa::generate` / `EcKe
crate/crypto/tests/fips_rng_provider.rs:67
↓ 1 callers
Function
keys
(features?: { hsm: boolean })
ui/tests/unit/tsx-imports/menuItems.test.ts:46
↓ 1 callers
Function
keyset_labels_keep_object_ids
HSM key rotation stores the keyset (`name::generation::key_id[@latest]`) in `CKA_LABEL`. The label must carry the keyset and generation, yet leave the
crate/hsm/base_hsm/src/tests_shared.rs:2206
↓ 1 callers
Function
keywordData
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
kj
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
kk
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
kmip14_add_alternative_name
(client: &SocketClient, key_id: &str)
crate/server/src/tests/ttlv_tests/attribute_version_gating.rs:522
↓ 1 callers
Function
kmip1_minor_version_introduced
Minimum KMIP 1.x *minor* version in which `attribute` is defined by the specification. A KMIP server SHALL NOT return an attribute that the client's
crate/server/src/routes/kmip/handlers.rs:1116
↓ 1 callers
Function
kmip2_tree
()
crate/kmip/src/lint_cleanup_characterization_tests.rs:51
↓ 1 callers
Function
kmipCreateAes256Request
Build a minimal KMIP 2.1 Create AES-256 TTLV-as-JSON request.
ui/tests/e2e/swagger.spec.ts:444
↓ 1 callers
Function
kmipQueryRequest
Build a minimal KMIP Query TTLV-as-JSON request for the given protocol version.
ui/tests/e2e/swagger.spec.ts:411
↓ 1 callers
Function
kmip_attribute_map
(response)
ansible/plugins/module_utils/kms_api.py:144
↓ 1 callers
Function
kmip_binary
Handle KMIP HTTP requests with binary content type
crate/server/src/routes/kmip/handlers.rs:460
↓ 1 callers
Function
kmip_hash_to_message_digest
(hash: KmipHash)
crate/crypto/src/crypto/rsa/verify.rs:20
↓ 1 callers
Function
kmip_json
Handle KMIP requests with JSON content type
crate/server/src/routes/kmip/handlers.rs:378
↓ 1 callers
Function
kmip_json_inner
Handle KMIP requests with JSON content type. An error comes with the protocol version its error response must carry: the request version when it was
crate/server/src/routes/kmip/handlers.rs:408
↓ 1 callers
Function
kmip_long_integer
(value)
ansible/plugins/module_utils/kms_api.py:32
↓ 1 callers
Function
kmip_object_name
(name)
ansible/plugins/module_utils/kms_api.py:155
↓ 1 callers
Function
kmip_object_to_cek
Extract the raw key bytes from a cached [`Object::SymmetricKey`]. Returns `None` if the object is not a symmetric key or if the key material cannot b
crate/server/src/routes/jose/cek_cache.rs:96
↓ 1 callers
Function
kmip_objects_from_cc_master_keypair
( msk: &MasterSecretKey, mpk: &MasterPublicKey, mut msk_obj: Object, mut mpk_obj: Object, )
crate/crypto/src/crypto/cover_crypt/master_keys.rs:176
↓ 1 callers
Method
kmip_parameters
(self)
crate/server/src/routes/ssh/certificate.rs:91
↓ 1 callers
Function
kmip_socket_dependency
(kms: &KMS)
crate/server/src/routes/health.rs:348
↓ 1 callers
Function
kms_decrypt
( kms_rest_client: &KmsClient, decrypt_ctx: &DecryptContext, data: Vec<u8>, )
crate/clients/pkcs11/provider/src/kms_object.rs:890
↓ 1 callers
Function
kms_decrypt_async
( kms_rest_client: &KmsClient, decrypt_ctx: &DecryptContext, data: Vec<u8>, )
crate/clients/pkcs11/provider/src/kms_object.rs:898
↓ 1 callers
Function
kms_destroy_object
( kms_rest_client: &KmsClient, unique_identifier: &str, )
crate/clients/pkcs11/provider/src/kms_object.rs:768
↓ 1 callers
Function
kms_destroy_object_async
( kms_rest_client: &KmsClient, unique_identifier: &str, )
crate/clients/pkcs11/provider/src/kms_object.rs:775
↓ 1 callers
Function
kms_encrypt
( kms_rest_client: &KmsClient, encrypt_ctx: &EncryptContext, data: Vec<u8>, )
crate/clients/pkcs11/provider/src/kms_object.rs:791
↓ 1 callers
Function
kms_encrypt_message
Encrypt one PKCS#11 v3 AES-GCM message and preserve its detached artifacts.
crate/clients/pkcs11/provider/src/kms_object.rs:805
↓ 1 callers
Function
kms_generate_random
Fill `buf` with random bytes retrieved from the KMS (KMIP `RNGRetrieve`), splitting the request so that no single call exceeds the server limit.
crate/clients/pkcs11/provider/src/kms_object.rs:529
↓ 1 callers
Function
kms_generate_random_async
( kms_rest_client: &KmsClient, buf: &mut [u8], )
crate/clients/pkcs11/provider/src/kms_object.rs:533
↓ 1 callers
Function
kms_import_object
( kms_rest_client: &KmsClient, vendor_id: &str, label: &str, data: &[u8], )
crate/clients/pkcs11/provider/src/kms_object.rs:669
↓ 1 callers
Function
kms_import_symmetric_key
( kms_rest_client: &KmsClient, vendor_id: &str, algorithm: KeyAlgorithm, key_length: usize,
crate/clients/pkcs11/provider/src/kms_object.rs:504
↓ 1 callers
Function
kms_mac
Computes the AES-CMAC or the AES-GMAC tag (PKCS#11 v3.0 §2.13.4) of `data` with the KMIP `MAC` operation. GMAC passes the caller's IV (the `IVCounterN
crate/clients/pkcs11/provider/src/kms_object.rs:1496
↓ 1 callers
Function
kms_mac_verify
Verifies `mac` (the exact output of [`kms_mac`]) over `data` with KMIP `MACVerify`; anything but a valid MAC is [`Pkcs11Error::SignatureInvalid`]. For
crate/clients/pkcs11/provider/src/kms_object.rs:1532
↓ 1 callers
Function
kms_revoke_object
( kms_rest_client: &KmsClient, unique_identifier: &str, )
crate/clients/pkcs11/provider/src/kms_object.rs:742
↓ 1 callers
Function
kms_revoke_object_async
( kms_rest_client: &KmsClient, unique_identifier: &str, )
crate/clients/pkcs11/provider/src/kms_object.rs:749
↓ 1 callers
Function
kms_sign
( kms_rest_client: &KmsClient, unique_identifier: &str, algorithm: &SignatureAlgorithm, data:
crate/clients/pkcs11/provider/src/kms_object.rs:974
↓ 1 callers
Function
kms_sign_async
( kms_rest_client: &KmsClient, unique_identifier: &str, algorithm: &SignatureAlgorithm, data:
crate/clients/pkcs11/provider/src/kms_object.rs:1361
↓ 1 callers
Function
kms_verify
( kms_rest_client: &KmsClient, unique_identifier: &str, algorithm: &SignatureAlgorithm, data:
crate/clients/pkcs11/provider/src/kms_object.rs:1413
↓ 1 callers
Function
kms_verify_async
Verifies `signature` over `data` for the public key `unique_identifier`, via a KMIP `SignatureVerify` round trip. Reuses `signature_algorithm_to_kmip_
crate/clients/pkcs11/provider/src/kms_object.rs:1435
↓ 1 callers
Function
kryoptic_pkcs11_lib_path
()
crate/hsm/kryoptic/src/tests.rs:142
↓ 1 callers
Method
latest
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Method
latest_generation
Returns the generation this instance should resume writing into: the `kms_audit_control` row's authoritative pointer if one exists, or — first ever bo
crate/server_database/src/stores/audit/pgsql.rs:524
↓ 1 callers
Function
latin1Slice
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
legacy_certificate_object
()
crate/server_database/src/tests/mod.rs:208
↓ 1 callers
Function
legacy_defineProperties
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
lenient_option_number
Reads a number the way the former positional `wasm_bindgen` parameters did: numeric strings are parsed and `undefined`/`null`/empty give `None`.
crate/clients/wasm/src/wasm.rs:743
↓ 1 callers
Function
lib_isFunction
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
lib_normalizeArray
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
lifecycle
(alg: Alg)
crate/server/src/tests/hsm/hybrid_kem_dek.rs:387
↓ 1 callers
Function
linked_issuer_chain
Collect the issuers of an imported certificate by following the `CertificateLink` of the import attributes, then that of each stored certificate, up t
crate/server/src/core/operations/import.rs:64
↓ 1 callers
Function
linked_public_key
The public key linked to `private_key`, retrieved with the caller's `Certify` rights. HSM objects carry no KMIP links: the public key of an HSM priva
crate/server/src/core/operations/certify/resolve_subject.rs:89
↓ 1 callers
Function
linkifyFileCells
(content)
documentation/docs/javascripts/log_filter.js:215
↓ 1 callers
Method
list_access
This operation requests the server to list all the granted access on a object
crate/clients/client/src/kms_rest_client.rs:762
↓ 1 callers
Method
list_access_rights_obtained
Get all the access rights granted to a given user Excludes objects owned by `user`: the owner already has full, implicit access to their own objects,
crate/server/src/core/kms/permissions.rs:226
↓ 1 callers
Method
list_access_rights_obtained
This operation requests the server to list all the object for which access rights have been obtained for the current user.
crate/clients/client/src/kms_rest_client.rs:775
↓ 1 callers
Method
list_accesses
Get all the access granted for a given object per user
crate/server/src/core/kms/permissions.rs:177
↓ 1 callers
Function
list_accesses_
( uid: &str, pool: &Pool, )
crate/server_database/src/stores/sql/mysql.rs:2119
↓ 1 callers
Function
list_child_keys
Enumerate the immediate child key names directly under `prefix`, among the paths `user` owns or holds `Locate` or `Get` on.
crate/server/src/routes/kv/mod.rs:563
↓ 1 callers
Method
list_crl_issuers
(&self)
crate/server_database/src/stores/sql/sqlite.rs:1739
↓ 1 callers
Method
list_ec_objects
(&self, class: Option<CK_OBJECT_CLASS>)
crate/hsm/base_hsm/src/session/session_impl.rs:816
↓ 1 callers
Function
list_entry_name
Compute the single child-key entry name `full_path` contributes under `prefix` (Vault convention: a `/`-suffixed name denotes a nested "directory").
crate/server/src/routes/kv/mod.rs:616
↓ 1 callers
Function
list_keys
(kms_rest_client: cosmian_kms_client::KmsClient)
crate/clients/clap/src/actions/cng.rs:146
↓ 1 callers
Function
list_method
()
crate/server/src/routes/kv/tests.rs:126
↓ 1 callers
Function
list_owned_objects
List objects owned by the user
crate/clients/ckms/src/tests/access.rs:139
↓ 1 callers
Method
list_owned_objects
This operation requests the server to list all the objects owned by the current user. i.e. the objects for which the user has full access
crate/clients/client/src/kms_rest_client.rs:769
↓ 1 callers
Method
list_uids_for_tags
(&self, tags: &HashSet<String>)
crate/interfaces/src/hsm/hsm_store.rs:561
↓ 1 callers
Function
list_uids_for_tags_
( tags: &HashSet<String>, pool: &Pool, )
crate/server_database/src/stores/sql/mysql.rs:2097
↓ 1 callers
Function
list_user_granted_access_rights_
( user: &str, pool: &Pool, )
crate/server_database/src/stores/sql/mysql.rs:2149
↓ 1 callers
Function
lj
(s,o,i,u,_)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
loadBranding
(options?: { url?: string; cacheBust?: boolean })
ui/src/utils/branding.ts:93
↓ 1 callers
Function
loadDocuments
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
loadFile
(file: File)
ui/src/actions/Secrets/KvSecrets.tsx:107
↓ 1 callers
Function
loadWasm
()
ui/src/App.tsx:538
↓ 1 callers
Function
load_ca_signing_material
Load the CA certificate and its (unwrapped) private key.
crate/server/src/routes/enrollment.rs:273
↓ 1 callers
Method
load_ceremony_record
Retrieve the sealed ceremony record from Redis, returning `None` if absent or revoked.
crate/server_database/src/stores/redis/redis_with_findex.rs:1071
↓ 1 callers
Method
load_find_context_by_class
( &mut self, attributes: &Attributes, search_class: CK_OBJECT_CLASS, )
crate/clients/pkcs11/module/src/sessions.rs:341
↓ 1 callers
Function
load_module
(name)
ansible/tests/unit/test_modules.py:33
↓ 1 callers
Function
load_or_generate_tls
(config: &WebhookConfig)
crate/clients/k8s/operator/src/webhook.rs:327
↓ 1 callers
Function
load_p12
(disk_encryption_tag: &str)
crate/clients/pkcs11/provider/src/tests.rs:170
↓ 1 callers
Function
local_resource_key_hash
For digest test: local HMAC-SHA256 compute mirroring server logic
crate/clients/clap/src/tests/google_cmd/using_hsm.rs:88
↓ 1 callers
Function
locate_by_name
KMIP 1.2 Locate by Name. Returns the list of matching UIDs.
crate/server/src/tests/ttlv_tests/integrations/synology_dsm.rs:210
↓ 1 callers
Function
locate_by_tag
(kms: &KMS, owner: &UserId, tag: &str)
crate/server/src/tests/configurable_kem_tests.rs:238
↓ 1 callers
Function
locate_kms_objects_async
( kms_rest_client: &KmsClient, vendor_id: &str, tags: &[String], )
crate/clients/pkcs11/provider/src/kms_object.rs:178
↓ 1 callers
Function
locate_objects
( kms_rest_client: &KmsClient, vendor_id: &str, tags: &[String], )
crate/clients/pkcs11/provider/src/kms_object.rs:467
↓ 1 callers
Function
locate_public_key_by_name
Locate the **public** key UUID by its CNG key name. Same as `locate_key_by_name` but filters on `ObjectType::PublicKey`.
crate/clients/cng/src/backend.rs:125
↓ 1 callers
Function
locate_symmetric_key
(client: &SocketClient)
crate/server/src/tests/ttlv_tests/integrations/postgres.rs:113
↓ 1 callers
Function
locate_symmetric_keys
( client: &SocketClient, name: Option<&str>, expected_key_uids: &[&str], unexpected_key_uids:
crate/server/src/tests/ttlv_tests/locate_1_4.rs:165
↓ 1 callers
Function
locate_symmetric_keys
( client: &SocketClient, name: Option<&str>, expected_key_uids: &[&str], unexpected_key_uids:
crate/server/src/tests/ttlv_tests/locate_2_1.rs:46
↓ 1 callers
Function
locate_with_template_attribute
Sends a KMIP 1.0/1.1-style Locate request where the Name filter is wrapped in a `TemplateAttribute` structure (as `FortiGate` 40F does) and asserts th
crate/server/src/tests/ttlv_tests/locate_1_4.rs:84
↓ 1 callers
Function
lock_cek_miss
Single-flight guard for the RSA-OAEP unwrap of one JWE `encrypted_key`: hold it across unwrap + [`insert_cek`], then re-[`peek_cek`] after acquiring i
crate/server/src/routes/jose/cek_cache.rs:142
↓ 1 callers
Function
lock_serializes_instances
Two racing instances apply the steps once; a held lock blocks a second pool until released.
crate/server_database/src/tests/sql_migration_tests.rs:465
↓ 1 callers
Method
locked_for_at
(&self, client: IpAddr, now: Instant)
crate/server/src/routes/enrollment_guard.rs:94
← previous
next →
5,901–6,000 of 16,000, ranked by callers