MCPcopy Create free account

hub / github.com/Cosmian/kms / functions

Functions16,000 in github.com/Cosmian/kms

↓ 3 callersFunctionjson
(status: number, body: unknown)
ui/tests/unit/tsx-imports/KvSecrets.test.ts:24
↓ 3 callersFunctionkem_keygen
( vendor_id: &str, dk_uid: String, dk_attributes: Option<Attributes>, ek_uid: String, ek_a
crate/crypto/src/crypto/kem.rs:58
↓ 3 callersFunctionkey
(i: u8)
crate/hsm/base_hsm/src/lint_cleanup_characterization_tests.rs:9
↓ 3 callersFunctionkey_algorithm_from_attributes
(attributes: &Attributes)
crate/clients/pkcs11/provider/src/kms_object.rs:1597
↓ 3 callersFunctionkey_inventory_row
Build a key-inventory entry from one row of the `key-inventory` query. The row's object type is never NULL (the query filters on it); `count` is clam
crate/server_database/src/stores/sql/mod.rs:60
↓ 3 callersFunctionkey_policy
(current: &str, previous: &[&str])
crate/clients/k8s/plugin/src/service.rs:214
↓ 3 callersFunctionkh
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionkmip1_default_get_attributes_names
--------------------------------------------------------------------------- Helper: send a KMIP 1.x `GetAttributes` with no attribute name (default al
crate/server/src/tests/ttlv_tests/attribute_version_gating.rs:281
↓ 3 callersFunctionkmip1_get_attributes_names
Send a KMIP 1.x `GetAttributes` for `attribute_name` (or all attributes when `None`) and return the attribute names carried by the response.
crate/server/src/tests/ttlv_tests/attribute_version_gating.rs:291
↓ 3 callersFunctionkmip_policy_message
The policy message the KMIP path returns for `op`.
crate/server/src/tests/kmip_policy/routes.rs:73
↓ 3 callersMethodkms_client_config
Build a `KmsClientConfig` from the KMS section. # Errors Returns an error if the CA certificate file cannot be read.
crate/clients/k8s/operator/src/config.rs:153
↓ 3 callersFunctionkms_with_config
( google_cse_migration_key: Option<String>, )
crate/server/src/tests/google_cse/server_setup.rs:229
↓ 3 callersFunctionkms_with_fake_hsm_conf
KMS built from `conf` with `FakeHsm` mounted on the `hsm` prefix.
crate/server/src/tests/hsm/fake_hsm_authz.rs:364
↓ 3 callersFunctionkms_with_rotating_hsm_config
(config: ClapConfig)
crate/server/src/tests/hsm/fake_hsm_rotation.rs:491
↓ 3 callersFunctionkv_scope
One Vault KV scope (`/<kv_mount>`, `/v1/<kv_mount>` or the mount preflight): the routes and their Vault error envelopes from `configure`, the session-
crate/server/src/start_kms_server.rs:2466
↓ 3 callersFunctionkv_tags
`extra_tags` plus [`KV_MARKER_TAG`].
crate/server/src/routes/kv/metadata.rs:321
↓ 3 callersMethodlabel
The operation name used in report output (also becomes the report's `### <label>` section heading and SVG chart file name).
crate/clients/clap/src/actions/pkcs11/bench/load.rs:62
↓ 3 callersFunctionlabels
(modes: &[ConcreteMode])
crate/clients/clap/src/actions/pkcs11/bench/load.rs:1211
↓ 3 callersFunctionleaf_ext
Leaf extension with a CDP pointing to the issuing CA's CRL fixture.
crate/server/src/tests/test_validate.rs:1304
↓ 3 callersFunctionlib_isObject
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionlist_access
List accesses granted on an object
crate/clients/ckms/src/tests/access.rs:122
↓ 3 callersMethodlist_instances
Lists every `instance_id` present in the audit database, in ascending order. # Errors Returns an error if the query fails.
crate/server_database/src/stores/audit/pgsql.rs:912
↓ 3 callersMethodlist_object_operations_granted
List all the KMIP operations granted per `user` on the given object This is called by the owner only
crate/server_database/src/core/database_permissions.rs:32
↓ 3 callersMethodlist_object_permissions
List all the permissions granted on an object per user id
crate/server_database/src/stores/redis/permissions.rs:209
↓ 3 callersFunctionlist_user_access_rights_on_object_
( uid: &str, userid: &str, no_inherited_access: bool, pool: &Pool, )
crate/server_database/src/stores/sql/mysql.rs:2186
↓ 3 callersMethodload_find_context
(&mut self, attributes: &Attributes)
crate/clients/pkcs11/module/src/sessions.rs:239
↓ 3 callersFunctionload_manifest
Load a test vector manifest from a TOML file.
crate/test_kms_server/src/vector_runner.rs:675
↓ 3 callersFunctionload_percentile
(sorted: &[f64], p: f64)
crate/clients/clap/src/actions/bench/load.rs:289
↓ 3 callersFunctionload_queries
Parse an embedded SQL bundle once and cache it.
crate/server_database/src/stores/mod.rs:27
↓ 3 callersMethodlocate
( func_list: &CK_FUNCTION_LIST, session: CK_SESSION_HANDLE, provisioned: &ProvisionedK
crate/clients/clap/src/actions/pkcs11/capabilities.rs:1147
↓ 3 callersFunctionlocate_usk
Locate all the user decryption keys associated with the master secret key and for the given access structure attributes
crate/server/src/core/cover_crypt/locate_user_decryption_keys.rs:27
↓ 3 callersFunctionlog_request_details
Debug-logs what a client asked for, one line per operation: the protocol version, the target key, the algorithm and the block cipher mode. Lets a test
crate/server/src/routes/kmip/audit.rs:204
↓ 3 callersFunctionlogin_cookie
`Set-Cookie` value of a session holding only the authenticated `user_id`.
crate/server/src/routes/ui_auth.rs:855
↓ 3 callersMethodlookup
(&self, hash: &[u8; 32])
crate/server/src/middlewares/spire_token.rs:91
↓ 3 callersFunctionlookup_path
Locate the latest generation of `path`. # Errors An active object at the latest generation that is not this path's metadata is an internal error: onl
crate/server/src/routes/kv/metadata.rs:233
↓ 3 callersFunctionm
(s,o,i,u,_)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionmac
(kms: &KMS, request: MAC, user: &UserId)
crate/server/src/core/operations/mac.rs:355
↓ 3 callersMethodmac_verify
( &self, remote_id: &str, algorithm: MacAlgorithm, data: &[u8], mac: &
crate/clients/pkcs11/provider/src/backend.rs:723
↓ 3 callersFunctionmakeMap
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionmakeOrderedMap
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionmake_kms_with_co
Build a KMS with the CO role configured for `co_user` (config-only, no ceremony). `require_ceremony = false` means `co_user` is an active CO from sta
crate/server/src/tests/crl_tests.rs:829
↓ 3 callersFunctionmake_raw_key_block
(raw: Vec<u8>)
crate/server/src/core/operations/create_split_key.rs:685
↓ 3 callersFunctionmake_wire_request
Wrap a single KMIP operation in a `RequestMessage` ready for TTLV serialization. The KMIP wire formats require a `RequestMessage` at the top level; b
crate/clients/clap/src/actions/bench/transport.rs:153
↓ 3 callersMethodmap
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionmapWithLocateConcurrency
(items: Input[], map: (item: Input) => Promise<Output>)
ui/src/components/common/Locate.tsx:86
↓ 3 callersMethodmarker
(self)
crate/server_database/src/stores/migrate.rs:86
↓ 3 callersFunctionmerge_granted_operations
Add one `(id, owner, state, operations)` row to the per-object map of granted operations. The same object may be returned twice: once for the direct
crate/server_database/src/stores/sql/mod.rs:29
↓ 3 callersMethodmessage_mechanism_support
Get the per-slot cache of mechanisms rejected by the message-signature API
crate/hsm/base_hsm/src/session/session_impl.rs:368
↓ 3 callersMethodmessage_sign_final
Finalize the message-based signing operation (`C_MessageSignFinal`). # Errors Returns an error if `C_MessageSignFinal` fails.
crate/hsm/base_hsm/src/session/message_sign.rs:195
↓ 3 callersFunctionmetadata_request
(arn: &str, operation: &str)
crate/server/src/routes/aws_xks/tests.rs:96
↓ 3 callersFunctionmigrate_aws_xks_key_access
One-time, idempotent migration that grants the reserved AWS XKS service identity access to XKS keys created by earlier KMS versions. Before the fix f
crate/server/src/start_kms_server.rs:265
↓ 3 callersFunctionmigrate_block_cipher_mode_if_needed
Upgrades wrongly serialized `BlockCipherMode::LegacyNISTKeyWrap` (`0x8000_000D`) to `BlockCipherMode::AESKeyWrapPadding` (`0x0000_000C`) for backward
crate/server_database/src/lib.rs:74
↓ 3 callersFunctionmigration_cse_config
KMS-B's configuration: KMS-A is whitelisted, `kid` is its migration key.
crate/server/src/routes/google_cse/jwt.rs:1086
↓ 3 callersFunctionmigration_token
( kid: &str, rsa: &Rsa<openssl::pkey::Private>, aud: &str, kacls_url: &str,
crate/server/src/routes/google_cse/jwt.rs:1104
↓ 3 callersMethodmin_tag_size
(&self)
crate/crypto/src/crypto/symmetric/symmetric_ciphers.rs:284
↓ 3 callersFunctionmock_idp
A mock `IdP` on a random local port: `GET /jwks` serves its signing key, any other request is the token endpoint and answers with an `id_token` carryi
crate/server/src/routes/ui_auth.rs:1558
↓ 3 callersFunctionmysql_queries
()
crate/server_database/src/stores/mod.rs:45
↓ 3 callersMethodname
(self)
crate/crypto/src/crypto/fpe/alphabet.rs:78
↓ 3 callersFunctionnested_structures
Build `depth` nested Structures (tag `0x42_007B`), each wrapping the next. The innermost Structure contains a single `BatchCount` Integer leaf. This
crate/kmip/src/ttlv/tests/wire_edge_cases.rs:47
↓ 3 callersFunctionnested_xml
Build XML for `depth` nested `<RequestMessage type="Structure">` elements.
crate/kmip/src/ttlv/tests/xml_edge_cases.rs:19
↓ 3 callersFunctionnew_id
()
crate/hsm/base_hsm/src/session/message_signature_tests.rs:294
↓ 3 callersFunctionnew_sid
A fresh random session id.
crate/server/src/middlewares/ui_session.rs:127
↓ 3 callersFunctionnew_uid
A short unique UID on the slot: the keyset label embeds it twice, and some tokens limit the length of `CKA_LABEL`.
crate/server/src/tests/hsm/rotation.rs:73
↓ 3 callersFunctionnext
(_)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersMethodnext_value_seed
(&mut self, seed: V)
crate/kmip/src/ttlv/kmip_ttlv_deserializer/structure_walker.rs:57
↓ 3 callersFunctionnormalize_gnupg_eddsa_secret_mpi
Work around `GnuPG`'s encoding of `EdDSA` secret keys, which the `pgp` crate rejects with "Invalid checksum". For an unprotected `Ed25519` key `GnuPG
crate/clients/client_utils/src/openpgp_format.rs:241
↓ 3 callersFunctionnow
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionnumberIsNaN
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionob
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersMethodobfuscate_key
Compute an obfuscated Redis key name for a ceremony role. Uses SHAKE-256 with the obfuscation key and role name to produce a 16-character hex string
crate/server_database/src/ceremony_keys.rs:160
↓ 3 callersFunctionocsp_cache_key
Cache key for one `CertID`: the response echoes the requester's `CertID` (hash algorithm and issuer hashes), so responses for different `CertID` encod
crate/server/src/routes/ocsp/handler.rs:140
↓ 3 callersFunctionoe
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionoidc_app
The `login_flow`/`callback`/`whoami` handlers configured for the mock `IdP` on `port`, the KMS trusting `primary_jwt_issuer` as its first JWT provider
crate/server/src/routes/ui_auth.rs:1641
↓ 3 callersFunctionone
()
crate/test_kms_server/src/vector_runner.rs:585
↓ 3 callersFunctionopen_append
Opens the audit file for appending, creating parent directories if needed.
crate/server/src/core/audit/recovery.rs:598
↓ 3 callersFunctionopenpgp_verify_detached
Accepts binary or armored signature. Tries the primary key, then every signing subkey whose binding to the primary key verifies (including its back-si
crate/crypto/src/crypto/openpgp/mod.rs:845
↓ 3 callersFunctionoptions_retrievalURI
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionotel_http_metrics_middleware
Creates the OpenTelemetry HTTP metrics middleware. Records `kms.http.requests.total`, `kms.http.request.duration`, and `kms.active.connections` for e
crate/server/src/middlewares/otel_http_middleware.rs:27
↓ 3 callersFunctionpacket
(tag: u8, body: &[u8])
crate/clients/client_utils/src/openpgp_format.rs:310
↓ 3 callersFunctionparamToIdentifier
(s,{returnAll:o=!1,allowHashes:i=!0}={})
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionparseLinkLabel
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionparse_attributes
Parse the JSON `attributes` string from a `MountRequest` into a list of [`ObjectSpec`] entries and the pod namespace, if the driver provided it.
crate/clients/k8s/csi_provider/src/service.rs:232
↓ 3 callersFunctionparse_deactivation_dates
Parse the raw JSON value of a stored `DeactivationDate` attribute. Older rows store dates as a `[year, ordinal, h, m, s, ns, oh, om, os]` array, newe
crate/server_database/src/stores/sql/mod.rs:84
↓ 3 callersFunctionparse_distinguished_name
Parse `C=FR, O=Acme\, SA, OU=PKI, OU=Sub, CN=Sub CA` into an X.509 name, keeping the RDNs in input order and allowing repeated attributes. Any OpenSSL
crate/server/src/core/operations/generate_csr.rs:69
↓ 3 callersFunctionparse_duration_secs
Parse a positive duration into seconds: bare seconds (`"90"`) or a number followed by `s`, `m`, `h` or `d` (`"30s"`, `"5m"`, `"1h"`, `"2d"`). Surround
crate/server/src/routes/mod.rs:279
↓ 3 callersFunctionparse_selected_attributes
( vendor_id: &str, attributes: &Attributes, attribute_tags: &[Tag], attribute_link_types: &[CL
crate/clients/client_utils/src/attributes_utils.rs:98
↓ 3 callersMethodpassword
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersMethodpeek
(&self)
crate/kmip/src/ttlv/kmip_ttlv_serializer.rs:75
↓ 3 callersFunctionpeek_cek
Look up a cached CEK for the given JWE `encrypted_key` ciphertext. Returns `Some(cek_bytes)` on a cache hit, `None` on a miss or any error. Errors ar
crate/server/src/routes/jose/cek_cache.rs:111
↓ 3 callersFunctionpending_ctx
(import_blob: Option<Vec<u8>>, algorithm: KeyAlgorithm)
crate/clients/cng/src/key.rs:550
↓ 3 callersFunctionpg_retry_backoff_ms
(attempt: u32)
crate/server_database/src/stores/sql/pgsql.rs:79
↓ 3 callersFunctionpgsql_queries
()
crate/server_database/src/stores/mod.rs:40
↓ 3 callersFunctionpj
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionpkcs1_der
(modulus: &[u8], exponent: &[u8])
crate/clients/cng/src/blob.rs:719
↓ 3 callersFunctionplain_response
A plain-text error response (RFC 7030 §4.2.3: a response without a PKI content type carries a human-readable message).
crate/server/src/routes/est/mod.rs:39
↓ 3 callersFunctionpoint
(coord: usize)
crate/clients/cng/src/blob.rs:752
↓ 3 callersFunctionpolicy
()
crate/server/src/routes/ssh/mod.rs:404
↓ 3 callersFunctionpolicy_app
The KMIP endpoint, the JOSE key route and the SPIRE transit key route on one KMS.
crate/server/src/tests/kmip_policy/routes.rs:59
↓ 3 callersFunctionpost_login_as
`POST /login_as` as `username` from `peer`.
crate/server/src/routes/ui_auth.rs:1255
↓ 3 callersFunctionpostgres_client
(url: &str)
crate/server_database/src/tests/sql_migration_tests.rs:40
← previousnext →2,301–2,400 of 16,000, ranked by callers