MCPcopy Create free account

hub / github.com/Cosmian/kms / functions

Functions16,000 in github.com/Cosmian/kms

↓ 1,257 callersFunctionfrom
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1,134 callersMethodclone
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1,116 callersMethodmap
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 676 callersMethodpush
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 656 callersFunctioninit_test_logging
()
crate/test_kms_server/src/lib.rs:44
↓ 558 callersFunctionrun_test_vector
Run a test vector from a directory containing `manifest.toml` and step JSON files. This is the main entry point for vector-based regression tests. It
crate/test_kms_server/src/vector_runner.rs:1159
↓ 510 callersMethodas_ref
(&self)
crate/kmip/src/sensitive.rs:94
↓ 475 callersMethodget
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 462 callersMethodclone
(&self)
crate/clients/k8s/plugin_proto/src/v2.rs:504
↓ 437 callersMethodis_empty
Check whether the JWKS cache is empty without allocating.
crate/server/src/middlewares/jwt/jwks.rs:102
↓ 412 callersFunctionstart_default_test_kms_server
Start a test KMS server in a thread with the default options: No TLS, no certificate authentication. Configuration is loaded from `test_data/configs/
crate/test_kms_server/src/test_server.rs:399
↓ 379 callersMethodset
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 323 callersMethodfilter
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 307 callersFunctiontest_kms
Create a test KMS instance from the default HTTPS config.
crate/server/src/tests/test_utils.rs:60
↓ 258 callersFunctionowner_config
Convenience: load `plain_owner.toml` patched with ctx port.
crate/clients/ckms/src/tests/utils/config.rs:88
↓ 240 callersMethodfirst
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 205 callersMethodget
This operation requests that the server returns the Managed Object specified by its Unique Identifier. Only a single object is returned. The response
crate/server/src/core/kms/kmip.rs:337
↓ 200 callersFunctiont
(o,i,u,_)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 195 callersMethodcall
(&self, req: ServiceRequest)
crate/server/src/middlewares/audit/mod.rs:147
↓ 185 callersMethodobject
(&self)
crate/interfaces/src/stores/object_with_metadata.rs:68
↓ 183 callersMethodpath
(&self, file: &str)
crate/clients/client/src/file_utils.rs:393
↓ 181 callersMethodget_owner_client
(&self)
crate/test_kms_server/src/test_server.rs:1153
↓ 180 callersMethodas_str
(self)
crate/server/src/routes/jose/algorithm.rs:70
↓ 173 callersMethoduri
Build a JWKS URI using `jwt_issuer_uri` and an optional `jwks_uri`.
crate/server/src/config/command_line/idp_auth_config.rs:56
↓ 166 callersMethodattributes
(&self)
crate/server/src/middlewares/ui_session.rs:315
↓ 155 callersMethodforEach
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 152 callersFunctionfrom_der
Decodes `der` into an owned object with its `d2i_*` function, rejecting trailing bytes.
crate/crypto/src/openssl/tsa.rs:118
↓ 143 callersFunctionsha256
(data: &[u8])
crate/crypto/tests/verify_tests.rs:21
↓ 142 callersMethodcreate
This operation requests the server to generate a new symmetric key or generate Secret Data as a Managed Cryptographic Object. The request contains inf
crate/server/src/core/kms/kmip.rs:101
↓ 142 callersFunctionto_ttlv
(value: &T)
crate/kmip/src/ttlv/kmip_ttlv_serializer.rs:155
↓ 140 callersMethodkey_block
Returns the `KeyBlock` of that object if any, an error otherwise
crate/kmip/src/kmip_2_1/kmip_objects.rs:410
↓ 138 callersMethodas_str
(&self)
crate/clients/client_utils/src/rsa_utils.rs:47
↓ 137 callersFunctionfrom_ttlv
Parse a KMIP structure from its TTLV value. Note: `Objects` are untagged enums, so it is impossible to know the type of the Object unless the root va
crate/kmip/src/ttlv/kmip_ttlv_deserializer/deserializer.rs:34
↓ 133 callersMethodsplit
(&self, u: usize)
crate/crypto/src/crypto/fpe/ff1.rs:579
↓ 130 callersMethodcontains
(self, other: Self)
crate/interfaces/src/crypto_oracle.rs:47
↓ 126 callersFunctionsymmetric_key_create_request
Build a `Create` request for a symmetric key
crate/kmip/src/kmip_2_1/requests/create.rs:151
↓ 123 callersMethodfind
Find the key identifier `kid` in each registered JWKS
crate/server/src/middlewares/jwt/jwks.rs:72
↓ 118 callersFunctionload
(file: &str)
crate/crypto/src/kat_vectors.rs:519
↓ 115 callersFunctionckms_bin
Get a `Command` for the ckms binary, ensuring it's built first. Use this instead of `Command::cargo_bin(PROG_NAME)` directly.
crate/clients/ckms/src/tests/utils/run.rs:15
↓ 113 callersMethodid
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 112 callersFunctionrecover_cmd_logs
Recover output logs from a command call `cmd` and re-inject it into stdio
crate/clients/ckms/src/tests/utils/cmd_logs.rs:7
↓ 104 callersMethodkeys
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 103 callersMethodfinish
(self, sql: String)
crate/server_database/src/stores/sql/locate_query.rs:300
↓ 101 callersMethodcontains
(&self, id: &str)
crate/server/src/tests/hsm/fake_hsm_rotation.rs:117
↓ 100 callersMethodbuild
( req: &RequestAuditContext, op: OperationAuditContext, result: AuditResult, )
crate/access/src/audit/event.rs:133
↓ 100 callersMethodget
List all the permissions granted to the user on an object
crate/server_database/src/stores/redis/permissions.rs:218
↓ 98 callersMethodpath
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 98 callersFunctionpost
Status and body of a POST; a non-JSON body (the `text/plain` 401) comes back as a string.
crate/server/src/tests/azure_ekm/routes_tests.rs:90
↓ 97 callersFunctiono
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 95 callersMethodinsert
(&self, hash: [u8; 32], user: SpireAuthenticatedUser)
crate/server/src/middlewares/spire_token.rs:102
↓ 95 callersMethodwrite
Writes the output to the console. # Errors Returns an error if there is an issue with writing to the console.
crate/clients/clap/src/actions/console.rs:131
↓ 94 callersFunctiongenerate
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 93 callersMethodretrieve_object
Retrieve a single object from the database. This method retrieves an object identified by its `uid` and applies user and state filters to determine i
crate/server_database/src/core/database_objects.rs:294
↓ 93 callersFunctiontest_app
Creates a test application instance with KMIP and Google CSE capabilities. # Arguments `kms_public_url` - Optional public URL for the KMS server #
crate/server/src/tests/test_utils.rs:339
↓ 92 callersMethodto_der
(&self)
crate/clients/pkcs11/provider/src/pkcs11_certificate.rs:69
↓ 91 callersFunctiontest_kms_with_config
Create an in-process test KMS from `clap_config` (start from `https_clap_config()` and patch fields).
crate/server/src/tests/test_utils.rs:43
↓ 90 callersMethodas_str
(self)
crate/server/src/config/command_line/db.rs:73
↓ 90 callersMethodget
Get the object handle for the specified key.
crate/hsm/base_hsm/src/slots.rs:55
↓ 90 callersMethodincludes
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 88 callersFunctionMixin
(...s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 88 callersFunctionsendKmipRequest
(request: object, serverUrl: string, options?: KmipRequestOptions)
ui/src/utils/utils.ts:160
↓ 82 callersMethodfill_bytes
Fill a buffer with cryptographically random bytes for **secret** values (keys, seeds, KEKs, split-key material, tokens). Uses OpenSSL's private DRBG
crate/crypto/src/crypto/rng/mod.rs:128
↓ 81 callersMethodtoString
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 81 callersMethodvendor_id
Returns the vendor identification string used for KMIP `VendorAttribute` operations.
crate/server/src/core/kms/mod.rs:188
↓ 80 callersFunctioncreate_symmetric_key_kmip_object
Create a symmetric key for the given algorithm
crate/kmip/src/kmip_2_1/requests/create.rs:53
↓ 80 callersFunctionpost_2_1
(app: &S, operation: O)
crate/server/src/tests/test_utils.rs:701
↓ 79 callersMethodinsert
Insert a new object handle into the cache.
crate/hsm/base_hsm/src/slots.rs:103
↓ 79 callersFunctionto_string
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 77 callersFunctioni
(i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 76 callersMethodjson
Deserialize the response body as JSON. # Errors Returns an error if the body is not valid JSON for type `T`.
crate/clients/client/src/http_client/client.rs:246
↓ 75 callersMethodget_link
(&self, link_type: LinkType)
crate/kmip/src/kmip_2_1/kmip_attributes.rs:647
↓ 74 callersFunctionhttps_clap_config
()
crate/server/src/tests/test_utils.rs:38
↓ 74 callersMethodlock
Lock the store. Expired tickets may still be present: `redeem` and `revoke` check the lease themselves, so a request carrying tickets costs O(1) inste
crate/server/src/core/operations/login.rs:109
↓ 73 callersFunctionget_client
Creates a new socket client connected to the test server. This will start the test server if it is not already running.
crate/server/src/tests/ttlv_tests/mod.rs:233
↓ 72 callersFunctioncreate_symmetric_key
Create a symmetric key via the CLI. `extra_args` are appended after `["sym", "keys", "create"]`. Pass `&[]` for defaults (AES-256).
crate/clients/ckms/src/tests/symmetric/create_key.rs:16
↓ 71 callersFunctioninstantiate
(params: &MainDbParams, clear_db_on_start: bool)
crate/server_database/src/core/mod.rs:653
↓ 70 callersMethodas_str
(self)
crate/server_database/src/core/mod.rs:108
↓ 70 callersMethodconcat
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 70 callersFunctiongotoAndWait
(page: Page, path: string)
ui/tests/e2e/helpers.ts:48
↓ 68 callersFunctionnow
Current time as RFC 3339 text and Unix seconds.
crate/server/src/routes/kv/metadata.rs:156
↓ 67 callersMethodcreate_key_pair
This operation requests the server to generate a new public/private key pair and register the two corresponding new Managed Cryptographic Object The r
crate/server/src/core/kms/kmip.rs:120
↓ 67 callersFunctiongenerate
(rand_bytes_ex: RandBytesEx, dest: &mut [u8])
crate/crypto/src/crypto/rng/mod.rs:257
↓ 67 callersMethodtake
Move the buffered input out; the bytes stay charged until the buffer is dropped.
crate/server/src/core/operations/key_ops/multi_part.rs:219
↓ 66 callersFunctionexecute
(s,{authSelectors:o,specSelectors:i})
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 66 callersFunctioninstantiate
(cfg: &HsmTestConfig)
crate/hsm/base_hsm/src/tests_shared.rs:115
↓ 66 callersFunctionread
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 66 callersMethodstatus
this API is meant to be polled
crate/clients/k8s/plugin_proto/src/v2.rs:177
↓ 66 callersFunctionuseActionState
()
ui/src/hooks/useActionState.ts:13
↓ 65 callersMethodread
The session carried by the request, or `None` when the cookie is absent, tampered with, sealed under another key, expired, idle for too long or revoke
crate/server/src/middlewares/ui_session.rs:179
↓ 65 callersFunctionrun_ckms
Run a ckms command with the given arguments and return stdout on success. This is the common pattern for all ckms binary tests: `Command::cargo_bin("
crate/clients/ckms/src/tests/utils/run.rs:24
↓ 65 callersMethodsend
Build an HTTP request with `build`, send it and collect the response. Retries a connection-level error (`is_connect()`) a few times with a short back
crate/clients/client/src/http_client/client.rs:612
↓ 65 callersFunctionu
(w)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 63 callersMethodtry_into
(self)
crate/kmip/src/kmip_2_1/kmip_objects.rs:574
↓ 62 callersFunctionparse
(flags: &[&str])
crate/server/src/routes/lint_cleanup_characterization_tests.rs:18
↓ 60 callersFunction_
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 60 callersFunctioncreate_ec_key_pair_request
Build a `CreateKeyPairRequest` for an elliptic curve and its intended `usage`
crate/kmip/src/kmip_2_1/requests/create_key_pair.rs:207
↓ 58 callersMethodcontext
(self, context: &str)
crate/server/src/result.rs:41
↓ 57 callersMethodsign
This operation requests the server to perform a signature operation on the provided data using a Managed Object specified by its Unique Identifier. Th
crate/server/src/core/kms/kmip.rs:731
↓ 56 callersFunctionpost_json_with_uri
(app: &S, operation: O, uri: &str)
crate/server/src/tests/test_utils.rs:798
↓ 56 callersFunctionto_wasm_ttlv
Serialize any KMIP request to a TTLV `JsValue` suitable for `sendKmipRequest()`. This replaces the repeated two-line suffix found in 70+ WASM binding
crate/clients/wasm/src/macros.rs:8
next →1–100 of 16,000, ranked by callers