MCPcopy Create free account

hub / github.com/Cosmian/kms / functions

Functions12,829 in github.com/Cosmian/kms

↓ 893 callersFunctionfrom
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 835 callersMethodclone
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 785 callersMethodmap
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 603 callersMethodpush
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 564 callersFunctioninit_test_logging
()
crate/test_kms_server/src/lib.rs:43
↓ 477 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:933
↓ 475 callersMethodget
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 433 callersMethodas_ref
(&self)
crate/interfaces/src/user_id.rs:64
↓ 395 callersMethodclone
(&self)
crate/clients/k8s/plugin/src/v2.rs:504
↓ 382 callersMethodset
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 380 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
↓ 353 callersMethodis_empty
Check whether the JWKS cache is empty without allocating.
crate/server/src/middlewares/jwt/jwks.rs:102
↓ 248 callersMethodfilter
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 241 callersFunctionowner_config
Convenience: load `plain_owner.toml` patched with ctx port.
crate/clients/ckms/src/tests/utils/config.rs:88
↓ 228 callersMethodcall
(&self, req: ServiceRequest)
crate/server/src/middlewares/audit/mod.rs:130
↓ 211 callersMethodfirst
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 199 callersMethodpath
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 182 callersFunctiont
(o,i,u,_)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 157 callersMethodget_owner_client
(&self)
crate/test_kms_server/src/test_server.rs:1064
↓ 156 callersMethodattributes
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 155 callersMethodforEach
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 145 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
↓ 144 callersFunctiontest_kms
Create a test KMS instance from the default HTTPS config.
crate/server/src/tests/test_utils.rs:53
↓ 141 callersMethodas_str
(self)
crate/server/src/routes/jose/algorithm.rs:72
↓ 130 callersMethodobject
(&self)
crate/interfaces/src/stores/object_with_metadata.rs:54
↓ 123 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
↓ 123 callersMethodkey_block
Returns the `KeyBlock` of that object if any, an error otherwise
crate/kmip/src/kmip_2_1/kmip_objects.rs:396
↓ 119 callersMethodas_str
(&self)
crate/clients/client_utils/src/rsa_utils.rs:47
↓ 119 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
↓ 117 callersFunctionfrom_ttlv
(s: TTLV)
crate/kmip/src/ttlv/kmip_ttlv_deserializer/deserializer.rs:38
↓ 114 callersFunctionsha256
(data: &[u8])
crate/crypto/tests/verify_tests.rs:22
↓ 111 callersMethodcontains
(&self, uid: &str)
crate/server_database/src/core/unwrapped_cache.rs:187
↓ 111 callersFunctioninstantiate
(cfg: &HsmTestConfig)
crate/hsm/base_hsm/src/tests_shared.rs:111
↓ 106 callersFunctionto_ttlv
(value: &T)
crate/kmip/src/ttlv/kmip_ttlv_serializer.rs:125
↓ 103 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
↓ 103 callersMethodsplit
(&self, u: usize)
crate/crypto/src/crypto/fpe/ff1.rs:567
↓ 102 callersMethodkeys
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 102 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
↓ 97 callersFunctiono
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 92 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:227
↓ 91 callersMethodas_ptr
(&self)
crate/crypto/src/crypto/pqc/mod.rs:37
↓ 88 callersFunctionMixin
(...s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 88 callersMethodbuild
( req: &RequestAuditContext, op: OperationAuditContext, result: AuditResult, )
crate/access/src/audit/event.rs:133
↓ 88 callersMethodcontains
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 88 callersMethodfind
Find the key identifier `kid` in each registered JWKS
crate/server/src/middlewares/jwt/jwks.rs:72
↓ 88 callersMethodto_der
(&self)
crate/clients/pkcs11/provider/src/pkcs11_certificate.rs:69
↓ 88 callersMethodwrite
(&self)
crate/clients/clap/src/actions/console.rs:132
↓ 85 callersMethodid
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 85 callersMethodincludes
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 84 callersFunctionsendKmipRequest
(request: object, serverUrl: string, options?: KmipRequestOptions)
ui/src/utils/utils.ts:160
↓ 82 callersMethodfinish
(self, sql: String)
crate/server_database/src/stores/sql/locate_query.rs:281
↓ 82 callersFunctionsymmetric_key_create_request
Build a `Create` request for a symmetric key
crate/kmip/src/kmip_2_1/requests/create.rs:122
↓ 80 callersFunctiongenerate
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 79 callersMethodtoString
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 78 callersMethodinsert
(&self, hash: [u8; 32], user: SpireAuthenticatedUser)
crate/server/src/middlewares/spire_token.rs:103
↓ 77 callersFunctioni
(i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 74 callersFunctionpost_2_1
(app: &S, operation: O)
crate/server/src/tests/test_utils.rs:560
↓ 72 callersMethodget
List all the permissions granted to the user on an object
crate/server_database/src/stores/redis/permissions.rs:218
↓ 71 callersMethodget
Get the object handle for the specified key.
crate/hsm/base_hsm/src/slots.rs:53
↓ 68 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
↓ 68 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:252
↓ 67 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
↓ 66 callersMethodas_str
(self)
crate/server/src/config/command_line/db.rs:73
↓ 65 callersFunctiongotoAndWait
(page: Page, path: string)
ui/tests/e2e/helpers.ts:48
↓ 65 callersMethodinsert
Insert a new object handle into the cache.
crate/hsm/base_hsm/src/slots.rs:101
↓ 65 callersFunctionu
(w)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 64 callersMethodget_link
(&self, link_type: LinkType)
crate/kmip/src/kmip_2_1/kmip_attributes.rs:632
↓ 63 callersMethodconcat
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 62 callersMethodvendor_id
Returns the vendor identification string used for KMIP `VendorAttribute` operations.
crate/server/src/core/kms/mod.rs:139
↓ 61 callersFunctionexecute
(s,{authSelectors:o,specSelectors:i})
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 61 callersFunctionuseActionState
()
ui/src/hooks/useActionState.ts:13
↓ 60 callersFunction_
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 57 callersMethodcontext
(self, context: &str)
crate/server/src/result.rs:41
↓ 57 callersFunctiondecode
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 57 callersFunctionread
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 57 callersMethodstatus
this API is meant to be polled
crate/clients/k8s/plugin/src/v2.rs:177
↓ 56 callersMethodas_str
(self)
crate/server_database/src/core/mod.rs:90
↓ 56 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:225
↓ 55 callersFunctioncreate_symmetric_key_kmip_object
Create a symmetric key for the given algorithm
crate/kmip/src/kmip_2_1/requests/create.rs:24
↓ 55 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
↓ 54 callersMethodapply
Validate `csr` and write the template-driven issuance controls into the `Certify` attributes: the template validity and, when the CSR requests no EKU,
crate/server/src/core/operations/certify/template.rs:551
↓ 54 callersFunctionpost_json_with_uri
(app: &S, operation: O, uri: &str)
crate/server/src/tests/test_utils.rs:657
↓ 54 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:45
↓ 53 callersFunctiongenerate
(rand_bytes_ex: RandBytesEx, dest: &mut [u8])
crate/crypto/src/crypto/rng/mod.rs:254
↓ 53 callersMethodreduce
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 53 callersMethodsetMetaProperty
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 53 callersMethodtry_into
(self)
crate/kmip/src/kmip_2_1/kmip_objects.rs:557
↓ 52 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:592
↓ 52 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
↓ 51 callersFunctionto_string
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 50 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:729
↓ 50 callersFunctionsmokeRender
(element: React.ReactElement, options: SmokeRenderOptions = {})
ui/tests/unit/test-utils.tsx:27
↓ 50 callersFunctionsubmitAndWaitForResponse
(page: Page, timeoutMs: number = UI_RESPONSE_TIMEOUT)
ui/tests/e2e/helpers.ts:80
↓ 49 callersMethodadd
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 49 callersFunctioncreate_ec_key_pair_request
Build a `CreateKeyPairRequest` for an elliptic curve
crate/kmip/src/kmip_2_1/requests/create_key_pair.rs:178
↓ 49 callersFunctionnow
()
crate/server/src/core/operations/auto_rotate.rs:388
↓ 49 callersMethodretrieve_object_arc
Retrieve a cached object as `Arc<ObjectWithMetadata>` without deep-cloning. On cache hit this returns a cheap `Arc` pointer bump instead of the `~800
crate/server_database/src/core/database_objects.rs:302
↓ 49 callersMethodset_tags
(&mut self, tags: Option<&Vec<String>>)
crate/clients/clap/src/actions/console.rs:77
↓ 48 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
↓ 47 callersMethodfrom
(e: TtlvError)
crate/server/src/error.rs:117
next →1–100 of 12,829, ranked by callers