Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Cosmian/kms
/ functions
Functions
12,829 in github.com/Cosmian/kms
⨍
Functions
12,829
◇
Types & classes
2,591
↓ 1 callers
Function
spawn_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 callers
Function
spawn_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 callers
Function
spawn_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 callers
Function
spec_with_version
(object_version: &str)
crate/clients/k8s/csi_provider/src/service.rs:280
↓ 1 callers
Function
spki_ec_inner_key
Extract the EC curve and uncompressed point from a SubjectPublicKeyInfo DER.
crate/clients/cng/src/blob.rs:296
↓ 1 callers
Function
spki_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 callers
Function
spliceIn
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
spliceOut
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
split_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 callers
Function
split_unescaped
Split `subject` on commas not preceded by a backslash; `\,` and `\\` are unescaped.
crate/server/src/core/operations/generate_csr.rs:46
↓ 1 callers
Function
sqlite_row_to_owm
(row: &Row<'_>)
crate/server_database/src/stores/sql/sqlite.rs:577
↓ 1 callers
Function
ssoLogin
Sign in through the UI: SSO button -> Keycloak form -> back on the KMS UI.
ui/tests/e2e-saml/saml-sso.spec.ts:38
↓ 1 callers
Function
st
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
startIndex
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
start_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 callers
Function
start_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 callers
Function
start_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 callers
Function
start_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 callers
Function
start_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 callers
Function
start_default_test_kms_server_with_three_softhsm2
()
crate/test_kms_server/src/test_server.rs:933
↓ 1 callers
Function
start_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 callers
Function
start_plugin_on_tmp_socket
( kms_url: &str, wrapping_key_uid: String, )
crate/clients/k8s/plugin/src/integration_tests.rs:26
↓ 1 callers
Function
start_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 callers
Function
start_test_kms_server_with_pqc_tls
()
crate/test_kms_server/src/test_server.rs:1041
↓ 1 callers
Function
start_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 callers
Function
start_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 callers
Method
start_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 callers
Function
stateAfterAttributeName
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
stateAfterAttributeValueQuoted
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
stateAtSign
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
stateAttributeName
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
stateAttributeValueDoubleQuoted
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
stateAttributeValueSingleQuoted
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
stateAttributeValueUnquoted
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
stateBeforeAttributeName
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
stateBeforeAttributeValue
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
stateColor
(state?: string)
ui/src/components/common/LocateButton.tsx:58
↓ 1 callers
Function
stateComment
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
stateCommentEnd
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
stateCommentEndBang
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
stateCommentEndDash
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
stateCommentStart
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
stateCommentStartDash
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
stateData
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
stateDisplay
(state?: string)
ui/src/components/common/Locate.tsx:147
↓ 1 callers
Function
stateDoctype
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
stateDomainChar
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
stateDomainDot
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
stateDomainHyphen
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
stateEndTagOpen
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
stateHashtagHashChar
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
stateHashtagTextChar
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
stateLocalPart
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
stateLocalPartDot
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
stateMailTo
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
stateMarkupDeclarationOpen
(o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
stateNonEmailAddress
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
stateNonHashtagWordChar
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
stateNone
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
stateSelfClosingStartTag
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
stateTagName
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
stateTagOpen
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Method
status
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 callers
Function
status_and_body
(reply: AzureEkmErrorReply)
crate/server/src/routes/azure_ekm/error.rs:155
↓ 1 callers
Function
step_fail
(name: &str, err: &dyn std::fmt::Display)
crate/clients/clap/src/actions/cng_verify.rs:618
↓ 1 callers
Function
stopScroll
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
storeMappingPair
(s,o,i,u,_,w,x,C,j)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Method
store_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 callers
Function
store_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 callers
Function
store_next_uid_text
(uid_map: &mut HashMap<usize, String>, uid: &str)
crate/clients/clap/src/tests/xml/expected_response.rs:918
↓ 1 callers
Method
stored
Stored algorithm, private key format, public key format
crate/server/src/tests/hsm/hybrid_kem_dek.rs:129
↓ 1 callers
Function
stored_object
(kms: &Arc<KMS>, uid: &str)
crate/server/src/tests/hsm/kek_wrap_modes.rs:222
↓ 1 callers
Function
stringifyConstraintRange
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
stringifyObjectErrors
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
stringifyUnlessList
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
stripNonAlpha
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
strip_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 callers
Function
strip_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 callers
Function
strip_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 callers
Function
strip_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 callers
Function
strip_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 callers
Function
strip_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 callers
Function
strip_leading_zero
Strip leading zero byte from a DER INTEGER value (ASN.1 sign byte).
crate/clients/cng/src/blob.rs:229
↓ 1 callers
Function
strip_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 callers
Method
sub_mod_exp
(self, other: Self, radix: u32, m: usize)
crate/crypto/src/crypto/fpe/ff1.rs:531
↓ 1 callers
Function
substitute_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 callers
Function
substitute_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 callers
Function
substitute_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 callers
Function
substitute_kwd_uids
Helper to substitute UIDs within KeyWrappingData
crate/clients/clap/src/tests/xml/expected_response.rs:165
↓ 1 callers
Function
substitute_kwd_uids_v14
Helper to substitute UIDs within KMIP 1.4 KeyWrappingData
crate/clients/clap/src/tests/xml/expected_response.rs:179
↓ 1 callers
Function
substitute_linked_uid
Substitute a placeholder LinkedObjectIdentifier with the real value from the map.
crate/clients/clap/src/tests/xml/expected_response.rs:959
↓ 1 callers
Function
substitute_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 callers
Function
substitute_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 callers
Function
substitute_object_wrapping_uids
Helper to walk object variants and substitute UIDs inside KeyWrappingData
crate/clients/clap/src/tests/xml/expected_response.rs:229
↓ 1 callers
Function
substitute_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 callers
Function
substitute_op_placeholders
( test_name: &str, op: &mut Operation, uid_map: &HashMap<usize, String>, )
crate/clients/clap/src/tests/xml/request.rs:667
↓ 1 callers
Function
substitute_op_placeholders_v14
( test_name: &str, op: &mut Op14, uid_map: &HashMap<usize, String>, )
crate/clients/clap/src/tests/xml/request.rs:999
↓ 1 callers
Function
substitute_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 callers
Function
substitute_placeholders
(raw: &str, uid_state: &mut Vec<String>)
crate/kmip/src/ttlv/xml/parser.rs:142
↓ 1 callers
Function
substitute_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
← previous
next →
5,401–5,500 of 12,829, ranked by callers