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
log_insert
Insert the real UID into the map if it's new; log mapping with namespaced placeholder
crate/clients/clap/src/tests/xml/expected_response.rs:1167
↓ 1 callers
Function
log_insert_text
(test_name: &str, uid_map: &mut HashMap<usize, String>, uid: &str)
crate/clients/clap/src/tests/xml/expected_response.rs:1180
↓ 1 callers
Function
log_safe
Make an attacker-controlled string safe to log: control characters (log forging) are replaced and the length is bounded.
crate/server/src/routes/enrollment.rs:113
↓ 1 callers
Function
log_to_file
( log_name: &str, level: Level, log_home: &PathBuf, )
crate/clients/pkcs11/provider/src/logging.rs:67
↓ 1 callers
Function
loggable
A client-supplied string made safe to put in a log line: truncated, with every control character, quote, backslash, non-ASCII character and space esca
crate/server/src/routes/kmip/audit.rs:181
↓ 1 callers
Function
login
()
ui/src/contexts/AuthContext.tsx:8
↓ 1 callers
Function
login
( session_cookie: web::Data<UiSessionCookie>, oidc_runtime: web::Data<OidcRuntimeConfig>, kms_url:
crate/server/src/routes/ui_auth.rs:42
↓ 1 callers
Function
loginAuthVerifier
( serverUrl: string, username: string, password: string, totpCode?: string, )
ui/src/utils/utils.ts:127
↓ 1 callers
Function
loginViaOidc
Perform a full login and wait until the app is authenticated.
ui/tests/e2e-oidc/oidc-login.spec.ts:48
↓ 1 callers
Function
logout
()
ui/src/contexts/AuthContext.tsx:19
↓ 1 callers
Function
logout
( req: HttpRequest, session_cookie: web::Data<UiSessionCookie>, oidc_runtime: web::Data<OidcRuntim
crate/server/src/routes/ui_auth.rs:722
↓ 1 callers
Function
logout_removal_cookie
The `_ea_` removal `Set-Cookie` of `POST /logout` for a request carrying `token`, if any.
crate/server/src/routes/ui_auth.rs:1102
↓ 1 callers
Function
lolcation
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
lookahead
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
looks_like_uuid
Returns `true` if the string looks like a UUID (8-4-4-4-12 hex pattern).
crate/server/src/core/uid_utils.rs:126
↓ 1 callers
Function
lookupGetter
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Method
mac
This operation requests the server to perform message authentication code (MAC) operation on the provided data using a Managed Cryptographic Object as
crate/clients/client/src/kms_rest_client.rs:524
↓ 1 callers
Method
mac
(&self, _remote_id: &str, algorithm: MacAlgorithm, data: &[u8])
crate/clients/pkcs11/module/src/tests.rs:473
↓ 1 callers
Function
mac_context
Start the MAC of the key of `owm` selected by the request parameters: AES-CMAC, AES-GMAC (with the IV from `gmac_iv`), or else HMAC with the algorithm
crate/server/src/core/operations/mac.rs:464
↓ 1 callers
Function
mac_hashing_algorithm
Hashing algorithm of the HMAC: the request's Hashing Algorithm, else its HMAC Cryptographic Algorithm (KMIP 2.1 Table 259), else inferred from the key
crate/server/src/core/operations/mac.rs:562
↓ 1 callers
Function
mac_parameters
Build the KMIP cryptographic parameters selecting HMAC, AES-CMAC or AES-GMAC.
crate/clients/clap/src/actions/mac.rs:75
↓ 1 callers
Method
mac_sign
( &mut self, data: Option<&[u8]>, p_signature: CK_BYTE_PTR, p_signature_len: C
crate/clients/pkcs11/module/src/sessions.rs:777
↓ 1 callers
Function
mac_vector
( vectors: &[cosmian_kms_crypto::kat_vectors::MacVector], id: &str, )
crate/hsm/base_hsm/src/tests_shared.rs:759
↓ 1 callers
Method
mac_verify
( &self, uid: &str, data: &[u8], mac_data: &[u8], cryptographic_parame
crate/interfaces/src/hsm/hsm_store.rs:1233
↓ 1 callers
Method
mac_verify
Verify a Message Authentication Code (MAC) against provided data.
crate/clients/client/src/kms_rest_client.rs:529
↓ 1 callers
Method
mac_verify
( &self, _remote_id: &str, algorithm: MacAlgorithm, data: &[u8], mac:
crate/clients/pkcs11/module/src/tests.rs:477
↓ 1 callers
Function
main
()
ansible/plugins/modules/kms_rotation_policy.py:159
↓ 1 callers
Function
main
()
ansible/plugins/modules/kms_access.py:137
↓ 1 callers
Function
main
()
ansible/plugins/modules/kms_key.py:155
↓ 1 callers
Function
main
()
ansible/plugins/modules/kms_certificate.py:182
↓ 1 callers
Function
main
()
documentation/pandoc/combine.py:306
↓ 1 callers
Method
main_db_kind
(&self)
crate/server_database/src/core/mod.rs:352
↓ 1 callers
Function
maj
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
makeOrderedSet
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
makeRecord
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
makeScroller
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
makeSet
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
makeSlotColumns
(prefix: string, t: TFunction)
ui/src/actions/Objects/HsmStatus.tsx:20
↓ 1 callers
Function
make_ct_est
(est: &CriterionEstimate)
crate/clients/clap/src/actions/bench/output.rs:138
↓ 1 callers
Function
make_eviction_sentinel
Builds a chained sentinel recording events dropped by channel saturation or failed writes.
crate/server/src/core/audit/writer.rs:228
↓ 1 callers
Function
make_kms_with_public_url
Same but with a `kms_public_url` so auto-CRL refresh is enabled.
crate/server/src/tests/crl_tests.rs:91
↓ 1 callers
Function
make_leaf
Issue a leaf certificate under `(root_id, root_sk_id)`; returns its id.
crate/server/src/tests/sub_ca_tests.rs:477
↓ 1 callers
Function
make_pgedge_ceremony_kms
( pg_url: &str, region_role: RegionRole, co_users: Vec<String>, ceremony_secret: &str, cle
crate/server/src/tests/pgedge_ceremony_tests.rs:20
↓ 1 callers
Function
make_pgedge_kms
(pg_url: &str, region_role: RegionRole)
crate/server/src/tests/pgedge_crl_tests.rs:35
↓ 1 callers
Function
make_scep_kms_with_ca_owner
SCEP-enabled KMS whose CA is created and delegated by `ca_owner` (not `default_username`).
crate/server/src/tests/enrollment_tests.rs:152
↓ 1 callers
Function
make_size_cap_sentinel
()
crate/server/src/core/audit/writer.rs:248
↓ 1 callers
Function
make_split_key_block_bytes
(raw: Vec<u8>)
crate/server/src/core/operations/join_split_key.rs:662
↓ 1 callers
Function
make_test_metrics
()
crate/server/src/middlewares/otel_http_middleware.rs:209
↓ 1 callers
Function
mapFactory
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
mapIteratorValue
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
mapPairs
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
map_kmip_hash_to_openssl
(kmip_hash: KmipHash)
crate/crypto/src/crypto/rsa/sign.rs:320
↓ 1 callers
Function
map_nonce_policy
Map the config-layer nonce policy to the crypto-crate enum.
crate/server/src/routes/ocsp/handler.rs:472
↓ 1 callers
Function
maxCompare
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
maxFactory
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Method
max_concurrency
Cap on concurrency for this operation, if any. HSM-resident key *creation* (`HsmAesSymCreate`/`HsmRsaKpCreate`) can safely handle high concurrency on
crate/clients/clap/src/actions/bench/load.rs:149
↓ 1 callers
Function
maybeOptimizeWasm
(pkgDir)
ui/scripts/sync-wasm.mjs:28
↓ 1 callers
Function
me
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
mergeAll
(s,{visitFnGetter:o=getVisitFn,nodeTypeGetter:i=getNodeType,breakSymbol:u=Ju,deleteNodeSymbol:_=null,skipVisit
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
mergeBranding
(defaults: Branding, overrides: Partial<Branding>)
ui/src/utils/branding.ts:74
↓ 1 callers
Function
mergeIntoListWith
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
mergeIntoMapWith
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
mergeIntoNode
(s,o,i,u,_)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
mergeJsonSchema
(s,o,i={})
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
mergeMappings
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
mergeObject
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
mergeObjectsOfDecorators
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
mergePropertyAndMethodDecorators
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
merge_cryptographic_parameters
Merge stored (from key attributes) and request cryptographic parameters. Request fields, when present, override stored ones; absent request uses store
crate/server/src/core/operations/decrypt.rs:946
↓ 1 callers
Method
message
This operation requests the server to send a message, which is a list of operations, to the server. The messages in the protocol consist of a message
crate/clients/client/src/kms_rest_client.rs:736
↓ 1 callers
Function
message_digest
(algorithm: HashingAlgorithm)
crate/server/src/core/operations/hash.rs:19
↓ 1 callers
Function
message_digest_to_md_ref
(digest: MessageDigest)
crate/crypto/src/crypto/rsa/verify.rs:60
↓ 1 callers
Method
message_extension
(&self)
crate/server/src/core/operations/message.rs:148
↓ 1 callers
Function
message_fingerprints
Replay-cache keys of an authenticated message: the signer certificate, transactionID and sender nonce; and the `pkcsPKIEnvelope` alone, so that a capt
crate/server/src/routes/scep/pki_operation.rs:278
↓ 1 callers
Function
methodLabel
(method: AuthMethod)
ui/src/pages/LoginPage.tsx:37
↓ 1 callers
Function
mi
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
migration_authn_token
A KACLS migration authentication token minted for the KACLS `kacls_url` and `resource_name`.
crate/server/src/tests/google_cse/utils.rs:328
↓ 1 callers
Function
migration_config
`config` with a whitelisted KACLS whose migration key is `rsa`.
crate/server/src/tests/google_cse/token_validation.rs:693
↓ 1 callers
Method
min_encrypt_tag_size
(&self)
crate/crypto/src/crypto/symmetric/symmetric_ciphers.rs:299
↓ 1 callers
Function
mirror
The client-side mirror (`cosmian_kms_client_utils`, usable from WASM) of each server-side action. Exhaustive on purpose: a new `RekeyEditAction` varia
crate/crypto/src/crypto/cover_crypt/attributes.rs:231
↓ 1 callers
Function
missing_batch_item_result
Determines the audit result for a batch item that `inject_response_uid` never backfilled (`ctx.result` still `None` once the inner service has respond
crate/server/src/middlewares/audit/mod.rs:425
↓ 1 callers
Function
mixin
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
ml_dsa_algorithm_name
Map a `CryptographicAlgorithm` to the OpenSSL algorithm name string.
crate/crypto/src/crypto/pqc/mod.rs:399
↓ 1 callers
Function
ml_dsa_keygen_vectors
ML-DSA seeded key-generation vectors: NIST ACVP.
crate/crypto/src/kat_vectors.rs:691
↓ 1 callers
Function
ml_dsa_verify_groups
ML-DSA verification vectors: Wycheproof, NIST ACVP.
crate/crypto/src/kat_vectors.rs:696
↓ 1 callers
Function
ml_kem_algorithm_name
Map a `CryptographicAlgorithm` to the OpenSSL algorithm name string.
crate/crypto/src/crypto/pqc/mod.rs:387
↓ 1 callers
Function
ml_kem_decaps_vectors
ML-KEM decapsulation vectors: Wycheproof.
crate/crypto/src/kat_vectors.rs:686
↓ 1 callers
Function
ml_kem_keygen_vectors
ML-KEM seeded key-generation vectors: NIST ACVP.
crate/crypto/src/kat_vectors.rs:681
↓ 1 callers
Function
mockAuthMethods
(page: Page, methods: string[])
ui/tests/e2e-auth/saml-login.spec.ts:17
↓ 1 callers
Function
mockHealth
(page: Page, status: number, json: unknown)
ui/tests/e2e/server-health.spec.ts:16
↓ 1 callers
Function
mockStatus
(status: object)
ui/tests/unit/tsx-imports/CryptoOfficerRevoke.test.ts:28
↓ 1 callers
Function
mockUiConfig
(page: Page, config?: typeof flags)
ui/tests/e2e/ui-config-menu.spec.ts:7
↓ 1 callers
Function
modify_activation_date_fails
Modify the activation date of an Active key: the server must refuse
crate/server/src/tests/ttlv_tests/normative_tests/aklc_m_3_14.rs:355
↓ 1 callers
Function
modify_activation_date_future_stays_pre_active
`ModifyAttribute(ActivationDate)` with a date in the future on a Pre-Active key MUST keep the key in Pre-Active state.
crate/server/src/tests/test_modify_attribute.rs:173
↓ 1 callers
Function
modify_activation_date_on_active_key_rejected
`ModifyAttribute(ActivationDate)` on an already-Active key must be rejected with `Wrong_Key_Lifecycle_State`.
crate/server/src/tests/test_modify_attribute.rs:197
↓ 1 callers
Function
modify_activation_date_past_transitions_to_active
`ModifyAttribute(ActivationDate)` with a date in the past on a Pre-Active key MUST transition the key to Active (KMIP spec §3.22).
crate/server/src/tests/test_modify_attribute.rs:149
↓ 1 callers
Function
modify_attribute
Modify an attribute on a KMS object via the ckms binary.
crate/clients/ckms/src/tests/attributes/test_modify_attribute.rs:30
↓ 1 callers
Method
modify_attribute
( &self, kms_rest_client: &KmsClient, id: &str, attribute: Attribute, )
crate/clients/clap/src/actions/attributes/modify.rs:36
↓ 1 callers
Function
modify_name_on_pre_active_key
`ModifyAttribute(Name)` on a Pre-Active key MUST persist the name.
crate/server/src/tests/test_modify_attribute.rs:115
↓ 1 callers
Function
modify_name_to_uuid
DSM sends this immediately after Register to rename the initial SHA-512 name to the canonical volume UUID that it uses for future Locate calls.
crate/server/src/tests/ttlv_tests/integrations/synology_dsm.rs:524
← previous
next →
6,001–6,100 of 16,000, ranked by callers