MCPcopy Create free account

hub / github.com/Cosmian/kms / functions

Functions16,000 in github.com/Cosmian/kms

↓ 1 callersMethodset_object_owned
(&mut self, object_owned: &[ObjectOwnedResponse])
crate/clients/clap/src/actions/console.rs:122
↓ 1 callersFunctionset_public_key_link
Point the certificate's `PublicKeyLink` at `target`, or remove it.
crate/server/src/tests/wrap_certificate_usage_mask.rs:62
↓ 1 callersFunctionset_replication
Enable or disable both Spock subscriptions of the two-node test cluster.
crate/server_database/src/tests/mod.rs:719
↓ 1 callersFunctionset_response_key_transport
(ctx: &mut PkeyCtxRef<Public>)
crate/crypto/src/openssl/scep_cms.rs:202
↓ 1 callersFunctionset_rotate_interval_ttlv_request
( unique_identifier: String, interval_secs: i64, )
crate/clients/wasm/src/wasm.rs:3221
↓ 1 callersFunctionset_rotate_name_ttlv_request
( unique_identifier: String, name: String, )
crate/clients/wasm/src/wasm.rs:3247
↓ 1 callersFunctionset_rotate_offset_ttlv_request
( unique_identifier: String, offset_secs: i64, )
crate/clients/wasm/src/wasm.rs:3234
↓ 1 callersMethodset_signature
(&mut self, signature: BitString)
crate/server/src/core/certificate/oracle_signing.rs:197
↓ 1 callersFunctionset_state_json
(map: &mut serde_json::Value, state: &serde_json::Value)
crate/server_database/src/stores/migrate.rs:169
↓ 1 callersFunctionset_vendor_attribute_ttlv_request
( unique_identifier: String, vendor_id: &str, attr_name: &str, attr_value: &str, )
crate/clients/wasm/src/wasm.rs:2745
↓ 1 callersFunctionset_vendor_id
(vendor_id: &str)
crate/clients/wasm/src/wasm.rs:120
↓ 1 callersFunctionsetup_kms
Helper: set up a KMS instance with HSM, ADMIN as HSM admin, and optionally a KEK.
crate/server/src/tests/hsm/permissions.rs:51
↓ 1 callersMethodsetup_lifecycle
Initialize lifecycle attributes on a newly created or imported object. - No `requested_activation_date` → state `PreActive` (requires explicit Activa
crate/kmip/src/kmip_2_1/kmip_objects.rs:520
↓ 1 callersFunctionsh
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionsha256_hex
(data: &[u8])
crate/secret_backends/src/aws.rs:90
↓ 1 callersFunctionsha_vectors
SHA-1/2/3 digest vectors: NIST ACVP, OpenSSL.
crate/crypto/src/kat_vectors.rs:621
↓ 1 callersFunctionshake256_key
A 32-byte key: SHAKE-256 of the concatenation of `parts`.
crate/server_database/src/ceremony_keys.rs:70
↓ 1 callersFunctionshake256_vectors
SHAKE-256 vectors (FIPS 202, OpenSSL).
crate/crypto/src/kat_vectors.rs:551
↓ 1 callersFunctionshallow_probe_functions
FFI probes into the dlopen'ed PKCS#11 provider (#1166)
crate/clients/clap/src/actions/pkcs11/capabilities.rs:2451
↓ 1 callersFunctionshape_kmip1_get_attributes_response
( kmip_version: KmipFlavor, item: &mut V21ResponseMessageBatchItem, explicit_request: bool, ve
crate/server/src/core/operations/message.rs:1233
↓ 1 callersMethodshouldComponentUpdate
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionshouldNotHighlight
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersMethodshouldRefract
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersMethodshouldSerialiseContent
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersMethodshould_bypass
Check if the given host should bypass the proxy (direct connect).
crate/clients/client/src/http_client/proxy.rs:61
↓ 1 callersFunctionsigma0
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionsigma1
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionsign
(kms: &KMS, uid_str: &str)
crate/server/src/tests/hsm/rotation.rs:166
↓ 1 callersMethodsign
( &self, uid: &str, data: &[u8], cryptographic_parameters: Option<
crate/interfaces/src/hsm/hsm_store.rs:1106
↓ 1 callersMethodsign_bytes
Signs through the KMIP 2.1 binary-TTLV message endpoint.
crate/clients/client/src/kms_rest_client.rs:625
↓ 1 callersFunctionsign_cases
()
crate/server/src/tests/google_cse/crypto_paths.rs:159
↓ 1 callersFunctionsign_certificate_payload
( kms: &KMS, key_uid: &str, user: &UserId, payload: &[u8], public_key: &PKey<Public>,
crate/server/src/routes/ssh/certificate.rs:243
↓ 1 callersFunctionsign_certificate_with_oracle
Replace the placeholder signature of `draft` with the HSM signature; the result is verified with the key's public key.
crate/server/src/core/certificate/oracle_signing.rs:377
↓ 1 callersFunctionsign_crl_with_oracle
Same as [`sign_certificate_with_oracle`] for a CRL.
crate/server/src/core/certificate/oracle_signing.rs:396
↓ 1 callersFunctionsign_hash_pss
( dll: &KspDll, h_provider: usize, h_key: usize, hash: &[u8], salt_len
crate/clients/clap/src/actions/cng_verify.rs:320
↓ 1 callersFunctionsign_message
Sign a complete message (or digest) with the private key of `owm`.
crate/server/src/core/operations/sign.rs:280
↓ 1 callersMethodsign_message
Signs `data` with the message-signing context opened by `message_sign_init` (`C_SignMessage`). One `C_SignMessage` call into a 512-byte buffer; a seco
crate/hsm/base_hsm/src/session/message_sign.rs:183
↓ 1 callersFunctionsign_ocsp_response_with_oracle
Replace the placeholder signature (and embedded placeholder certificate, if any) of a DER `OCSPResponse` built with [`placeholder_signer_certificate`]
crate/server/src/core/certificate/oracle_signing.rs:482
↓ 1 callersMethodsign_parameters
KMIP Sign parameters matching the algorithm identifier written in the structure. They must always be explicit: the crypto oracle must use the hash na
crate/server/src/core/certificate/oracle_signing.rs:86
↓ 1 callersFunctionsign_verify_modes
Expands the `sign-verify` benchmark mode (before the build-flavour filter applied by [`expand_bench_mode`]).
crate/clients/clap/src/actions/pkcs11/bench/load.rs:134
↓ 1 callersFunctionsign_verify_on_session
FFI into the dlopen'ed PKCS#11 provider (#1166)
crate/clients/clap/src/actions/pkcs11/capabilities.rs:1955
↓ 1 callersFunctionsign_verify_round_trips
Sign then verify (and verify a tampered message) on one session, for each algorithm.
crate/hsm/base_hsm/src/session/message_signature_tests.rs:300
↓ 1 callersMethodsign_with_buffer
(&self, data: &mut [u8])
crate/hsm/base_hsm/src/session/session_impl.rs:2178
↓ 1 callersMethodsign_with_metadata
( &self, _slot_id: usize, _key_id: &[u8], _resolve_algorithm:
crate/interfaces/src/hsm/interface.rs:796
↓ 1 callersFunctionsign_with_pkey
(request: &Sign, private_key: &PKey<Private>)
crate/server/src/core/operations/sign.rs:320
↓ 1 callersFunctionsign_with_private_key
( kms: &KMS, owm: &ObjectWithMetadata, request: &Sign, part: Part<'_>, user: &UserId, )
crate/server/src/core/operations/sign.rs:185
↓ 1 callersMethodsign_with_pss_mechanism
Sign using an RSASSA-PSS mechanism, passing the pre-built `CK_RSA_PKCS_PSS_PARAMS` as the mechanism parameter.
crate/hsm/base_hsm/src/session/session_impl.rs:2021
↓ 1 callersFunctionsigned_certificate
The issued certificate and serial of a successful sign response.
crate/server/src/tests/hsm/ssh_ca.rs:140
↓ 1 callersFunctionsigning_key
(secret: &str, date: &str, region: &str, service: &str)
crate/secret_backends/src/aws.rs:108
↓ 1 callersFunctionsimpleEscapeSequence
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersMethodsingle_encrypt
( &self, mpk: &MasterPublicKey, ptx: &[u8], ad: Option<&[u8]>, ap: &Ac
crate/crypto/src/crypto/cover_crypt/encryption.rs:105
↓ 1 callersFunctionsingle_key_type_attribute
Strictly DER-decode a `CsrAttrs` and return its single key-type attribute. `der` sorts SET OF members on decode, so a non-DER (e.g. unsorted) encoding
crate/server/src/routes/est/csrattrs.rs:113
↓ 1 callersFunctionsingle_operation
( tags: HashSet<String>, replace_existing: bool, object: Object, attributes: Attributes, u
crate/server/src/core/operations/import.rs:742
↓ 1 callersFunctionsj
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionskipBulletListMarker
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionskipMarker
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionskipOrderedListMarker
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionskipWhileFactory
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionskip_mpi
Skip an MPI starting at `pos` and return the offset just after it.
crate/clients/client_utils/src/openpgp_format.rs:180
↓ 1 callersFunctionskip_when_mechanism_refused
Outcome of a test step run against a token that may refuse a mechanism it still advertises (a `SECURITY_LEVEL=FIPS` simulator lists every mechanism of
crate/hsm/base_hsm/src/tests_shared.rs:1203
↓ 1 callersFunctionslh_dsa_algorithm_name
Map an SLH-DSA `CryptographicAlgorithm` to the OpenSSL algorithm name string.
crate/crypto/src/crypto/pqc/mod.rs:430
↓ 1 callersFunctionslh_dsa_verify_groups
SLH-DSA verification vectors: NIST ACVP.
crate/crypto/src/kat_vectors.rs:701
↓ 1 callersFunctionsliceFactory
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersMethodslot
(&self, instance: usize, slot: usize)
crate/server/src/routes/health.rs:195
↓ 1 callersFunctionslot_from_env
Read a `usize` slot ID from the named environment variable, defaulting to `fallback`.
crate/server/src/tests/hsm/multi_hsm.rs:20
↓ 1 callersFunctionslot_from_env
Read a usize slot ID from the named environment variable, defaulting to `fallback`.
crate/clients/ckms/src/tests/hsm/multi_softhsm2.rs:34
↓ 1 callersMethodslot_passwords
(&self)
crate/server/src/config/command_line/hsm_config.rs:139
↓ 1 callersFunctionslurpNumber
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersMethodsnapshot
(&self)
crate/clients/pkcs11/module/src/profiling.rs:176
↓ 1 callersFunctionsortFactory
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionsort_certificates
Sort a X509 certificate list according to their Authority Key Identifier (AKI) and Subject Key Identifier (SKI). AKI and SKI MUST appear as CA certifi
crate/server/src/core/operations/validate.rs:406
↓ 1 callersFunctionsorted
(mut v: Vec<f64>)
crate/clients/clap/src/actions/bench/cek_switch.rs:188
↓ 1 callersFunctionsources_query
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionsources_url
({url:s,system:o})
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionspa_index_handler
This function handles a request to an inner path of the static UI and redirects it to the index.html file, so that the routing renders the appropriate
crate/server/src/start_kms_server.rs:755
↓ 1 callersMethodspan
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionspawn_audit_checkpoint_cron
Spawn a background thread that writes signed audit checkpoints (`--audit-signing-key`). Returns a `oneshot::Sender<()>` that cleanly stops the thread
crate/server/src/cron.rs:242
↓ 1 callersFunctionspawn_auto_rotation_cron
Spawn a background thread that periodically runs the key auto-rotation check. The thread runs independently of the metrics cron and is spawned wheneve
crate/server/src/cron.rs:201
↓ 1 callersFunctionspawn_cluster_heartbeat_cron
Publish this node's heartbeat and elect a leader, shown by `/cluster/status` only.
crate/server/src/cron.rs:50
↓ 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:276
↓ 1 callersFunctionspawn_google_cse_http_server
Serve the `privilegedunwrap` endpoint of `kms` on the loopback HTTP `listener` and return its KACLS URL (`http://127.0.0.1:<port>/google_cse`), which
crate/server/src/tests/test_utils.rs:537
↓ 1 callersFunctionspawn_kv_ttl_cron
Spawns the KV TTL-expiry cron thread: periodically destroys secret versions whose `options.ttl` (issue #863) has elapsed. Returns a `oneshot::Sender<
crate/server/src/cron.rs:153
↓ 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:414
↓ 1 callersMethodspawn_purge_task
Run [`Self::purge`] every minute on the Tokio runtime (the server runs on a Tokio multi-thread runtime, where `actix_web::rt::spawn` would panic outsi
crate/server/src/middlewares/rate_limiter.rs:74
↓ 1 callersFunctionspec_with_version
(object_version: &str)
crate/clients/k8s/csi_provider/src/service.rs:335
↓ 1 callersFunctionspki_ec_inner_key
Extract the EC curve and uncompressed point from a `SubjectPublicKeyInfo` DER.
crate/clients/cng/src/blob.rs:295
↓ 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:266
↓ 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 callersFunctionsplitList
(value?: string)
ui/src/actions/Secrets/SshCa.tsx:32
↓ 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:1052
↓ 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_converted_queries
`SQLite` flavour of the shared queries (`$n` placeholders rewritten to `?n`).
crate/server_database/src/stores/sql/sqlite.rs:129
↓ 1 callersFunctionsqlite_queries
SQLite-specific query overrides. Loaded before `pgsql_queries` so that SQLite-divergent SQL (e.g. JSON functions) takes precedence.
crate/server_database/src/stores/mod.rs:52
↓ 1 callersFunctionsqlite_row_to_owm
(row: &Row<'_>)
crate/server_database/src/stores/sql/sqlite.rs:693
↓ 1 callersFunctionsshString
(bytes: Uint8Array)
ui/src/utils/sshKey.ts:14
↓ 1 callersMethodssh_name
(self, key: &PublicKey)
crate/server/src/routes/ssh/certificate.rs:61
↓ 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 callersFunctionstamp_versions
Record `db_version` (newest writer) and `min_compatible_version` after a successful start.
crate/server_database/src/stores/migrate.rs:458
← previousnext →6,801–6,900 of 16,000, ranked by callers