MCPcopy Create free account

hub / github.com/Cosmian/kms / functions

Functions16,000 in github.com/Cosmian/kms

↓ 1 callersFunctionoptional_attributes_links
( attributes: &mut Option<Attributes>, )
crate/server/src/core/operations/message.rs:1404
↓ 1 callersFunctionout_of_range_schedules
Schedules that leave the supported date range, as stored before the write-side bound.
crate/server/src/core/operations/auto_rotate.rs:532
↓ 1 callersFunctionoverArg
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionoverall_status
( database: HealthStatus, hsm: &[DependencyHealth], kmip: Option<&DependencyHealth>, audit: Op
crate/server/src/routes/health.rs:311
↓ 1 callersFunctionown_public_key
One of `user`'s own RSA public keys.
crate/server/src/tests/hsm/fake_hsm_authz.rs:677
↓ 1 callersFunctionownedFallbackNoCriteria
(serverUrl: string)
ui/src/components/common/Locate.tsx:293
↓ 1 callersFunctionpackNodes
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionpadStart
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionpad_be_bytes
(bytes: &mut Vec<u8>, size: usize)
crate/kmip/src/lib.rs:22
↓ 1 callersFunctionparameter
Cryptographic Parameters field from the request, else from the key's stored attributes.
crate/server/src/core/operations/encrypt.rs:504
↓ 1 callersFunctionparameterInclusionSettingFor
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionparameterValues
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionparametersIncludeType
(s,o="")
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionparseAbbr
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionparseHtml
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionparseReference
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionparseURIReference
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionparseValue
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionparse_concurrency
(spec: &str)
crate/clients/clap/src/actions/pkcs11/bench/mod.rs:124
↓ 1 callersFunctionparse_concurrency_levels
(s: &str)
crate/clients/clap/src/actions/bench/load.rs:302
↓ 1 callersFunctionparse_csr
Parse a certificate request of the given type (KMIP 2.1 §6.1.6.1: a bad request is `Invalid_CSR`, CRMF is not supported).
crate/server/src/core/operations/certify/resolve_subject.rs:206
↓ 1 callersFunctionparse_csr_requests
(csr_der: &[u8])
crate/server/src/core/operations/certify/template.rs:217
↓ 1 callersFunctionparse_decimal_u8
(oid_name: &str, v: &[u8])
crate/crypto/src/openssl/scep_cms.rs:481
↓ 1 callersFunctionparse_default_unwrap_types
Parse the `--default-unwrap-type` CLI list into a typed `Vec<ObjectType>`. Accepts the special value `"All"` (case-insensitive) to mean every object
crate/server/src/config/params/server_params.rs:1399
↓ 1 callersMethodparse_derivation_method
Parse the derivation method string into the KMIP enum.
crate/clients/clap/src/actions/derive_key/mod.rs:257
↓ 1 callersFunctionparse_duration
Parse a duration such as `30m`, `90s`, `1h30m` or `1h 30m`: one or more `<integer><unit>` groups separated by optional whitespace. Units: `ns`/`nsec`,
crate/clients/k8s/operator/src/controller.rs:354
↓ 1 callersFunctionparse_export_certificate_ttlv_response
( response: &str, output_format: &str, )
crate/clients/wasm/src/wasm.rs:2363
↓ 1 callersFunctionparse_interfaces
Parses raw `CK_INTERFACE` entries returned by `C_GetInterfaceList` into safe, owned descriptors. # Safety Each `p_interface_name` pointer, when non-
crate/hsm/base_hsm/src/pkcs11_v3.rs:175
↓ 1 callersFunctionparse_internal
(xml: &str)
crate/kmip/src/ttlv/xml/parser.rs:271
↓ 1 callersFunctionparse_kmip_long_integer
(value)
ansible/plugins/module_utils/kms_api.py:38
↓ 1 callersFunctionparse_kmip_policy
Validate and normalise the KMIP policy ID, then return the corresponding allowlists. Returns `(policy_id, allowlists)`.
crate/server/src/config/params/server_params.rs:1367
↓ 1 callersFunctionparse_label
Parse `name::generation::key_id` as `parse_label_metadata` does in the PKCS#11 session.
crate/server/src/tests/hsm/fake_hsm_rotation.rs:141
↓ 1 callersFunctionparse_nonce
(name: &str, v: &[u8])
crate/crypto/src/openssl/scep_cms.rs:488
↓ 1 callersFunctionparse_operation
Parse the root TTLV tag into the KMIP operation it names. # Errors [`KmsError::RouteNotFound`] when the tag is not a KMIP operation.
crate/server/src/core/operations/dispatch.rs:193
↓ 1 callersFunctionparse_path_metadata
Decode `owm` as KV metadata; `None` when it holds anything else.
crate/server/src/routes/kv/metadata.rs:303
↓ 1 callersFunctionparse_pkcs1_public_der
Parse a minimal PKCS#1 `RSAPublicKey` DER and return (modulus, exponent).
crate/clients/cng/src/blob.rs:237
↓ 1 callersFunctionparse_query_server_information_response
(response: &str)
crate/clients/wasm/src/wasm.rs:140
↓ 1 callersFunctionparse_rotation_policy_response
(response: &str)
crate/clients/wasm/src/wasm.rs:3273
↓ 1 callersFunctionparse_selected_attributes_flatten
( vendor_id: &str, attributes: &Attributes, selected_attributes: Vec<String>, )
crate/clients/client_utils/src/attributes_utils.rs:387
↓ 1 callersMethodparse_since
(&self)
crate/clients/clap/src/actions/audit.rs:259
↓ 1 callersFunctionparse_ttl_days
Parse a Vault-format TTL string into a number of days (ceiling). Accepted formats: - `"8760h"` — hours - `"3600s"` — seconds - `"365d"` — days - `"36
crate/server/src/routes/spire/pki.rs:138
↓ 1 callersFunctionparse_utf8_argument
( ptr: CK_UTF8CHAR_PTR, len: CK_ULONG, max_len: usize, name: &str, )
crate/clients/pkcs11/module/src/pkcs11.rs:932
↓ 1 callersFunctionparse_version_suffix
Parse a version suffix string (`latest`, `first`, `0`, `N`) into a `KeysetVersion`. Returns `None` if the suffix is not a valid version specifier.
crate/server/src/core/uid_utils.rs:111
↓ 1 callersFunctionparse_version_tag
Extract `(path, version)` from a version tag (`_kv::version::{path}::{version}`).
crate/server/src/routes/kv/metadata.rs:111
↓ 1 callersFunctionparse_x509_to_object
Parse raw bytes (PEM or DER) into a KMIP certificate Object.
crate/clients/clap/src/actions/certificates/import_certificate.rs:113
↓ 1 callersFunctionpassword_wrap_import_test
( owner_client_conf_path: &str, sub_command: &str, private_key_id: &str, )
crate/clients/ckms/src/tests/shared/wrap_unwrap.rs:177
↓ 1 callersFunctionpatchErrorMessageFormatter
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionpatch_fipsmodule_include
Patch `openssl.cnf` so the `.include` directive for `fipsmodule.cnf` points to the local path. This is needed because nix builds write the production
crate/crypto/build.rs:205
↓ 1 callersFunctionpatch_port
Replace the port in a URL string, preserving scheme/host/path.
crate/clients/ckms/src/tests/utils/config.rs:98
↓ 1 callersFunctionpath_has_dot_segment
Return `true` if any segment of `path` resolves to a `.` or `..` (dot or dot-dot) segment, in either plain or percent-encoded form. Only the literal
crate/server/src/routes/spire/auth_proxy.rs:154
↓ 1 callersFunctionpath_str
(path: &Path)
crate/crypto/build.rs:248
↓ 1 callersFunctionpbkdf2_vectors
PBKDF2 vectors: NIST ACVP, Wycheproof, OpenSSL.
crate/crypto/src/kat_vectors.rs:616
↓ 1 callersMethodpeek_element
Peek the element that will be fetched next
crate/kmip/src/ttlv/kmip_ttlv_deserializer/deserializer.rs:86
↓ 1 callersFunctionpeer_allowed
(allowed: &[u32], uid: u32)
crate/clients/k8s/plugin/src/peer.rs:11
↓ 1 callersFunctionperform_request_tweaks
Perform response tweaks for KMIP 1.1 and 1.2 since we only support structures for KMIP 1.4 and 2.1
crate/server/src/routes/kmip/handlers.rs:1218
↓ 1 callersFunctionperform_response_tweaks
Perform response tweaks for KMIP 1.1 and 1.2 since we only support structures for KMIP 1.4 and 2.1
crate/server/src/routes/kmip/handlers.rs:1035
↓ 1 callersFunctionpermissions_find_includes_wildcard
Regression test for `find` (KMIP `Locate`, used by the "Search Objects" UI page): an object granted only to the wildcard user `*` must be found by eve
crate/server_database/src/tests/permissions_test.rs:294
↓ 1 callersFunctionpermissions_granted_includes_wildcard
Regression test for `list_user_operations_granted` (`GET /access/obtained`): a permission granted only to the wildcard user `*` must be reported as "o
crate/server_database/src/tests/permissions_test.rs:233
↓ 1 callersFunctionpermissions_users
(db: &DB)
crate/server_database/src/tests/permissions_test.rs:25
↓ 1 callersFunctionpermissions_wildcard
(db: &DB)
crate/server_database/src/tests/permissions_test.rs:110
↓ 1 callersFunctionperms
(pool: &Pool, uid: &str, userid: &str)
crate/server_database/src/stores/sql/mysql.rs:2200
↓ 1 callersMethodperms
(&self, uid: &str, userid: &str)
crate/server_database/src/stores/sql/sqlite.rs:1855
↓ 1 callersFunctionpersistConfigs
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionpersist_fresh_false
Flip `Fresh = false` in storage and in-memory while preserving key wrapping (COSMIAN-2026-031). Fails closed if the original DB object snapshot is mis
crate/server/src/core/operations/export_get.rs:1768
↓ 1 callersFunctionpersist_single_base_derived_object
( kms: &KMS, user: &UserId, base_key_handle: &ObjectHandle<'_>, base_identifier: &UniqueIdenti
crate/server/src/core/operations/derive_key.rs:690
↓ 1 callersFunctionpg_session_uses_tls
Connects through `prepare_pg_connection` and reports `pg_stat_ssl.ssl` for the session.
crate/server_database/src/stores/sql/pgsql.rs:2678
↓ 1 callersFunctionpg_tls_url
`base` with its host optionally replaced and `params` appended as query pairs.
crate/server_database/src/stores/sql/pgsql.rs:2667
↓ 1 callersFunctionpg_url_verifies_server_cert
Whether connecting with this URL authenticates the server certificate.
crate/server_database/src/stores/sql/pgsql.rs:144
↓ 1 callersFunctionpgp_decrypt
( owm: &ObjectWithMetadata, request: &Decrypt, )
crate/server/src/core/operations/pgp_ops.rs:291
↓ 1 callersFunctionpgp_encrypt
( owm: &ObjectWithMetadata, request: &Encrypt, rng: &KmsRng, )
crate/server/src/core/operations/pgp_ops.rs:261
↓ 1 callersFunctionpgp_export_convert
( owm: &mut ObjectWithMetadata, key_format_type: Option<KeyFormatType>, )
crate/server/src/core/operations/pgp_ops.rs:127
↓ 1 callersFunctionpgp_normalize_for_import
( object: &mut Object, attributes: &mut Attributes, )
crate/server/src/core/operations/pgp_ops.rs:205
↓ 1 callersFunctionpgp_sign
( owm: &ObjectWithMetadata, request: &Sign, rng: &KmsRng, )
crate/server/src/core/operations/pgp_ops.rs:324
↓ 1 callersFunctionpgp_signature_verify
( owm: &ObjectWithMetadata, request: &SignatureVerify, )
crate/server/src/core/operations/pgp_ops.rs:370
↓ 1 callersFunctionph
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionphase
(s: State)
crate/server_database/src/stores/sql/mysql.rs:1847
↓ 1 callersFunctionpin_default_provider
()
crate/crypto/src/lib.rs:18
↓ 1 callersFunctionpinned_ca_store
Trust store holding only the certificates of `path`. `set_ca_file` would add them to the system CAs; libpq trusts `sslrootcert` alone, so a pinned pri
crate/server_database/src/stores/sql/pgsql.rs:101
↓ 1 callersFunctionpkce_challenge
PKCE `S256` code challenge (RFC 7636 §4.2): `BASE64URL(SHA256(verifier))`, no padding.
crate/clients/client/src/http_client/login.rs:32
↓ 1 callersFunctionpkce_challenge_from_verifier
(verifier: &str)
crate/server/src/routes/ui_auth.rs:36
↓ 1 callersMethodpkcs11
This operation enables the server to perform a PKCS#11 operation. According to KMIP 2.1 specification section 6.1.37: - PKCS#11 Function: REQUIRED -
crate/server/src/core/kms/kmip.rs:417
↓ 1 callersFunctionpkcs11_return_code_name
(rv: pkcs11_sys::CK_RV)
crate/hsm/base_hsm/src/hsm_lib.rs:31
↓ 1 callersFunctionpkcs1_envelope
SAFETY: OpenSSL FFI; justified at each unsafe block
crate/crypto/src/openssl/scep_cms.rs:882
↓ 1 callersMethodpkcs8_der_bytes
(&self)
crate/clients/pkcs11/provider/src/pkcs11_private_key.rs:99
↓ 1 callersFunctionpki_message_response
(der: Vec<u8>)
crate/server/src/routes/scep/pki_operation.rs:105
↓ 1 callersFunctionplain_pg_url
()
crate/server_database/src/stores/sql/pgsql.rs:2651
↓ 1 callersFunctionpointToAncestor
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionpointerBoundaryChar
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionpointerIsAParent
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionpopCount
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersMethodpost_empty
Send an HTTP POST request without a body. # Errors Returns an error if the request fails.
crate/clients/client/src/http_client/client.rs:539
↓ 1 callersMethodpost_form
Send an HTTP POST with form-urlencoded body (for `OAuth2` token exchange). # Errors Returns an error if the request fails.
crate/clients/client/src/http_client/client.rs:580
↓ 1 callersFunctionpost_kmip_binary
Post a full `RequestMessage` as binary TTLV (`application/octet-stream`) to `/kmip` and return the parsed `ResponseMessage`. Exercises `kmip_binary`,
crate/server/src/tests/test_utils.rs:770
↓ 1 callersFunctionpost_message
Send a request to `/kmip` with the given encoding; binary KMIP 1.x requests use the 1.x wire flavor.
crate/clients/clap/src/tests/xml/runner.rs:194
↓ 1 callersMethodpost_message
( &self, request_message: &RequestMessage, )
crate/clients/client/src/kms_rest_client.rs:1060
↓ 1 callersMethodpost_message_bytes
Sends a KMIP 2.x [`RequestMessage`] as binary TTLV to the `/kmip` octet-stream endpoint and fully deserializes the response message.
crate/clients/client/src/kms_rest_client.rs:1069
↓ 1 callersFunctionpost_ok
A request still pending at `deadline` (the end of the drain period) counts as failed, so a server that stops answering yields errors and a report inst
crate/clients/clap/src/actions/bench/cek_switch.rs:342
↓ 1 callersFunctionpost_process_active_private_key
Post-process an active private key This function is used to export a private key It will wrap or unwrap the key if necessary and convert it to the re
crate/server/src/core/operations/export_get.rs:553
↓ 1 callersFunctionpost_process_pkcs7
( kms: &KMS, operation_type: KmipOperation, user: &UserId, owm: ObjectWithMetadata, )
crate/server/src/core/operations/export_get.rs:1572
↓ 1 callersFunctionpost_process_private_key
Post-process a private key This function is used to export a private key It will wrap or unwrap the key if necessary and convert it to the requested
crate/server/src/core/operations/export_get.rs:475
← previousnext →6,201–6,300 of 16,000, ranked by callers