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
Function
safeGetProperty
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
safeMax
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
safe_render
({componentList:s=[],fullOverride:o=!1}={})
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
saml_login_url
`{origin}/saml/{realm}/login?return_to={kms_public_url}/ui/locate`. The Auth Verifier binds its SAML login cookie to the `/saml/` path, so the SAML r
crate/server/src/routes/ui_auth.rs:708
↓ 1 callers
Function
san_kind
Human-readable name of a SAN entry type, for error messages.
crate/server/src/core/operations/certify/template.rs:196
↓ 1 callers
Function
sanitizeRef
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Method
save
Save the configuration to a toml file. # Errors Return an error if the configuration file is not found or if the file is not a valid toml file.
crate/clients/ckms/src/config.rs:69
↓ 1 callers
Function
scanDelims
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
scanVisibleRows
()
ui/tests/e2e/locate-attributes.spec.ts:51
↓ 1 callers
Function
scanVisibleRows
()
ui/tests/e2e/locate-hsm.spec.ts:58
↓ 1 callers
Method
scan_due_for_rotation
Scan all `do::*` keys and return `(uid, owner)` pairs for every `Active` object that has `rotate_automatic = true` and whose next rotation instant is
crate/server_database/src/stores/redis/objects_db.rs:821
↓ 1 callers
Method
scan_keys
Scan every `do::*` key, decrypt each blob, and build a [`KeyScan`] of the non-destroyed key objects (`SymmetricKey`, `PrivateKey`, `PublicKey`, `Split
crate/server_database/src/stores/redis/objects_db.rs:736
↓ 1 callers
Method
scan_wrapped_objects
Scan all `do::*` keys and return `(uid, wrapping_key_uid)` pairs for every object that embeds a wrapping key (i.e. `Object::wrapping_key_uid()` is `So
crate/server_database/src/stores/redis/objects_db.rs:887
↓ 1 callers
Function
schedule
(kms: &Arc<KMS>, slot: usize, created: &mut Vec<String>)
crate/server/src/tests/hsm/rotation.rs:477
↓ 1 callers
Function
schedule_delete_on_reboot
Schedule `path` for deletion on the next system reboot using `MoveFileExW(path, NULL, MOVEFILE_DELAY_UNTIL_REBOOT)`. Failure is non-fatal — the leftov
crate/clients/cng/src/registry.rs:350
↓ 1 callers
Function
schedule_delete_on_reboot_cng
(path: &std::path::Path)
crate/clients/clap/src/actions/cng.rs:473
↓ 1 callers
Function
schemaHasAny
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Method
schema_signature
(&self)
crate/server_database/src/tests/sql_migration_tests.rs:182
↓ 1 callers
Function
scoped
Run `test` on the test slot, then destroy only the objects it created.
crate/hsm/luna/src/tests.rs:46
↓ 1 callers
Function
scoreForKeyword
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
scrollToElem
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
seal_and_roll
Seals a corrupted/tampered audit file aside as forensic evidence and starts a fresh chain at `path`. Order is load-bearing: the old file is renamed *
crate/server/src/core/audit/recovery.rs:519
↓ 1 callers
Method
seal_and_roll
Seals `sealed_generation` as forensic evidence — never modified again — and starts `sealed_generation + 1` with a row-0 `audit:reanchor` event identif
crate/server_database/src/stores/audit/pgsql.rs:697
↓ 1 callers
Method
seal_ceremony_record
Seal a ceremony payload for a given role. Returns `Err` when `ceremony_keys` is not configured (server misconfiguration).
crate/server_database/src/core/database_permissions.rs:214
↓ 1 callers
Function
sealbox_decrypt
Decrypt `ciphertext` data using `privkey`, a curve 25519 private key following ECIES in a way compatible with Salsa `SealBox` provided by libsodium.
crate/crypto/src/crypto/elliptic_curves/ecies/salsa_sealbox.rs:64
↓ 1 callers
Function
sealbox_encrypt
Encrypt `plaintext` data using `pubkey`, a Curve 25519 public key, following ECIES in a way that is compatible with libsodium `SalsaSealBox`. `EciesS
crate/crypto/src/crypto/elliptic_curves/ecies/salsa_sealbox.rs:27
↓ 1 callers
Function
sealed_file_path
Builds the sealed filename for a corrupted audit log: `<stem>.<RFC3339-compact UTC>.<8 hex>.corrupt.<ext>`. The timestamp gives lexicographic chronolo
crate/server/src/core/audit/recovery.rs:494
↓ 1 callers
Method
second
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
secretResponse
()
ui/tests/unit/tsx-imports/KvSecrets.test.ts:135
↓ 1 callers
Function
secret_bytes
(kms: &Arc<KMS>, uid: &str)
crate/server/src/tests/derive_key_tests.rs:1092
↓ 1 callers
Method
secret_data_bytes
Return the key material of a secret data
crate/kmip/src/kmip_2_1/kmip_data_structures.rs:452
↓ 1 callers
Function
secret_endpoint
Endpoint of the secret at `path`, which must not be empty.
crate/clients/clap/src/actions/kv.rs:300
↓ 1 callers
Function
secret_flags_on_command_line
The secret-bearing flags (see [`SECRET_FLAGS`]) present in `args`, as `--flag value` or `--flag=value`, plus the connection-string flags whose value e
crate/server/src/config/command_line/clap_config.rs:933
↓ 1 callers
Function
secret_value_changed
`true` when the managed Secret does not hold `bytes` under `key` (constant-time compare).
crate/clients/k8s/operator/src/controller.rs:180
↓ 1 callers
Function
secure_bignum
(bytes: &[u8])
crate/crypto/src/crypto/openpgp/mod.rs:66
↓ 1 callers
Function
selectMethod
(method: AuthMethod)
ui/src/pages/LoginPage.tsx:95
↓ 1 callers
Function
selectMultipleOptions
(page: Page, cssSelector: string, optionLabels: string[])
ui/tests/e2e/helpers.ts:300
↓ 1 callers
Function
selectRow
(uid: string)
ui/src/components/common/LocateButton.tsx:135
↓ 1 callers
Function
selectStream
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Method
select_eligible_oracle_uid
Collect the single eligible crypto-oracle UID for a cryptographic operation. Returns `Ok(None)` if no oracle UID is eligible, `Ok(Some((uid, prefix))
crate/server/src/core/operations/key_ops/crypto_op.rs:896
↓ 1 callers
Function
selectors_onlyOAS3
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
send
(operation: Operation)
crate/server/src/tests/ttlv_tests/export_destroyed_2_1.rs:28
↓ 1 callers
Function
send_1_4
( client: &SocketClient, operation: OperationEnumeration, payload: kmip_1_4::kmip_operations::Oper
crate/server/src/tests/ttlv_tests/certify_1_4.rs:61
↓ 1 callers
Function
send_binary_request
Send a binary TTLV request and return the response as JSON. Converts TTLV-JSON → TTLV struct → binary bytes, POSTs to `/kmip` with `application/octet
crate/test_kms_server/src/vector_runner.rs:438
↓ 1 callers
Function
send_raw_http
Send a `RawHttp` step. Returns `None` when a tolerated transport error occurred.
crate/test_kms_server/src/vector_runner.rs:618
↓ 1 callers
Method
send_request
Send a KMIP request to the server and return the response This method serializes the request to TTLV, then to bytes, sends the bytes to the server, re
crate/server/src/tests/ttlv_tests/socket_client.rs:132
↓ 1 callers
Function
send_vector_step
(client: &SocketClient, file: &str)
crate/server/src/tests/ttlv_tests/integrations/dell_san.rs:19
↓ 1 callers
Method
sensitive_size
(&self)
crate/kmip/src/sensitive.rs:21
↓ 1 callers
Function
seqFromValue
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
seqIterate
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
seqIterator
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
sequential_controls
( first: &RedisWithFindex, second: &RedisWithFindex, )
crate/server_database/src/stores/redis/additional_redis_findex_tests.rs:111
↓ 1 callers
Function
serial_hex
(certificate: &X509)
crate/server/src/tests/revocation_authority_tests.rs:213
↓ 1 callers
Method
serialiseContent
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Method
serialiseEnum
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Method
serialiseObject
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
serializeHeaders
(s={})
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
serializeResponse
(s,o,{loadSpec:i=!1}={})
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Method
serialize_none
(self)
crate/kmip/src/ttlv/kmip_ttlv_serializer.rs:336
↓ 1 callers
Function
serialize_option
`serialize_with` helper for an `Option<OffsetDateTime>` field.
crate/kmip/src/ttlv/date_time.rs:42
↓ 1 callers
Method
serialize_some
(self, value: &T)
crate/kmip/src/ttlv/kmip_ttlv_serializer.rs:343
↓ 1 callers
Function
serve
(args: ServeArgs)
crate/clients/k8s/operator/src/lib.rs:22
↓ 1 callers
Function
server_managed_attributes_are_rejected
Every read-only attribute is refused by all four attribute edits, whether or not the object already holds a value: Add/Set with `Read_Only_Attribute`
crate/server/src/tests/test_set_attribute.rs:343
↓ 1 callers
Function
server_refusal_cases
Refusals that do not depend on the client's ability to present a certificate.
crate/server_database/src/stores/sql/mysql.rs:2611
↓ 1 callers
Function
server_side
The server-side request for `action`, and `action` itself, as JSON.
crate/crypto/src/crypto/cover_crypt/attributes.rs:304
↓ 1 callers
Method
server_url
Determine http/https scheme and default port from host string.
crate/secret_backends/src/cosmian_kms.rs:30
↓ 1 callers
Method
session
Borrow the checked-out session while it remains owned by this guard.
crate/hsm/base_hsm/src/slots.rs:168
↓ 1 callers
Function
sessionCookie
(context: BrowserContext)
ui/tests/e2e-saml/saml-sso.spec.ts:48
↓ 1 callers
Function
setActivationDate
Recursively overwrite the value of every `ActivationDate` TTLV node.
ui/tests/e2e/sym-key-flow.spec.ts:27
↓ 1 callers
Function
setActive
(level)
documentation/docs/javascripts/log_filter.js:160
↓ 1 callers
Method
setConfigs
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Method
setContext
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
setHash
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
setIn
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
setIsIncludedOptions
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
setProps
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
setRotationPolicy
(page: import("@playwright/test").Page, keyId: string, name: string, interval?: number)
ui/tests/e2e/keyset-addressing.spec.ts:34
↓ 1 callers
Method
set_access_rights_obtained
( &mut self, access_rights_obtained: &[AccessRightsObtainedResponse], )
crate/clients/clap/src/actions/console.rs:115
↓ 1 callers
Method
set_accesses
(&mut self, accesses: &[UserAccessResponse])
crate/clients/clap/src/actions/console.rs:111
↓ 1 callers
Function
set_activation_date
Set the `ActivationDate` attribute on a key via KMIP `SetAttribute`.
crate/server/src/tests/jose/key_state.rs:688
↓ 1 callers
Function
set_activation_date_whose_deletion_is_refused
KMIP 2.1 §4.1: the Activation Date may be set on a Pre-Active object, but is not deletable by the client.
crate/server/src/tests/test_set_attribute.rs:161
↓ 1 callers
Method
set_active_generation
Upserts the control row to `generation` on the pooled connection. Used only for a brand-new instance's first-ever generation — [`Self::seal_and_roll`]
crate/server_database/src/stores/audit/pgsql.rs:562
↓ 1 callers
Method
set_algorithm
(&mut self, algorithm: AlgorithmIdentifierOwned)
crate/server/src/core/certificate/oracle_signing.rs:189
↓ 1 callers
Function
set_attribute
Set an attribute on a KMS object via the ckms binary.
crate/clients/ckms/src/tests/attributes/test_modify_attribute.rs:14
↓ 1 callers
Method
set_attribute
(&mut self, attribute: Attribute)
crate/clients/clap/src/actions/console.rs:103
↓ 1 callers
Function
set_attribute_ttlv_request
( unique_identifier: String, attribute_name: &str, attribute_value: String, )
crate/clients/wasm/src/wasm.rs:2716
↓ 1 callers
Method
set_attributes
(&mut self, attributes: HashMap<String, Value>)
crate/clients/clap/src/actions/console.rs:107
↓ 1 callers
Function
set_bench_filter
Set the active benchmark filter for algorithms and key sizes.
crate/clients/clap/src/actions/bench/transport.rs:52
↓ 1 callers
Method
set_ceremony_keys
Replace the ceremony encryption keys after post-init resolution. Used when `ceremony_key_id` is set: the raw AES key is fetched from the object store
crate/server_database/src/core/mod.rs:362
↓ 1 callers
Function
set_cryptographic_algorithm_is_rejected_as_read_only
KMIP 2.1 §4.13: Cryptographic Algorithm is read-only; changing or stripping it would let a key escape the algorithm policy.
crate/server/src/tests/test_set_attribute.rs:245
↓ 1 callers
Function
set_cryptographic_length_is_rejected_as_read_only
( kms: &Arc<KMS>, uid: &str, )
crate/server/src/tests/test_set_attribute.rs:301
↓ 1 callers
Function
set_deterministic_nonce
(ctx: &mut PkeyCtxRef<Private>)
crate/crypto/src/crypto/elliptic_curves/sign.rs:199
↓ 1 callers
Method
set_hsm_label
Write `CKA_LABEL` of an HSM key; `context` completes "Failed to …" in the error.
crate/server/src/core/operations/rekey/hsm.rs:73
↓ 1 callers
Method
set_jwks
Lock `jwks` to replace it
crate/server/src/middlewares/jwt/jwks.rs:63
↓ 1 callers
Method
set_key_dates
( &self, _slot_id: usize, key_id: &[u8], start_date: Option<Date>, end
crate/server/src/tests/hsm/fake_hsm_rotation.rs:441
↓ 1 callers
Method
set_key_dates
( &self, _slot_id: usize, _key_id: &[u8], _start_date: Option<
crate/interfaces/src/hsm/interface.rs:835
↓ 1 callers
Method
set_key_dates
Set `CKA_START_DATE` and/or `CKA_END_DATE` on a key object. Passing `None` clears the attribute. Tokens disagree on how an unset date is written: the
crate/hsm/base_hsm/src/session/session_impl.rs:3694
↓ 1 callers
Method
set_key_dates_once
One `C_SetAttributeValue` of both dates; an unset date is written as an all-zero `CK_DATE` when `zeroed_unset`, as an empty attribute otherwise. Retur
crate/hsm/base_hsm/src/session/session_impl.rs:3757
↓ 1 callers
Function
set_link_attribute_and_remove_it
( kms: &Arc<KMS>, uid: &str, tag: Tag, link_type: LinkType, )
crate/server/src/tests/test_set_attribute.rs:208
↓ 1 callers
Function
set_max_group_time
Set the per-group wall-clock time budget (call once before running benchmarks). When set, [`bench_op`], [`bench_op_id`] and [`bench_message_id`] skip
crate/clients/clap/src/actions/bench/transport.rs:76
← previous
next →
6,701–6,800 of 16,000, ranked by callers