MCPcopy Create free account

hub / github.com/Cosmian/kms / functions

Functions16,000 in github.com/Cosmian/kms

↓ 1 callersFunctionexport_import_sym_key
(key_id: &str, cli_conf_path: &str)
crate/clients/ckms/src/tests/access.rs:49
↓ 1 callersFunctionexport_import_test
( cli_conf_path: &str, sub_command: &str, private_key_id: &str, algorithm: CryptographicAlgori
crate/clients/ckms/src/tests/shared/import.rs:223
↓ 1 callersFunctionexport_key
Helper: export a key with a specific format.
crate/test_kms_server/src/pqc_export_tests.rs:17
↓ 1 callersFunctionexport_key_default
Helper: export a key in its default (stored) format.
crate/test_kms_server/src/pqc_export_tests.rs:28
↓ 1 callersMethodexport_postgres
Exports events from a `PostgreSQL` audit database, one instance at a time, paging through each chain rather than materializing it entirely in memory.
crate/clients/clap/src/actions/audit.rs:314
↓ 1 callersMethodexport_rsa_private_key
(&self, key_handle: CK_OBJECT_HANDLE)
crate/hsm/base_hsm/src/session/session_impl.rs:3017
↓ 1 callersMethodexport_rsa_public_key
(&self, key_handle: CK_OBJECT_HANDLE)
crate/hsm/base_hsm/src/session/session_impl.rs:3160
↓ 1 callersFunctionexport_secret_data
( cli_conf_path: &str, secret_id: &str, key_file: &str, export_format: Option<ExportKeyFormat>
crate/clients/ckms/src/tests/secret_data/lifecycle.rs:61
↓ 1 callersFunctionexport_unwrapped
(kms: &Arc<KMS>, owner: &str, uid: &str)
crate/server/src/tests/hsm/kek_wrap_modes.rs:226
↓ 1 callersFunctionexport_unwrapped_bytes
(kms: &KMS, user: &str, uid: &str)
crate/server/src/tests/hsm/fake_hsm_authz.rs:656
↓ 1 callersFunctionexport_with
( kms: &Arc<KMS>, owner: &str, uid: &str, key_wrap_type: Option<KeyWrapType>, key_format_t
crate/server/src/tests/hsm/hybrid_kem_dek.rs:316
↓ 1 callersFunctionexport_wrapped
( kms: &Arc<KMS>, owner: &str, uid: &str, kek_uid: &str, mode: Option<BlockCipherMode>, )
crate/server/src/tests/hsm/kek_wrap_modes.rs:270
↓ 1 callersMethodextend_
(&mut self, additional_characters: Vec<char>)
crate/crypto/src/crypto/fpe/alphabet.rs:179
↓ 1 callersFunctionextends_extends
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionextract
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionextractCount
Extract the numeric count from a locate response string like "5 Object(s) located."
ui/tests/e2e/locate-filters.spec.ts:26
↓ 1 callersFunctionextractFromDoc
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionextractKey
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionextractProtocol
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionextractShareUids
(parsedResponse: { UniqueIdentifier: string | string[] })
ui/tests/unit/split-key-logic.test.ts:31
↓ 1 callersFunctionextract_bytes
Extract raw bytes from any KMIP object that carries a `KeyBlock`.
crate/clients/k8s/operator/src/kms.rs:43
↓ 1 callersFunctionextract_certificate_id
only used by the non-FIPS Google CSE key-pair tests
crate/clients/ckms/src/tests/utils/extract_uids.rs:16
↓ 1 callersFunctionextract_cng_name_from_tags
Extract the CNG key name from the vendor tags on an `Attributes`.
crate/clients/cng/src/backend.rs:197
↓ 1 callersFunctionextract_hsm_key_id
Extract the PKCS#11 `key_id` from an HSM UID of the form `hsm::<model>::<slot_id>::<key_id>`. Returns `None` if the UID cannot be parsed.
crate/server/src/core/operations/attributes/set.rs:42
↓ 1 callersFunctionextract_key_name_from_params
Try to extract a key name from `NCryptBufferDesc` parameter list. Windows passes a `NCRYPTBUFFER_PKCS_KEY_NAME` (type 45) buffer containing the key n
crate/clients/cng/src/provider.rs:201
↓ 1 callersFunctionextract_kmip_op_from_ttlv
Extracts the specific KMIP operation name from a TTLV for audit purposes. Single-operation requests (e.g. `"Encrypt"`, `"Create"`): returns `ttlv.tag
crate/server/src/routes/kmip/audit.rs:62
↓ 1 callersFunctionextract_locate_uids
only used by `tests::shared::locate`, itself not built on Windows
crate/clients/ckms/src/tests/utils/extract_uids.rs:50
↓ 1 callersFunctionextract_operation
Derives an operation name from the HTTP path by taking the first path segment. For KMIP requests the route handler injects a `KmipOperationName` exte
crate/server/src/middlewares/audit/client_ip.rs:13
↓ 1 callersFunctionextract_serial_hex_for_ocsp_cache
Extract a certificate's serial number as an upper-case hex string, in the exact format the OCSP responder uses as part of its cache key (`"{ca_uid}:{s
crate/server/src/core/operations/revoke.rs:413
↓ 1 callersFunctionextract_serial_hex_from_object
Extract the X.509 serial number as an uppercase hex string from a KMS `Object`. Returns `None` if the object is not a certificate or parsing fails.
crate/interfaces/src/stores/objects_store.rs:592
↓ 1 callersFunctionextract_svid_claim
Validate `token` against every SPIFFE-enabled configuration, returning the first successfully validated claim set or the collected validation errors.
crate/server/src/middlewares/jwt/jwt_token_auth.rs:145
↓ 1 callersFunctionextract_tags
Extract the `tags` array from a response body as a sorted `Vec<String>`.
crate/server/src/tests/jose/tags.rs:85
↓ 1 callersFunctionextract_user_key
only used by the non-FIPS CoverCrypt tests
crate/clients/ckms/src/tests/utils/extract_uids.rs:44
↓ 1 callersFunctionextract_verification_key
Extract the verification key from a managed object. # Arguments `object` - The managed object that should contain a verification key. # Returns A
crate/server/src/core/operations/signature_verify.rs:310
↓ 1 callersFunctionextract_wrapping_key
(text: &str)
crate/clients/ckms/src/tests/utils/extract_uids.rs:72
↓ 1 callersFunctionextractable_hsm_ca_is_rejected
An extractable HSM key cannot become the SSH CA.
crate/server/src/tests/hsm/ssh_ca.rs:317
↓ 1 callersFunctionf64_to_usize_saturating
`f64` → `usize` truncating toward zero and saturating, identical to `as usize`: NaN and negatives → 0, above `usize::MAX` → `usize::MAX`.
crate/crypto/src/crypto/float_conv.rs:32
↓ 1 callersFunctionfactorization_system
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionfallback
({name:s})
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionfallback_substitute_with_last_uid
Fallback substitution: if uid-0 (or namespaced/test-name-uid-0, or $UNIQUE_IDENTIFIER_0) remains after primary substitution due to missing map entries
crate/clients/clap/src/tests/xml/request.rs:926
↓ 1 callersFunctionfallback_substitute_with_last_uid_v14
( test_name: &str, op: &mut Op14, uid_map: &HashMap<usize, String>, last_uid: Option<&str>, )
crate/clients/clap/src/tests/xml/request.rs:1030
↓ 1 callersFunctionfetchAuthMethod
(serverUrl: string)
ui/src/utils/utils.ts:51
↓ 1 callersFunctionfetchAuthMethods
(serverUrl: string)
ui/src/utils/utils.ts:88
↓ 1 callersFunctionfetchUiConfig
(serverUrl: string)
ui/src/utils/uiConfig.ts:5
↓ 1 callersFunctionfetchUser
()
ui/src/App.tsx:183
↓ 1 callersFunctionfetchWhoAmI
(serverUrl: string)
ui/src/utils/utils.ts:35
↓ 1 callersFunctionfetch_ca_public_key
(kms_rest_client: &KmsClient)
crate/clients/clap/src/actions/ssh.rs:114
↓ 1 callersFunctionfetch_crl_http
Download a CRL over HTTP(S): no redirects, 30 s total timeout, body capped at [`CRL_MAX_RESPONSE_BYTES`] while streaming (a chunked response without `
crate/server/src/core/operations/validate.rs:657
↓ 1 callersMethodfetch_object
Send a KMIP Get request and extract the secret string from the response.
crate/secret_backends/src/cosmian_kms.rs:51
↓ 1 callersFunctionfetch_object_from_attributes
( link_type: LinkType, kms: &KMS, attributes: &Attributes, user: &UserId, )
crate/server/src/core/operations/certify/resolve_issuer.rs:187
↓ 1 callersFunctionfetch_secret_bytes
Retrieve raw bytes for a KMS object identified by `uid`.
crate/clients/k8s/csi_provider/src/service.rs:252
↓ 1 callersFunctionff
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionfield
(a: &Attributes)
crate/server/src/core/operations/create_key_pair.rs:625
↓ 1 callersFunctionfilter
( algorithm: Option<CryptographicAlgorithm>, object_type: Option<ObjectType>, )
crate/interfaces/src/hsm/interface.rs:902
↓ 1 callersMethodfilter
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersMethodfilter
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersMethodfilter
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersMethodfilterByFormat
(s="generic")
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionfilterFactory
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionfilterFeatures
(menu: MenuItem[], features: UiFeatures | null | undefined)
ui/src/menuItems.tsx:434
↓ 1 callersFunctionfilter_accepts
Whether a key of `key_type` is one `HSM::find(filter)` would list.
crate/interfaces/src/hsm/hsm_store.rs:1543
↓ 1 callersFunctionfinalize
()
crate/clients/pkcs11/module/src/tests.rs:546
↓ 1 callersMethodfinalize
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersMethodfinalize
(&mut self)
crate/server/src/core/operations/mac.rs:214
↓ 1 callersFunctionfind
(node: &serde_json::Value, found_name: &mut bool)
crate/clients/wasm/tests/wasm_bindings.rs:356
↓ 1 callersMethodfind
( &self, researched_attributes: Option<&Attributes>, state: Option<State>, use
crate/server_database/src/stores/sql/mysql.rs:984
↓ 1 callersMethodfind
( &self, researched_attributes: Option<&Attributes>, state: Option<State>, use
crate/server_database/src/stores/sql/pgsql.rs:1395
↓ 1 callersMethodfind
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersMethodfindElements
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersMethodfindRecursive
(...s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionfindRowByUid
* Find a specific row by UID substring and return its Type and Key Format Type.
ui/tests/e2e/locate-attributes.spec.ts:86
↓ 1 callersMethodfind_all_certificates
(&self)
crate/clients/pkcs11/module/src/sessions.rs:1631
↓ 1 callersMethodfind_all_data_objects
(&self)
crate/clients/pkcs11/provider/src/backend.rs:398
↓ 1 callersFunctionfind_all_fields_impl
(value: &serde_json::Value, tag: &str, out: &mut Vec<String>)
crate/test_kms_server/src/vector_runner.rs:815
↓ 1 callersMethodfind_all_objects
(&self)
crate/clients/pkcs11/module/src/sessions.rs:1739
↓ 1 callersMethodfind_all_private_keys
(&self)
crate/clients/pkcs11/module/src/sessions.rs:1639
↓ 1 callersMethodfind_all_public_keys
(&self)
crate/clients/pkcs11/module/src/sessions.rs:1647
↓ 1 callersMethodfind_all_symmetric_keys
(&self)
crate/clients/pkcs11/module/src/sessions.rs:1655
↓ 1 callersMethodfind_all_with_options
( &self, researched_attributes: Option<&Attributes>, state: Option<State>, ven
crate/server_database/src/stores/sql/mysql.rs:1138
↓ 1 callersMethodfind_all_with_options
( &self, researched_attributes: Option<&Attributes>, state: Option<State>, ven
crate/server_database/src/stores/sql/sqlite.rs:1214
↓ 1 callersMethodfind_all_with_options
( &self, researched_attributes: Option<&Attributes>, state: Option<State>, ven
crate/server_database/src/stores/sql/pgsql.rs:1559
↓ 1 callersMethodfind_all_with_options
( &self, researched_attributes: Option<&Attributes>, state: Option<State>, ven
crate/interfaces/src/hsm/hsm_store.rs:916
↓ 1 callersMethodfind_by_id_or_label
Find PKCS#11 object handles by searching `CKA_ID` first, then `CKA_LABEL`. Cosmian KMS sets both `CKA_ID` and `CKA_LABEL` on every key it creates, so
crate/hsm/base_hsm/src/session/session_impl.rs:671
↓ 1 callersMethodfind_by_rotate_name
Find objects by their `x-rotate-name` vendor attribute. Queries all registered object stores and returns matching `(uid, attributes)` pairs. Backed
crate/server_database/src/core/database_objects.rs:835
↓ 1 callersFunctionfind_ca_private_key_uid
Find the CA private key UID by its configured label tag.
crate/server/src/routes/spire/pki.rs:168
↓ 1 callersFunctionfind_certificate_linked_to_hsm_private_key
Find the certificate whose persisted `PrivateKeyLink` identifies an HSM key. HSM key metadata cannot persist KMIP links, so the normal `PrivateKey` →
crate/server/src/core/certificate/find.rs:317
↓ 1 callersMethodfind_data_object
( &self, query: SearchOptions, )
crate/clients/pkcs11/module/src/sessions.rs:1755
↓ 1 callersMethodfind_due_for_rotation
Find all Active objects that have a `rotate_interval > 0` and whose next rotation instant is ≤ `now`. Returns `(uid, owner)` pairs.
crate/server_database/src/core/database_objects.rs:808
↓ 1 callersMethodfind_due_for_rotation
( &self, now: time::OffsetDateTime, )
crate/interfaces/src/hsm/hsm_store.rs:623
↓ 1 callersFunctionfind_item
Byte offset of the first TTLV item with `tag` and `item_type` in an encoded message.
crate/server/src/tests/ttlv_tests/batch_semantics_2_1.rs:315
↓ 1 callersFunctionfind_key_pair
( func_list: &CK_FUNCTION_LIST, session: CK_SESSION_HANDLE, private_key_id: &str, public_key_i
crate/clients/clap/src/actions/pkcs11/capabilities.rs:1184
↓ 1 callersMethodfind_map_key
Execute a closure over each `&Jwk` in the cache until it returns `Some` or finishes.
crate/server/src/middlewares/jwt/jwks.rs:87
↓ 1 callersFunctionfind_object_by_id
FFI into the dlopen'ed PKCS#11 provider (#1166)
crate/clients/clap/src/actions/pkcs11/capabilities.rs:1206
↓ 1 callersFunctionfind_or_create_session
crate/hsm/base_hsm/tests/fixtures/v3_message_adapter.c:88
↓ 1 callersMethodfind_private_key
(&self, query: SearchOptions)
crate/clients/pkcs11/provider/src/backend.rs:311
↓ 1 callersMethodfind_public_key
(&self, _query: SearchOptions)
crate/clients/pkcs11/module/src/sessions.rs:1643
↓ 1 callersMethodfind_symmetric_key
(&self, query: SearchOptions)
crate/clients/pkcs11/provider/src/backend.rs:442
↓ 1 callersFunctionfind_tool
Locate an OpenSSH binary in `PATH` or the usual system directories.
crate/server/src/tests/hsm/sshd.rs:21
↓ 1 callersMethodfind_with_options
( &self, researched_attributes: Option<&Attributes>, state: Option<State>, use
crate/server_database/src/stores/sql/mysql.rs:1003
↓ 1 callersMethodfind_with_options
( &self, researched_attributes: Option<&Attributes>, state: Option<State>, use
crate/server_database/src/stores/sql/sqlite.rs:1037
← previousnext →5,301–5,400 of 16,000, ranked by callers