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
Function
mac_ttlv_request
( unique_identifier: &str, data: &[u8], mac_type: &str, hashing_algorithm: Option<String>, )
crate/clients/wasm/src/wasm.rs:2991
Function
mac_usage_follows_the_kmip_usage_mask
()
crate/clients/pkcs11/provider/src/pkcs11_symmetric_key.rs:123
Method
mac_verify
Verifies `mac` (the exact output of [`Backend::mac`]) over `data` with the remote secret key `remote_id`. Returns `Err(ModuleError::SignatureInvalid)`
crate/clients/pkcs11/module/src/traits/backend.rs:422
Function
mac_verify_by_keyset_name_finds_the_generation_that_computed_it
()
crate/server/src/tests/hsm/fake_hsm_rotation.rs:1189
Function
mac_verify_ttlv_request
( unique_identifier: &str, data: &[u8], mac_data: &[u8], mac_type: &str, hashing_algorithm
crate/clients/wasm/src/wasm.rs:3009
Function
mac_verify_with
(kms: &KMS, uid_str: &str, mac_data: &[u8])
crate/server/src/tests/hsm/fake_hsm_rotation.rs:1002
Method
mac_with_metadata
( &self, _slot_id: usize, key_id: &[u8], _resolve_algorithm: Box<
crate/server/src/tests/hsm/fake_hsm_rotation.rs:402
Method
mac_with_metadata
( &self, slot_id: usize, key_id: &[u8], resolve_algorithm: Box< dy
crate/hsm/base_hsm/src/kms_hsm.rs:486
Function
main
()
crate/crypto/build.rs:50
Function
main
A simple command-line parser for TTLV messages. It reads hex strings from the user, decodes them, and parses them into TTLV objects. It also attempts
crate/kmip/src/bin/ttlv_parser.rs:15
Function
main
()
crate/server/build.rs:3
Function
main
The main entry point of the program. This function sets up the necessary environment variables and logging options, then parses the command line argu
crate/server/src/main.rs:43
Function
main
()
crate/clients/wasm/build.rs:1
Function
main
()
crate/clients/k8s/plugin/src/main.rs:33
Function
main
()
crate/clients/k8s/operator/src/main.rs:9
Function
main
()
crate/clients/k8s/plugin_proto/build.rs:1
Function
main
()
crate/clients/k8s/csi_provider_proto/build.rs:1
Function
main
()
crate/clients/k8s/csi_provider/src/main.rs:33
Function
main
()
crate/clients/cng/build.rs:9
Function
main
()
crate/clients/ckms/build.rs:6
Function
main
()
crate/clients/ckms/src/main.rs:5
Function
main
()
crate/clients/pkcs11/provider/build.rs:3
Function
main_createXMLExample
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
Function
main_resolver
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
Function
main_sampleFromSchema
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
Function
make_instance
(prefix: &str, model: &str)
crate/server/src/core/uid_utils.rs:443
Function
malformed_authorization_is_rejected
()
crate/server/src/routes/aws_xks/sigv4.rs:843
Function
malformed_injection_is_denied_instead_of_passed_through
()
crate/clients/k8s/operator/src/webhook.rs:481
Function
malformed_requests_use_the_errors_envelope_without_echo
()
crate/server/src/routes/kv/tests.rs:1216
Function
malformed_san_is_an_error_not_an_empty_set
()
crate/server/src/routes/enrollment.rs:675
Function
malformed_session_cookie_is_rejected
()
crate/server/src/middlewares/auth_verifier/token.rs:528
Function
malformed_stream_yields_none
()
crate/clients/client_utils/src/openpgp_format.rs:367
Function
malformed_tokens_are_rejected
()
crate/server/src/middlewares/jwt/jwt_config.rs:479
Function
manual_hsm_rekey_keypair_returns_new_pair
()
crate/server/src/tests/hsm/fake_hsm_rotation.rs:655
Method
map
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
Method
mapStateToProps
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
Method
mapStateToProps
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
Method
mapStateToProps
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
Function
map_insert_error
Maps a `rusqlite` error from an object insert, turning a constraint violation into an "already exists" KMIP error.
crate/server_database/src/stores/sql/sqlite.rs:114
Method
map_oracle_tde_security_to_mk
Conversion example: Map `ORACLE.SECURITY.KM.ENCRYPTION.30363946333744303931413733443446313342463243453932314542324346303830` to `ORACLE.TDE.HSM.MK.069
crate/clients/pkcs11/module/src/sessions.rs:221
Method
map_selection_error
( e: KmsError, unique_identifier: &UniqueIdentifier, user: &UserId, )
crate/server/src/core/operations/decrypt.rs:177
Method
map_selection_error
( e: KmsError, unique_identifier: &UniqueIdentifier, user: &UserId, )
crate/server/src/core/operations/encrypt.rs:138
Method
map_selection_error
Map key-selection errors to operation-specific KMIP error messages. Default implementation collapses `ItemNotFound` and `Unauthorized` into a single
crate/server/src/core/operations/key_ops/crypto_op.rs:246
Function
mapper
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
Method
mapping
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
Function
maps_transport_visible_errors_to_exact_reasons
()
crate/server/src/core/operations/message.rs:1566
Function
marks_only_successes_undone
()
crate/server/src/core/operations/message.rs:1539
Method
master_key
()
crate/server_database/src/tests/redis_migration_tests.rs:65
Function
matches
Calls the helper with `bytes` standing in for the caller's *entire* allocation. Each case below is sized so that reading one byte further than the he
crate/clients/pkcs11/module/src/pkcs11.rs:2382
Function
matching_types_groups_and_attributes
()
crate/server/src/core/operations/constraints.rs:256
Method
maxContains
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
Method
maxItems
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
Method
maxItems
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
Method
maxLength
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
Method
maxLength
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
Method
maxProperties
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
Method
maxProperties
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
Method
max_decoding_message_size
(mut self, limit: usize)
crate/clients/k8s/plugin_proto/src/v2.rs:164
Method
max_decoding_message_size
(mut self, limit: usize)
crate/clients/k8s/csi_provider_proto/src/provider.rs:152
Method
max_encoding_message_size
(mut self, limit: usize)
crate/clients/k8s/plugin_proto/src/v2.rs:172
Method
max_encoding_message_size
(mut self, limit: usize)
crate/clients/k8s/csi_provider_proto/src/provider.rs:158
Function
max_size_bytes_appears_in_toml_only_when_set
()
crate/server/src/config/command_line/audit_config.rs:348
Method
max_value
(&self)
crate/crypto/src/crypto/fpe/integer.rs:256
Method
maximum
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
Method
maximum
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
Function
maximum_response_size_is_ignored_outside_query
()
crate/server/src/tests/kmip_messages.rs:425
Function
maybeReadMore_
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
Method
media
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
Method
media
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
Method
mediaType
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
Function
mediaTypeAPI
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
Function
members
`(uid, generation)` of every member of the keyset, read from the token (`CKA_LABEL`).
crate/server/src/tests/hsm/rotation.rs:263
Function
memoize
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
Function
memoized
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
Function
merge_granted_operations_unions_direct_and_wildcard_rows
()
crate/server_database/src/stores/sql/mod.rs:109
Function
merge_merge
(s,o,i={})
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
Function
merge_persisted_keeps_secret_references_and_copies_changes
()
crate/clients/ckms/src/commands.rs:640
Method
merged_with_object
( request_params: Option<Self>, object: &crate::kmip_2_1::kmip_objects::Object, )
crate/kmip/src/kmip_2_1/kmip_types.rs:1674
Function
mergerFn
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
Function
message_aead_gracefully_reports_unsupported_capability
()
crate/hsm/base_hsm/src/hsm_lib.rs:1035
Function
message_decrypt_final
crate/hsm/base_hsm/tests/fixtures/fips_gcm_hsm.c:386
Function
message_decrypt_init
crate/hsm/base_hsm/tests/fixtures/fips_gcm_hsm.c:320
Function
message_encrypt_final
crate/hsm/base_hsm/tests/fixtures/fips_gcm_hsm.c:205
Function
message_encrypt_init
crate/hsm/base_hsm/tests/fixtures/fips_gcm_hsm.c:145
Function
message_encrypt_returns_kms_generated_artifacts
()
crate/clients/pkcs11/module/src/tests.rs:1069
Function
message_gcm_precedes_classic_iv_policy
()
crate/hsm/base_hsm/src/session/session_impl.rs:4561
Function
message_gcm_requires_capability_and_complete_family
()
crate/hsm/base_hsm/src/session/session_impl.rs:4577
Function
message_gcm_unsupported_is_remembered_only_for_unsupported_refusals
()
crate/hsm/base_hsm/src/session/session_impl.rs:4779
Function
message_is_domain_then_big_endian_id_then_hash
()
crate/access/src/audit/checkpoint.rs:61
Function
message_rejects_mismatched_batch_count
()
crate/server/src/tests/kmip_messages.rs:198
Function
message_rejects_unsupported_critical_extension
()
crate/server/src/tests/kmip_messages.rs:236
Function
message_sign_init_rejects_non_eddsa_before_parsing_parameters
()
crate/clients/pkcs11/module/src/tests.rs:1841
Method
meta
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
Function
metadata_and_version_tags_have_disjoint_namespaces
()
crate/server/src/routes/kv/metadata.rs:617
Function
metadata_pointing_at_a_foreign_object_fails_closed
()
crate/server/src/routes/kv/tests.rs:1152
Function
metadata_without_object_uid_is_rejected
()
crate/server/src/routes/kv/metadata.rs:665
Method
meter
(&self)
crate/server/src/core/otel_metrics.rs:786
Function
middleware_cache_hit_injects_both_user_types
()
crate/server/src/middlewares/spire_token.rs:743
Function
middleware_cache_miss_injects_policies_and_caches
()
crate/server/src/middlewares/spire_token.rs:697
Function
middleware_cache_miss_unreachable_auth_verifier_returns_403
()
crate/server/src/middlewares/spire_token.rs:813
← previous
next →
11,101–11,200 of 16,000, ranked by callers