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
Method
remove_validity_days
Extract the requested validity days # Returns The requested validity days if it was set before `None` if it was not set
crate/kmip/src/kmip_2_1/extra/certificates.rs:40
↓ 1 callers
Method
remove_wrapping_key_id
Extract the wrapping key id # Returns The wrapping key id if it was set before `None` if it was not set
crate/kmip/src/kmip_2_1/extra/wrap_on_create.rs:43
↓ 1 callers
Method
remove_x509_extension_file
Extract the X509 extensions file # Returns The X509 extensions file if it was set before `None` if it was not set
crate/kmip/src/kmip_2_1/extra/certificates.rs:79
↓ 1 callers
Function
rename_cc_attribute_ttlv_request
( master_secret_key_id: &str, attribute: String, new_name: String, )
crate/clients/wasm/src/wasm.rs:2116
↓ 1 callers
Function
renamed
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
render
(result: Result<usize, impl std::fmt::Display>)
crate/test_kms_server/src/test_server.rs:1831
↓ 1 callers
Method
renderNotAnimated
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
renderValueWithColor
(value: any)
ui/src/components/common/HashMapDisplay.tsx:32
↓ 1 callers
Function
render_group_table
Render a single group as a parametrized markdown table (criterion-table style). If benchmarks have `value_str` (parameters), renders a pivot table wi
crate/clients/clap/src/actions/bench/output.rs:442
↓ 1 callers
Function
repeatErr
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
replace
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
replace$1
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
replaceAt
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
replaceScopedAbbr
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
replace_special_chars_with_underscore
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
reply
(name: XksErrorName, message: Option<&str>)
crate/server/src/routes/aws_xks/mod.rs:87
↓ 1 callers
Function
requestSnippetGenerator_curl_bash
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
request_batch_item_ids
`Operation` and `Unique Batch Item ID` of each request batch item, read from the raw request TTLV so message-level errors can echo them (KMIP 2.1 §8.6
crate/server/src/routes/kmip/handlers.rs:136
↓ 1 callers
Function
request_has_nonce
Check whether a DER-encoded OCSP request carries a valid-length nonce (RFC 9654 §2.1). Intended for callers enforcing `NoncePolicy::Required` **befor
crate/crypto/src/openssl/ocsp.rs:637
↓ 1 callers
Function
request_timestamp
Asks the TSA at `url` to timestamp `imprint` and returns the checked DER `TimeStampToken`.
crate/server/src/core/audit/checkpoint.rs:220
↓ 1 callers
Function
request_token
This function requests the tokens from the Identity Provider. This function was rewritten because Google returns the JWT token in the `id_token` fiel
crate/clients/client/src/http_client/login.rs:383
↓ 1 callers
Function
request_without_data
Copy of `request` without its (bulk) `data`, to be filled per item.
crate/server/src/core/operations/encrypt.rs:393
↓ 1 callers
Function
requested_backends
Parse the `KMS_TEST_BACKENDS` environment variable into a list of backend names. Format: comma-separated, e.g. `"sqlite,postgresql,mysql"`. Falls bac
crate/test_kms_server/src/vector_runner.rs:1019
↓ 1 callers
Function
requested_non_managed_attributes
The request's desired attributes without those the server manages on a replacement object (identity, links, names, lifecycle dates and state: KMIP 2.1
crate/server/src/core/operations/rekey/common.rs:632
↓ 1 callers
Function
require_tls_audit_url
`postgres-audit` has no TLS, so `sslmode=require` must fail instead of downgrading.
crate/server_database/src/stores/audit/pgsql.rs:1747
↓ 1 callers
Function
requiresValidationURL
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Method
requires_non_fips
Whether this mode exercises a key type (secp256k1) or an algorithm (RSAES-PKCS1-v1_5, which the HSM session refuses in FIPS builds) that only non-FIPS
crate/clients/clap/src/actions/pkcs11/bench/load.rs:92
↓ 1 callers
Function
reqwest_method
Translate an incoming actix-web HTTP method string into a `reqwest::Method`, preserving the verb byte-for-byte. The auth proxy must forward the clien
crate/server/src/routes/spire/auth_proxy.rs:132
↓ 1 callers
Function
reserve_gcm_invocations_
Add `invocations` to the AES-GCM invocation count of `uid` under a row lock; `None` (nothing added) when the new count would exceed the cap.
crate/server_database/src/stores/sql/mysql.rs:1975
↓ 1 callers
Function
reserve_inflight
Reserve `bytes` more of the in-flight budget for a request of `size` bytes.
crate/server/src/socket_server.rs:614
↓ 1 callers
Method
reserve_usage_limits
Consume `data_len` from the key's Usage Limits before the operation runs. The update is conditional on the stored version, so concurrent requests can
crate/server/src/core/operations/key_ops/crypto_op.rs:838
↓ 1 callers
Method
reset
(&self)
crate/clients/pkcs11/module/src/profiling.rs:148
↓ 1 callers
Function
reset_to_owner_only
(file: &File)
crate/clients/client/src/file_utils.rs:94
↓ 1 callers
Method
resolve
Resolves the audit source from the options. Any of `--path`, `--audit-postgres-url` or `--audit-instance-id` disables the environment fallback; otherw
crate/clients/clap/src/actions/audit.rs:122
↓ 1 callers
Method
resolve
(&self, uri: &str)
crate/secret_backends/src/aws.rs:118
↓ 1 callers
Function
resolveGenericStrategy
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
resolveServerUrl
()
ui/src/App.tsx:116
↓ 1 callers
Function
resolveSize
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
resolve_assertion_value
Resolve `{{$ENV_VAR}}` and `{{captured}}` placeholders in an assertion value. Returns an error if a referenced environment variable is not set or a c
crate/test_kms_server/src/vector_runner.rs:767
↓ 1 callers
Method
resolve_base_key_id
Resolve the base key identifier: either use the provided `key_id` directly, or import a password as a temporary `SecretData` object and return its ID.
crate/clients/clap/src/actions/derive_key/mod.rs:225
↓ 1 callers
Function
resolve_batch_relative_link
( link: &mut LinkedObjectIdentifier, returned: &ReturnedIds, id_placeholder: &Option<v21types::Uni
crate/server/src/core/operations/message.rs:1463
↓ 1 callers
Function
resolve_batch_relative_links
Replace the Enumeration and Integer Linked Object Identifiers of `operation` by the Unique Identifier they designate among `returned` (earlier success
crate/server/src/core/operations/message.rs:1420
↓ 1 callers
Method
resolve_certificate
Resolve the leaf certificate: use an existing one, create from extensions, or import PKCS12.
crate/clients/clap/src/actions/google/key_pairs/create.rs:284
↓ 1 callers
Function
resolve_crl_host
Resolves the host of a CRL Distribution Point URL to socket addresses. IP literals are returned directly without any DNS query; domain names are reso
crate/server/src/core/certificate/mod.rs:92
↓ 1 callers
Function
resolve_id_placeholder_for_operation
( operation: &mut Operation, id_placeholder: &Option<v21types::UniqueIdentifier>, )
crate/server/src/core/operations/message.rs:1089
↓ 1 callers
Method
resolve_kek_wrapping_params
Resolve the KEK wrapping parameters by reading the KEK's tags from the KMS. Returns the cryptographic parameters for wrapping and the optional AWS key
crate/clients/clap/src/actions/aws/byok/export_key_material.rs:116
↓ 1 callers
Method
resolve_key_pair
Resolve or create the RSA key pair and export the wrapped private key.
crate/clients/clap/src/actions/google/key_pairs/create.rs:209
↓ 1 callers
Function
resolve_optional_id_placeholder
( unique_identifier: &mut Option<v21types::UniqueIdentifier>, id_placeholder: &Option<v21types::Unique
crate/server/src/core/operations/message.rs:1168
↓ 1 callers
Function
resolve_path
If the option contains a relative path, make it absolute relative to `root`.
crate/clients/ckms/src/tests/utils/config.rs:119
↓ 1 callers
Function
resolve_profile
Walk the decision tree of the high-availability guide.
crate/server/src/config/wizard/profile_wizard.rs:75
↓ 1 callers
Function
resolve_required_id_placeholder
( unique_identifier: &mut v21types::UniqueIdentifier, id_placeholder: &Option<v21types::UniqueIdentifi
crate/server/src/core/operations/message.rs:1182
↓ 1 callers
Function
resolve_secret_uris
Replace every TOML string starting with `secret://` using the active backend.
crate/secret_backends/src/lib.rs:117
↓ 1 callers
Function
resolves_to_server_kek
Does unwrapping with `uid` decrypt with the server KEK `kek`: `uid` is the KEK, its `_pk` public key, or a public key / certificate whose `PrivateKeyL
crate/server/src/core/wrapping/wrap.rs:485
↓ 1 callers
Function
respond
()
ui/tests/unit/tsx-imports/KvSecrets.test.ts:128
↓ 1 callers
Function
restart_workloads
Trigger a rolling restart for declared Deployments and `StatefulSets` by patching `spec.template.metadata.annotations` with the current timestamp.
crate/clients/k8s/operator/src/controller.rs:258
↓ 1 callers
Function
restrictive_crypto_policy_kms
Policy denying SHA-256 hashes, RSA-SHA256 signatures and GCM: HS256, RS256 and `dir`/A256GCM are denied, in FIPS and non-FIPS builds alike.
crate/server/src/tests/kmip_policy/routes.rs:227
↓ 1 callers
Function
result_reason_for_version
KMIP 2.0 lists no Wrong Key Lifecycle State for the attribute operations (2.0 Tables 154, 157, 189, 249, 298 list Permission Denied); KMIP 2.1 added i
crate/server/src/core/operations/message.rs:85
↓ 1 callers
Method
resumingScanAtSamePosition
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
retain_kmip1_response_attributes
Apply `keep` to every attribute carried by a KMIP 1.x `Get` (inside `KeyValue`) or `GetAttributes` response, dropping those for which it returns `fals
crate/server/src/routes/kmip/handlers.rs:1180
↓ 1 callers
Function
retained_certificate_attributes
The subset of a certificate's attributes kept after Destroy: the issuer link and the revocation details used by CRL generation and the OCSP responder.
crate/server/src/core/operations/destroy.rs:471
↓ 1 callers
Function
retire_old_key
Record on the existing object that it has been replaced by `new_uid`. An Active object is retired by setting its Deactivation Date to now, which the
crate/server/src/core/operations/rekey/common.rs:701
↓ 1 callers
Method
retrieve
Retrieve objects from the database. The `uid` parameter can be either a `uid` or a comma-separated list of tags in a JSON array.
crate/server_database/src/stores/redis/redis_with_findex.rs:1168
↓ 1 callers
Method
retrievePassingOptions
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Method
retrievePassingOptions
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Method
retrieveVisitor
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Method
retrieveVisitor
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Method
retrieveVisitorInstance
(s,o={})
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Method
retrieveVisitorInstance
(s,o={})
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
retrieve_
(uid: &str, pool: &Pool)
crate/server_database/src/stores/sql/mysql.rs:1761
↓ 1 callers
Function
retrieve_generation
The object stored at generation `generation` of `path`, whatever its state. Read straight from the store: the object cache only revalidates state and
crate/server/src/routes/kv/metadata.rs:218
↓ 1 callers
Function
retrieve_signer_cert_and_key
Retrieve the OCSP signing certificate and private key. When `ocsp_responder_cert_uid` is set, the delegated responder cert+key are used (RFC 6960 §4.
crate/server/src/routes/ocsp/handler.rs:533
↓ 1 callers
Method
retrieve_tags
(&self, uid: &str)
crate/interfaces/src/hsm/hsm_store.rs:414
↓ 1 callers
Function
retrieve_tags_
(uid: &str, pool: &Pool)
crate/server_database/src/stores/sql/mysql.rs:1770
↓ 1 callers
Function
retrieve_token
( service_account: &GmailApiConf, user_email: &str, )
crate/clients/clap/src/actions/google/gmail_client/token.rs:66
↓ 1 callers
Function
retry_after_secs
Seconds to wait before `negative`'s quota admits a request again; at least 1.
crate/server/src/middlewares/rate_limiter.rs:174
↓ 1 callers
Function
returnSelfOrNewMap
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
returned_unique_identifiers
(item: &V21ResponseMessageBatchItem)
crate/server/src/core/operations/message.rs:1343
↓ 1 callers
Function
revealed
(page: Page)
ui/tests/e2e/kv-secrets-flow.spec.ts:54
↓ 1 callers
Function
reverseFactory
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
revert
Reverts one executed item; returns whether all its effects were reverted.
crate/server/src/core/operations/batch_undo.rs:341
↓ 1 callers
Function
revert_inner
(kms: &KMS, user: &UserId, record: &UndoRecord)
crate/server/src/core/operations/batch_undo.rs:354
↓ 1 callers
Function
revocation_target_state
Return the [`State`] an object in `current` state transitions to when revoked for `reason`, or `None` when KMIP 2.1 §4.57 permits no such transition.
crate/server/src/core/operations/revoke.rs:399
↓ 1 callers
Method
revoke_access
This operation requests the server to revoke an access on an object to a user The user could be unknown from the database. The object uid must be know
crate/clients/client/src/kms_rest_client.rs:757
↓ 1 callers
Function
revoke_and_destroy
Revoke then destroy `uid` alone (no cascade along the key links)
crate/server/src/tests/hsm/hybrid_kem_dek.rs:357
↓ 1 callers
Function
revoke_auth_verifier_session
`DELETE {auth_verifier_url}/sessions`, authenticated by the session cookie itself. The Auth Verifier identifies a session by the SHA-256 of its cookie
crate/server/src/routes/ui_auth.rs:815
↓ 1 callers
Method
revoke_crypto_officer_activation
( &self, revoked_by: &str, activated_by: &str, )
crate/server_database/src/stores/redis/redis_with_findex.rs:2044
↓ 1 callers
Function
revoke_key
Revoke the key
crate/server/src/tests/ttlv_tests/normative_tests/aklc_m_3_14.rs:476
↓ 1 callers
Function
revoke_key_core
Revoke an object, knowing the object and the target state. KMIP 2.1 §6.1.44 / §4.10 / §4.18: a compromise sets the Compromise Date (and the Compromis
crate/server/src/core/operations/revoke.rs:333
↓ 1 callers
Method
revoke_object
(&self, _remote_id: &str)
crate/clients/pkcs11/module/src/sessions.rs:1676
↓ 1 callers
Method
revoke_ui_session
(&self, sid: &str, expires_at: i64, now: i64)
crate/server_database/src/stores/sql/sqlite.rs:1775
↓ 1 callers
Method
rewrap_new_objects
Step 5: Re-wrap new objects if originals were wrapped. The default implementation handles both: 1. Server-wide KEK wrapping (via `wrap_and_cache` — n
crate/server/src/core/operations/rekey/common.rs:482
↓ 1 callers
Method
rewrap_single_dependant
Unwrap and re-wrap a single dependant object with the new wrapping key.
crate/server/src/core/operations/rekey/common.rs:248
↓ 1 callers
Method
rewrap_spec
(&self)
crate/kmip/src/kmip_2_1/kmip_objects.rs:481
↓ 1 callers
Function
rewrite_image_path
Rewrite an image src so it resolves from the documentation/ root.
documentation/pandoc/combine.py:65
↓ 1 callers
Function
rl
(s,o,i,u,_)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Method
rng_retrieve
This operation requests the server to return cryptographically secure random data.
crate/server/src/core/kms/kmip.rs:380
↓ 1 callers
Function
rng_seed
`RNGSeed` operation implementation Accepts seed material to influence the RNG state. For compliance with the XML vectors, we acknowledge the data and
crate/server/src/core/operations/rng_seed.rs:14
↓ 1 callers
Method
rng_seed
This operation requests the server to seed an RNG instance with provided data.
crate/server/src/core/kms/kmip.rs:393
↓ 1 callers
Method
rng_seed
Seed the server's RNG with provided data.
crate/clients/client/src/kms_rest_client.rs:708
↓ 1 callers
Method
role_for
(&self, user: &str)
crate/access/src/access.rs:284
← previous
next →
6,501–6,600 of 16,000, ranked by callers