MCPcopy Create free account

hub / github.com/Cosmian/kms / functions

Functions12,829 in github.com/Cosmian/kms

↓ 1 callersFunctionspawn_crl_refresh_cron
Spawn a background thread that periodically refreshes CRLs near their expiry. The scheduler wakes up every `crl_refresh_check_hours` hours (from [`Se
crate/server/src/cron.rs:67
↓ 1 callersFunctionspawn_google_cse_http_server
Serve the `privilegedunwrap` endpoint of `kms` on a real loopback HTTP socket and return its KACLS URL (`http://127.0.0.1:<port>/google_cse`). `privil
crate/server/src/tests/test_utils.rs:413
↓ 1 callersFunctionspawn_metrics_cron
Spawns the metrics cron thread: refreshes the uptime gauge every second, reconciles backend object counters every 5 minutes, and re-syncs the `kms.key
crate/server/src/cron.rs:162
↓ 1 callersFunctionspec_with_version
(object_version: &str)
crate/clients/k8s/csi_provider/src/service.rs:280
↓ 1 callersFunctionspki_ec_inner_key
Extract the EC curve and uncompressed point from a SubjectPublicKeyInfo DER.
crate/clients/cng/src/blob.rs:296
↓ 1 callersFunctionspki_inner_key
Strip the SPKI AlgorithmIdentifier wrapper from an RSA key and return the inner PKCS#1 RSAPublicKey DER bytes.
crate/clients/cng/src/blob.rs:267
↓ 1 callersFunctionspliceIn
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionspliceOut
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionsplit_digest_info
Splits `data` into `(signature algorithm, digest)` if it is exactly a DER `DigestInfo` for SHA-1/256/384/512, i.e. a known prefix followed by a digest
crate/clients/pkcs11/provider/src/kms_object.rs:1020
↓ 1 callersFunctionsplit_unescaped
Split `subject` on commas not preceded by a backslash; `\,` and `\\` are unescaped.
crate/server/src/core/operations/generate_csr.rs:46
↓ 1 callersFunctionsqlite_row_to_owm
(row: &Row<'_>)
crate/server_database/src/stores/sql/sqlite.rs:577
↓ 1 callersFunctionssoLogin
Sign in through the UI: SSO button -> Keycloak form -> back on the KMS UI.
ui/tests/e2e-saml/saml-sso.spec.ts:38
↓ 1 callersFunctionst
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionstartIndex
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionstart_default_test_kms_server_with_hsm_and_kek_for_vectors
Start an HSM + KEK test server for use by the vector runner. Unlike [`start_default_test_kms_server_with_hsm_and_kek`], this function returns a `Resu
crate/test_kms_server/src/test_server.rs:723
↓ 1 callersFunctionstart_default_test_kms_server_with_hsm_for_vectors
Start an HSM test server **without** a Key Encryption Key. Used for test vectors that exercise HSM-resident key operations (keyset addressing, re-key
crate/test_kms_server/src/test_server.rs:828
↓ 1 callersFunctionstart_default_test_kms_server_with_hsm_kek_uncreated_for_vectors
Start an HSM + KEK test server where the KEK has **not** been pre-created. This server type is used to reproduce the self-wrap regression (PR #968):
crate/test_kms_server/src/test_server.rs:882
↓ 1 callersFunctionstart_default_test_kms_server_with_multi_crypto_officer_users
Privileged users — two distinct identities in the list. Base configuration is loaded from `test_data/configs/server/rbac/crypto_officer_users.toml`;
crate/test_kms_server/src/test_server.rs:979
↓ 1 callersFunctionstart_default_test_kms_server_with_non_revocable_key_ids
Non-revocable key IDs. Base configuration is loaded from `test_data/configs/server/test/non_revocable.toml`; the `non_revocable_key_id` field is inje
crate/test_kms_server/src/test_server.rs:446
↓ 1 callersFunctionstart_default_test_kms_server_with_three_softhsm2
()
crate/test_kms_server/src/test_server.rs:933
↓ 1 callersFunctionstart_http_kms_server
Start an HTTP(S) KMS server # Arguments `server_params` - An instance of `ServerParams` containing the server's settings. `server_handle_transmitter
crate/server/src/start_kms_server.rs:655
↓ 1 callersFunctionstart_plugin_on_tmp_socket
( kms_url: &str, wrapping_key_uid: String, )
crate/clients/k8s/plugin/src/integration_tests.rs:26
↓ 1 callersFunctionstart_socket_server
Start a socket server that will handle TTLV bytes # Arguments `server_params` - An instance of `ServerParams` containing the server's settings. `pre_
crate/server/src/start_kms_server.rs:618
↓ 1 callersFunctionstart_test_kms_server_with_pqc_tls
()
crate/test_kms_server/src/test_server.rs:1041
↓ 1 callersFunctionstart_test_server
Starts the test server (used by [`get_client`]) if it is not already running, allocating OS-assigned free ports for both the HTTP and socket servers.
crate/server/src/tests/ttlv_tests/mod.rs:90
↓ 1 callersFunctionstart_test_server_with_fixed_port
Starts a test server bound to a caller-chosen, fixed socket port. Only used by the (`#[ignore]`d, run manually) `pykmip` integration test, whose exte
crate/server/src/tests/ttlv_tests/mod.rs:166
↓ 1 callersMethodstart_threaded
Start the server in a separate thread and listen for incoming connections The `request_handler` function is called for each incoming request. The func
crate/server/src/socket_server.rs:176
↓ 1 callersFunctionstateAfterAttributeName
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionstateAfterAttributeValueQuoted
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionstateAtSign
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionstateAttributeName
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionstateAttributeValueDoubleQuoted
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionstateAttributeValueSingleQuoted
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionstateAttributeValueUnquoted
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionstateBeforeAttributeName
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionstateBeforeAttributeValue
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionstateColor
(state?: string)
ui/src/components/common/LocateButton.tsx:58
↓ 1 callersFunctionstateComment
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionstateCommentEnd
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionstateCommentEndBang
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionstateCommentEndDash
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionstateCommentStart
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionstateCommentStartDash
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionstateData
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionstateDisplay
(state?: string)
ui/src/components/common/Locate.tsx:147
↓ 1 callersFunctionstateDoctype
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionstateDomainChar
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionstateDomainDot
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionstateDomainHyphen
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionstateEndTagOpen
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionstateHashtagHashChar
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionstateHashtagTextChar
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionstateLocalPart
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionstateLocalPartDot
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionstateMailTo
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionstateMarkupDeclarationOpen
(o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionstateNonEmailAddress
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionstateNonHashtagWordChar
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionstateNone
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionstateSelfClosingStartTag
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionstateTagName
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionstateTagOpen
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersMethodstatus
Health-check polled by kube-apiserver every ~60 s. Returns `version="v2"`, `healthz="ok"` and the current KEK UID as `key_id`. A change in `key_id`
crate/clients/k8s/plugin/src/service.rs:62
↓ 1 callersFunctionstatus_and_body
(reply: AzureEkmErrorReply)
crate/server/src/routes/azure_ekm/error.rs:155
↓ 1 callersFunctionstep_fail
(name: &str, err: &dyn std::fmt::Display)
crate/clients/clap/src/actions/cng_verify.rs:618
↓ 1 callersFunctionstopScroll
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionstoreMappingPair
(s,o,i,u,_,w,x,C,j)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersMethodstore_ceremony_record
Store a sealed ceremony record under the given Redis key. The record is a JSON object `{ "sealed": "<base64>", "revoked_at": null, "revoked_by": null
crate/server_database/src/stores/redis/redis_with_findex.rs:820
↓ 1 callersFunctionstore_next_uid
Store next UID if it is not already present. Return index used when inserted.
crate/clients/clap/src/tests/xml/expected_response.rs:905
↓ 1 callersFunctionstore_next_uid_text
(uid_map: &mut HashMap<usize, String>, uid: &str)
crate/clients/clap/src/tests/xml/expected_response.rs:918
↓ 1 callersMethodstored
Stored algorithm, private key format, public key format
crate/server/src/tests/hsm/hybrid_kem_dek.rs:129
↓ 1 callersFunctionstored_object
(kms: &Arc<KMS>, uid: &str)
crate/server/src/tests/hsm/kek_wrap_modes.rs:222
↓ 1 callersFunctionstringifyConstraintRange
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionstringifyObjectErrors
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionstringifyUnlessList
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionstripNonAlpha
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionstrip_asymmetric_key_value_attributes
KMIP 1.x: strip all `KeyValue` attributes from asymmetric keys in Get responses. Some KMIP 1.x clients (e.g. Veeam Backup) cannot decode the `Link` st
crate/server/src/routes/kmip/handlers.rs:655
↓ 1 callersFunctionstrip_cps_qualifier
If `token` is `CPS:url` or `CPS.N:url` (section-style numbering), returns the URL part.
crate/crypto/src/openssl/x509_extensions.rs:389
↓ 1 callersFunctionstrip_der_zeros
Strip leading zero bytes from a DER integer value, keeping at least one byte.
crate/server/src/routes/jose/mod.rs:144
↓ 1 callersFunctionstrip_fence_titles
Rewrite mdbook `` ```lang title="X"`` fences into a bold label + fence. Pandoc does not understand the mdbook ``title="..."`` fence attribute and
documentation/pandoc/combine.py:196
↓ 1 callersFunctionstrip_kmip1_version_unsupported_attrs
KMIP 1.x: strip every attribute that was introduced *after* the client's protocol version from `Get` (inside `KeyValue`) and `GetAttributes` responses
crate/server/src/routes/kmip/handlers.rs:722
↓ 1 callersFunctionstrip_kmip_10_initial_date
KMIP 1.0: strip `Initial Date` (§3.18) from the `Get` response `KeyValue`. This is not a specification requirement — `Initial Date` exists in KMIP 1.
crate/server/src/routes/kmip/handlers.rs:732
↓ 1 callersFunctionstrip_leading_zero
Strip leading zero byte from a DER INTEGER value (ASN.1 sign byte).
crate/clients/cng/src/blob.rs:229
↓ 1 callersFunctionstrip_leading_zero_for_encode
Strip leading zeros from CNG blob fields (which are fixed-width, big-endian).
crate/clients/cng/src/blob.rs:441
↓ 1 callersMethodsub_mod_exp
(self, other: Self, radix: u32, m: usize)
crate/crypto/src/crypto/fpe/ff1.rs:531
↓ 1 callersFunctionsubstitute_create_register_uids_from_actual
For Create/Register responses, always copy the `UniqueIdentifier` from the actual response into the expected response. This avoids mismatches when a p
crate/clients/clap/src/tests/xml/expected_response.rs:760
↓ 1 callersFunctionsubstitute_encrypt_response_data_iv_from_actual
For `EncryptResponse` payloads in the expected response, substitute placeholder fields like $`DATA_25`, $`IV_COUNTER_NONCE`, and $`AUTHENTICATED_ENCRY
crate/clients/clap/src/tests/xml/expected_response.rs:475
↓ 1 callersFunctionsubstitute_key_material_from_actual
Substitute `$KEY_MATERIAL_N` style placeholders in expected responses by copying the actual key material bytes returned by the server. This covers bot
crate/clients/clap/src/tests/xml/expected_response.rs:623
↓ 1 callersFunctionsubstitute_kwd_uids
Helper to substitute UIDs within KeyWrappingData
crate/clients/clap/src/tests/xml/expected_response.rs:165
↓ 1 callersFunctionsubstitute_kwd_uids_v14
Helper to substitute UIDs within KMIP 1.4 KeyWrappingData
crate/clients/clap/src/tests/xml/expected_response.rs:179
↓ 1 callersFunctionsubstitute_linked_uid
Substitute a placeholder LinkedObjectIdentifier with the real value from the map.
crate/clients/clap/src/tests/xml/expected_response.rs:959
↓ 1 callersFunctionsubstitute_linked_uid_in_request
Substitute a placeholder LinkedObjectIdentifier within KMIP 2.1 request payloads. Recognizes raw (uid-N / $UNIQUE_IDENTIFIER_N) and namespaced (test-n
crate/clients/clap/src/tests/xml/request.rs:1099
↓ 1 callersFunctionsubstitute_locate_response_from_actual
Adjust LocateResponse when the shared server returns more objects than the original vector anticipated (expected usually lists only one). To keep the
crate/clients/clap/src/tests/xml/expected_response.rs:811
↓ 1 callersFunctionsubstitute_object_wrapping_uids
Helper to walk object variants and substitute UIDs inside KeyWrappingData
crate/clients/clap/src/tests/xml/expected_response.rs:229
↓ 1 callersFunctionsubstitute_object_wrapping_uids_v14
Helper to walk KMIP 1.4 object variants and substitute UIDs inside KeyWrappingData
crate/clients/clap/src/tests/xml/expected_response.rs:193
↓ 1 callersFunctionsubstitute_op_placeholders
( test_name: &str, op: &mut Operation, uid_map: &HashMap<usize, String>, )
crate/clients/clap/src/tests/xml/request.rs:667
↓ 1 callersFunctionsubstitute_op_placeholders_v14
( test_name: &str, op: &mut Op14, uid_map: &HashMap<usize, String>, )
crate/clients/clap/src/tests/xml/request.rs:999
↓ 1 callersFunctionsubstitute_pkcs11_correlation_from_actual
For `PKCS11Response` payloads in the expected response, substitute the `$CORRELATION_VALUE` placeholder by copying the actual response bytes.
crate/clients/clap/src/tests/xml/expected_response.rs:699
↓ 1 callersFunctionsubstitute_placeholders
(raw: &str, uid_state: &mut Vec<String>)
crate/kmip/src/ttlv/xml/parser.rs:142
↓ 1 callersFunctionsubstitute_placeholders_in_expected_response
Substitute uid-N placeholders in the expected ResponseMessage using the uid map captured from prior actual responses. This aligns vector placeholders
crate/clients/clap/src/tests/xml/expected_response.rs:159
← previousnext →5,401–5,500 of 12,829, ranked by callers