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
↓ 1,257 callers
Function
from
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1,134 callers
Method
clone
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1,116 callers
Method
map
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 676 callers
Method
push
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 656 callers
Function
init_test_logging
()
crate/test_kms_server/src/lib.rs:44
↓ 558 callers
Function
run_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 callers
Method
as_ref
(&self)
crate/kmip/src/sensitive.rs:94
↓ 475 callers
Method
get
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 462 callers
Method
clone
(&self)
crate/clients/k8s/plugin_proto/src/v2.rs:504
↓ 437 callers
Method
is_empty
Check whether the JWKS cache is empty without allocating.
crate/server/src/middlewares/jwt/jwks.rs:102
↓ 412 callers
Function
start_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 callers
Method
set
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 323 callers
Method
filter
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 307 callers
Function
test_kms
Create a test KMS instance from the default HTTPS config.
crate/server/src/tests/test_utils.rs:60
↓ 258 callers
Function
owner_config
Convenience: load `plain_owner.toml` patched with ctx port.
crate/clients/ckms/src/tests/utils/config.rs:88
↓ 240 callers
Method
first
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 205 callers
Method
get
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 callers
Function
t
(o,i,u,_)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 195 callers
Method
call
(&self, req: ServiceRequest)
crate/server/src/middlewares/audit/mod.rs:147
↓ 185 callers
Method
object
(&self)
crate/interfaces/src/stores/object_with_metadata.rs:68
↓ 183 callers
Method
path
(&self, file: &str)
crate/clients/client/src/file_utils.rs:393
↓ 181 callers
Method
get_owner_client
(&self)
crate/test_kms_server/src/test_server.rs:1153
↓ 180 callers
Method
as_str
(self)
crate/server/src/routes/jose/algorithm.rs:70
↓ 173 callers
Method
uri
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 callers
Method
attributes
(&self)
crate/server/src/middlewares/ui_session.rs:315
↓ 155 callers
Method
forEach
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 152 callers
Function
from_der
Decodes `der` into an owned object with its `d2i_*` function, rejecting trailing bytes.
crate/crypto/src/openssl/tsa.rs:118
↓ 143 callers
Function
sha256
(data: &[u8])
crate/crypto/tests/verify_tests.rs:21
↓ 142 callers
Method
create
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 callers
Function
to_ttlv
(value: &T)
crate/kmip/src/ttlv/kmip_ttlv_serializer.rs:155
↓ 140 callers
Method
key_block
Returns the `KeyBlock` of that object if any, an error otherwise
crate/kmip/src/kmip_2_1/kmip_objects.rs:410
↓ 138 callers
Method
as_str
(&self)
crate/clients/client_utils/src/rsa_utils.rs:47
↓ 137 callers
Function
from_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 callers
Method
split
(&self, u: usize)
crate/crypto/src/crypto/fpe/ff1.rs:579
↓ 130 callers
Method
contains
(self, other: Self)
crate/interfaces/src/crypto_oracle.rs:47
↓ 126 callers
Function
symmetric_key_create_request
Build a `Create` request for a symmetric key
crate/kmip/src/kmip_2_1/requests/create.rs:151
↓ 123 callers
Method
find
Find the key identifier `kid` in each registered JWKS
crate/server/src/middlewares/jwt/jwks.rs:72
↓ 118 callers
Function
load
(file: &str)
crate/crypto/src/kat_vectors.rs:519
↓ 115 callers
Function
ckms_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 callers
Method
id
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 112 callers
Function
recover_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 callers
Method
keys
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 103 callers
Method
finish
(self, sql: String)
crate/server_database/src/stores/sql/locate_query.rs:300
↓ 101 callers
Method
contains
(&self, id: &str)
crate/server/src/tests/hsm/fake_hsm_rotation.rs:117
↓ 100 callers
Method
build
( req: &RequestAuditContext, op: OperationAuditContext, result: AuditResult, )
crate/access/src/audit/event.rs:133
↓ 100 callers
Method
get
List all the permissions granted to the user on an object
crate/server_database/src/stores/redis/permissions.rs:218
↓ 98 callers
Method
path
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 98 callers
Function
post
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 callers
Function
o
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 95 callers
Method
insert
(&self, hash: [u8; 32], user: SpireAuthenticatedUser)
crate/server/src/middlewares/spire_token.rs:102
↓ 95 callers
Method
write
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 callers
Function
generate
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 93 callers
Method
retrieve_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 callers
Function
test_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 callers
Method
to_der
(&self)
crate/clients/pkcs11/provider/src/pkcs11_certificate.rs:69
↓ 91 callers
Function
test_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 callers
Method
as_str
(self)
crate/server/src/config/command_line/db.rs:73
↓ 90 callers
Method
get
Get the object handle for the specified key.
crate/hsm/base_hsm/src/slots.rs:55
↓ 90 callers
Method
includes
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 88 callers
Function
Mixin
(...s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 88 callers
Function
sendKmipRequest
(request: object, serverUrl: string, options?: KmipRequestOptions)
ui/src/utils/utils.ts:160
↓ 82 callers
Method
fill_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 callers
Method
toString
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 81 callers
Method
vendor_id
Returns the vendor identification string used for KMIP `VendorAttribute` operations.
crate/server/src/core/kms/mod.rs:188
↓ 80 callers
Function
create_symmetric_key_kmip_object
Create a symmetric key for the given algorithm
crate/kmip/src/kmip_2_1/requests/create.rs:53
↓ 80 callers
Function
post_2_1
(app: &S, operation: O)
crate/server/src/tests/test_utils.rs:701
↓ 79 callers
Method
insert
Insert a new object handle into the cache.
crate/hsm/base_hsm/src/slots.rs:103
↓ 79 callers
Function
to_string
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 77 callers
Function
i
(i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 76 callers
Method
json
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 callers
Method
get_link
(&self, link_type: LinkType)
crate/kmip/src/kmip_2_1/kmip_attributes.rs:647
↓ 74 callers
Function
https_clap_config
()
crate/server/src/tests/test_utils.rs:38
↓ 74 callers
Method
lock
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 callers
Function
get_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 callers
Function
create_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 callers
Function
instantiate
(params: &MainDbParams, clear_db_on_start: bool)
crate/server_database/src/core/mod.rs:653
↓ 70 callers
Method
as_str
(self)
crate/server_database/src/core/mod.rs:108
↓ 70 callers
Method
concat
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 70 callers
Function
gotoAndWait
(page: Page, path: string)
ui/tests/e2e/helpers.ts:48
↓ 68 callers
Function
now
Current time as RFC 3339 text and Unix seconds.
crate/server/src/routes/kv/metadata.rs:156
↓ 67 callers
Method
create_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 callers
Function
generate
(rand_bytes_ex: RandBytesEx, dest: &mut [u8])
crate/crypto/src/crypto/rng/mod.rs:257
↓ 67 callers
Method
take
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 callers
Function
execute
(s,{authSelectors:o,specSelectors:i})
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 66 callers
Function
instantiate
(cfg: &HsmTestConfig)
crate/hsm/base_hsm/src/tests_shared.rs:115
↓ 66 callers
Function
read
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 66 callers
Method
status
this API is meant to be polled
crate/clients/k8s/plugin_proto/src/v2.rs:177
↓ 66 callers
Function
useActionState
()
ui/src/hooks/useActionState.ts:13
↓ 65 callers
Method
read
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 callers
Function
run_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 callers
Method
send
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 callers
Function
u
(w)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 63 callers
Method
try_into
(self)
crate/kmip/src/kmip_2_1/kmip_objects.rs:574
↓ 62 callers
Function
parse
(flags: &[&str])
crate/server/src/routes/lint_cleanup_characterization_tests.rs:18
↓ 60 callers
Function
_
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 60 callers
Function
create_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 callers
Method
context
(self, context: &str)
crate/server/src/result.rs:41
↓ 57 callers
Method
sign
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 callers
Function
post_json_with_uri
(app: &S, operation: O, uri: &str)
crate/server/src/tests/test_utils.rs:798
↓ 56 callers
Function
to_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