MCPcopy Create free account

hub / github.com/Cosmian/kms / functions

Functions16,000 in github.com/Cosmian/kms

↓ 2 callersFunctionstart_plugin_on_tmp_socket
( kms_url: &str, decryption_key_policy: DecryptionKeyPolicy, allowed_peer_uids: Vec<u32>, )
crate/clients/k8s/plugin/src/integration_tests.rs:36
↓ 2 callersFunctionstart_test_kms_server
Start a test KMS server with the given config in a separate thread
crate/test_kms_server/src/test_server.rs:1177
↓ 2 callersFunctionstart_test_server_from_toml
Start an isolated test KMS server from a TOML configuration file. The TOML file is loaded into [`ClapConfig`], the HTTP port is overridden to a free
crate/test_kms_server/src/test_server.rs:1544
↓ 2 callersFunctionstatus_patch
Body of the `KMSSecret` status patch.
crate/clients/k8s/operator/src/controller.rs:310
↓ 2 callersFunctionstderr
(output: &std::process::Output)
crate/clients/ckms/src/tests/audit.rs:96
↓ 2 callersFunctionstore_unbound
Wrap `uid`'s key the way versions without row binding did: KEK, no encoding.
crate/server/src/tests/row_binding_tests.rs:117
↓ 2 callersMethodstored_objects_with_state
( &self, pool: &RedisWithFindex, )
crate/server_database/src/tests/redis_migration_tests.rs:234
↓ 2 callersFunctionstored_version
The store version of `owm`, required for every compare-and-swap.
crate/server/src/routes/kv/metadata.rs:399
↓ 2 callersFunctionstr_field
(v: &'a Value, field: &str)
crate/server/src/tests/hsm/jose_decrypt.rs:47
↓ 2 callersFunctionstr_to_wide_bytes
Encode a Rust `&str` as a null-terminated UTF-16 little-endian byte slice.
crate/clients/cng/src/provider.rs:152
↓ 2 callersFunctionstream_payload
(chunks: Vec<Result<Bytes, actix_web::error::PayloadError>>)
crate/server/src/routes/aws_xks/sigv4_middleware.rs:546
↓ 2 callersFunctionstripped_p256_key
A P-256 private key whose algorithm and curve attributes were stripped (as a `DeleteAttribute` allowed before 5.29.0 did).
crate/server/src/core/operations/algorithm_policy.rs:1328
↓ 2 callersFunctionstub_init_reject_eddsa
`C_SignInit`/`C_VerifyInit` share the same (session, mechanism, key) * signature. Real conformant v2.40-only libraries reject v3.0-only mechanisms *
crate/hsm/base_hsm/tests/fixtures/minimal_pkcs11.c:42
↓ 2 callersFunctionstyleBtn
(btn, color, active)
documentation/docs/javascripts/log_filter.js:28
↓ 2 callersFunctionsubject_pqc_algorithm
RFC 9881 (ML-DSA) / RFC 9935 (ML-KEM): extract the KMIP `CryptographicAlgorithm` from a Subject that represents a fresh keypair or standalone public k
crate/server/src/core/operations/certify/build_certificate.rs:203
↓ 2 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:1281
↓ 2 callersFunctionsubstitute_uid
Substitute a placeholder UID (namespaced or legacy) with the real value from the map.
crate/clients/clap/src/tests/xml/expected_response.rs:1215
↓ 2 callersFunctionsubstitute_uid_text
(test_name: &str, uid: &mut String, uid_map: &HashMap<usize, String>)
crate/clients/clap/src/tests/xml/request.rs:1329
↓ 2 callersFunctionsubstitute_uid_text
KMIP 1.4 helper: substitute placeholder UID strings using the map of real values
crate/clients/clap/src/tests/xml/expected_response.rs:17
↓ 2 callersMethodsubtract
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersMethodsupports_message_decrypt
(&self)
crate/hsm/base_hsm/src/hsm_lib.rs:686
↓ 2 callersMethodsupports_message_sign
(&self)
crate/hsm/base_hsm/src/hsm_lib.rs:698
↓ 2 callersFunctionsymmetric_algorithm_from_alg
Map a JOSE `alg` string to the KMIP `CryptographicAlgorithm` used for symmetric key creation.
crate/server/src/routes/jose/algorithm.rs:381
↓ 2 callersFunctionsystem_command
A system OpenSSH command without the FIPS OpenSSL environment of the test shell (`LD_PRELOAD`, `OPENSSL_CONF`, ...): the system `sshd` links its own l
crate/server/src/tests/hsm/sshd.rs:40
↓ 2 callersFunctiontag_length
Validated `Tag Length` (bytes) requested for an authenticated encryption, `None` for the cipher's full tag. GCM and ChaCha20-Poly1305 accept 12 to 16
crate/server/src/core/operations/encrypt.rs:662
↓ 2 callersFunctiontake_unused_deviations
The `DEVIATIONS` rows and `REASON_DEVIATIONS` positions of `vector` not used since the previous call; resets the record.
crate/clients/clap/src/tests/xml/deviations.rs:1066
↓ 2 callersFunctiontc
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctiontestDocumentSeparator
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctiontest_cse_private_key_decrypt
( encrypted_data_encryption_key: &str, wrapped_private_key: &str, )
crate/server/src/tests/google_cse/mod.rs:374
↓ 2 callersFunctiontest_import_export_wrap_private_key
( cli_conf_path: &str, sub_command: &str, private_key_id: &str, wrapping_key_uid: &str, un
crate/clients/ckms/src/tests/shared/import_export_wrapping.rs:223
↓ 2 callersFunctiontest_jose_hsm_decryption
()
crate/server/src/tests/hsm/jose_decrypt.rs:58
↓ 2 callersFunctiontest_object
Build a minimal `Object::SymmetricKey` with empty embedded attributes.
crate/interfaces/src/stores/object_with_metadata.rs:317
↓ 2 callersFunctiontest_session_cookie_pair
(codec: &UiSessionCookie, user: &str)
crate/server/src/middlewares/ui_session.rs:386
↓ 2 callersFunctiontest_sign
(cli_conf_path: &str, name: &str, algorithm: &str)
crate/clients/ckms/src/tests/pqc/mod.rs:192
↓ 2 callersFunctiontest_single_signature
Test signing and verification (with and without digested data)
crate/server/src/tests/test_sign.rs:21
↓ 2 callersFunctiontest_streaming_signature_verification
Test streaming signature verification with multiple calls
crate/server/src/tests/test_sign.rs:85
↓ 2 callersFunctionthrowUnhandledCaseError
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctiontls_unique
The first `Finished` message of the connection's handshake: the client's in a full handshake, the server's in a resumed one (RFC 5929 §3.1). Only TLS
crate/server/src/middlewares/tls_auth.rs:51
↓ 2 callersFunctiontoBase64
(bytes: Uint8Array)
ui/src/utils/sshKey.ts:21
↓ 2 callersFunctiontoConsumableArray_toConsumableArray
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctiontoFileSystemPath
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctiontoTitleCase
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersMethodto_byte
(self)
crate/kmip/src/ttlv/ttlv_struct.rs:284
↓ 2 callersFunctionto_c_long
Convert an `i64` (epoch seconds or a byte length) to the platform's C `long`. `c_long` is 64-bit on Unix (LP64: Linux, macOS) but only **32-bit** on
crate/crypto/src/openssl/ocsp.rs:70
↓ 2 callersFunctionto_ec_private_key
Convert to an Elliptic Curve KMIP Private Key. Supported curves are: X25519, Ed25519, X448, Ed448, P-192, P-224, P-256, P-384, P-521. `pkey_bits_numb
crate/crypto/src/crypto/elliptic_curves/operation.rs:199
↓ 2 callersFunctionto_hex
(bytes: &[u8])
crate/clients/cng/src/blob.rs:689
↓ 2 callersFunctionto_http_date
Format a UTC timestamp as an RFC 7231 IMF-fixdate string. Example: `"Thu, 01 Jan 1970 00:00:00 GMT"`
crate/server/src/routes/ocsp/handler.rs:691
↓ 2 callersMethodto_kmip
(&self)
crate/interfaces/src/crypto_oracle.rs:166
↓ 2 callersFunctionto_md
(out: &mut dyn Write, ss: &StyledStr)
crate/clients/ckms/src/actions/markdown.rs:175
↓ 2 callersMethodto_oid
(&self)
crate/clients/pkcs11/module/src/traits/key_algorithm.rs:103
↓ 2 callersMethodto_ttlv
Converts the `KeyMaterial` to a TTLV object. This is used to calculate the Digest
crate/kmip/src/kmip_2_1/kmip_data_structures.rs:1141
↓ 2 callersMethodto_ttlv_bytes
Returns the `KeyValue` key material bytes if any, an error otherwise
crate/kmip/src/kmip_2_1/kmip_data_structures.rs:842
↓ 2 callersFunctiontoken_endpoint_request
POST `params` (form-encoded) to the identity provider token endpoint.
crate/clients/client/src/http_client/login.rs:421
↓ 2 callersFunctiontoken_signed_by
A `kid`-less RS256 token, as the Auth Verifier issues them.
crate/server/src/middlewares/auth_verifier/token.rs:589
↓ 2 callersFunctiontolerates_transport_error
A transport-level failure (connection closed, TLS refused) is only acceptable when the step declares it: otherwise a request that crashes the server w
crate/test_kms_server/src/vector_runner.rs:532
↓ 2 callersFunctiontrailingEdge
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctiontransit_key_filter
Build an `Attributes` filter for finding objects of `object_type` with a given transit tag.
crate/server/src/routes/spire/transit.rs:316
↓ 2 callersFunctiontransit_key_type_from_attrs
Derive a Vault transit key type string from KMIP `Attributes` (G3 fix). Used by `GET /keys/{name}` to reconstruct the type from stored metadata.
crate/server/src/routes/spire/transit.rs:230
↓ 2 callersFunctiontraversal_find
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctiontraverse
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctiontrimLeft
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctiontruncate_tag
(mut tag: Vec<u8>, tag_length: Option<usize>)
crate/server/src/core/operations/encrypt.rs:699
↓ 2 callersMethodtry_acquire_cron_lock
( &self, lock_name: &str, )
crate/server_database/src/stores/sql/mysql.rs:438
↓ 2 callersFunctiontry_create_ec_kp_no_fips
( rt: &Runtime, client: &KmsClient, name: &str, curve: RecommendedCurve, )
crate/clients/clap/src/actions/bench/helpers.rs:497
↓ 2 callersFunctiontry_create_hsm_sym_key
Create an HSM-resident symmetric key (e.g. AES). Key generation happens on the HSM itself via `HsmKeyAlgorithm::AES`.
crate/clients/clap/src/actions/bench/helpers.rs:571
↓ 2 callersFunctiontry_create_pqc_kp
( rt: &Runtime, client: &KmsClient, name: &str, algorithm: CryptographicAlgorithm, )
crate/clients/clap/src/actions/bench/helpers.rs:524
↓ 2 callersFunctiontry_create_sym_key
( rt: &Runtime, client: &KmsClient, name: &str, bits: usize, algo: CryptographicAlgorithm,
crate/clients/clap/src/actions/bench/helpers.rs:410
↓ 2 callersFunctiontry_parse_revocation_reason_code
Parse a revocation reason code string (kebab-case, `snake_case`, or `PascalCase`) into a [`RevocationReasonCode`]. Case-insensitive; hyphens and under
crate/clients/client_utils/src/revoke_utils.rs:8
↓ 2 callersMethodtweak_bytes
(&self)
crate/clients/clap/src/actions/fpe/mod.rs:89
↓ 2 callersFunctiontwo_kacls
( rsa: &Rsa<Private>, )
crate/server/src/tests/google_cse/token_validation.rs:896
↓ 2 callersFunctiontype
(element: HTMLElement, value: string)
ui/tests/unit/tsx-imports/KvSecrets.test.ts:31
↓ 2 callersMethodtype
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionub
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionue
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionug
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionunapply
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionunhex
(s: &str)
crate/crypto/src/crypto/symmetric/mac.rs:284
↓ 2 callersFunctionunhex
(s: &str)
crate/clients/cng/src/key.rs:475
↓ 2 callersFunctionunique
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionunique_identifier_to_string
(id: &UniqueIdentifier)
crate/clients/clap/src/actions/pkcs11/capabilities.rs:1101
↓ 2 callersFunctionunique_instance_id
(label: &str)
crate/server/src/core/audit/store.rs:1555
↓ 2 callersMethodunits
(&self, data_len: usize)
crate/kmip/src/kmip_2_1/kmip_types.rs:2294
↓ 2 callersFunctionunpack
(data: &[u8])
crate/server/src/tests/configurable_kem_tests.rs:83
↓ 2 callersFunctionunpackKemEncapsulation
(data: Uint8Array | number[])
ui/src/utils/kem.ts:12
↓ 2 callersFunctionunregister
()
crate/clients/clap/src/actions/cng.rs:104
↓ 2 callersFunctionunwrap_request
(alg: WrapAlgorithm, wrapped: String)
crate/server/src/tests/azure_ekm/integration_tests.rs:667
↓ 2 callersFunctionunwrap_user_decryption_key_object
Unwrap the User Decryption Key bytes, Policy and Access Policy from the provided User Decryption Key Object see `cover_crypt_create_user_decryption_k
crate/crypto/src/crypto/cover_crypt/user_key.rs:28
↓ 2 callersFunctionunwrapping_key_uid
The unique identifier of the key that wrapped `key_block`.
crate/server/src/core/wrapping/unwrap.rs:178
↓ 2 callersFunctionupdateNode
(s,o,i,u,_,w,x,C)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersMethodupdatePatches
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersMethodupdate_active_user
Update active user tracking. Uses `DashMap` for lock-free concurrent shard access — no global write lock that would serialize all KMIP operations. C
crate/server/src/core/otel_metrics.rs:501
↓ 2 callersMethodupdate_cluster_nodes_count
Set `kms.cluster.nodes` to the number of nodes with recent heartbeats.
crate/server/src/core/otel_metrics.rs:707
↓ 2 callersMethodupdate_find_objects_context
( &mut self, object: Arc<Object>, )
crate/clients/pkcs11/module/src/sessions.rs:206
↓ 2 callersMethodupdate_findex_keywords
Update Findex index entries: insert new keywords, delete stale ones.
crate/server_database/src/stores/redis/redis_with_findex.rs:982
↓ 2 callersFunctionupdate_id_placeholder_from_response
( id_placeholder: &mut Option<v21types::UniqueIdentifier>, item: &V21ResponseMessageBatchItem, )
crate/server/src/core/operations/message.rs:1280
↓ 2 callersMethodupdate_keys_expiring_soon
Set `kms.keys.expiring_soon.count` for every window of [`EXPIRY_WINDOWS_DAYS`] from the deactivation dates of the `PreActive`/`Active` keys.
crate/server/src/core/otel_metrics.rs:685
↓ 2 callersFunctionupdate_object_
Update an object; when `expected_version` is set, only if the stored version matches, else `DbError::Conflict`.
crate/server_database/src/stores/sql/mysql.rs:1785
↓ 2 callersMethodupdate_objects_total
Set `kms.objects.total` to the current absolute object count. Called once at server startup (seeding from the real DB count) and every `metrics_count
crate/server/src/core/otel_metrics.rs:702
↓ 2 callersFunctionupdate_state_
Monotonic lifecycle write: the stored state is joined with `state` so a write planned on a stale read never regresses it.
crate/server_database/src/stores/sql/mysql.rs:1887
↓ 2 callersMethodupdate_state_retrying
Retry loop of `update_state` and `update_state_allow_downgrade`.
crate/server_database/src/stores/sql/mysql.rs:1910
← previousnext →4,001–4,100 of 16,000, ranked by callers