MCPcopy Create free account

hub / github.com/Cosmian/kms / functions

Functions16,000 in github.com/Cosmian/kms

↓ 55 callersFunctiondecode
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 55 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/clients/client/src/kms_rest_client.rs:337
↓ 55 callersMethodparse
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 55 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:328
↓ 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:549
↓ 54 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 callersMethodset_tags
Set the tags on the attributes
crate/kmip/src/kmip_2_1/extra/tagging.rs:65
↓ 53 callersFunctionsmokeRender
(element: React.ReactElement, options: SmokeRenderOptions = {})
ui/tests/unit/test-utils.tsx:27
↓ 52 callersMethodkey_block_mut
Returns the `KeyBlock` of that object if any, an error otherwise
crate/kmip/src/kmip_2_1/kmip_objects.rs:446
↓ 52 callersMethodthen
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 51 callersMethodcall
(&self, f: F)
crate/server_database/src/stores/sql/sqlite.rs:94
↓ 51 callersMethodcontext
(self, context: &str)
crate/clients/clap/src/error/result.rs:31
↓ 51 callersFunctionsubmitAndWaitForResponse
(page: Page, timeoutMs: number = UI_RESPONSE_TIMEOUT)
ui/tests/e2e/helpers.ts:80
↓ 50 callersMethodexecute
(&self, sql: &str)
crate/server_database/src/tests/sql_migration_tests.rs:162
↓ 50 callersMethodkey_bytes
Return the key material of a symmetric key, raw or transparent. The PKCS#1 of an RSA Key, etc.
crate/kmip/src/kmip_2_1/kmip_data_structures.rs:321
↓ 50 callersFunctionload_client_config
Load a client config template from `test_data/configs/client/{template}`, patch the `server_url` port to match the running test server, resolve relati
crate/clients/ckms/src/tests/utils/config.rs:35
↓ 49 callersMethodadd
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 49 callersFunctionencode
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 49 callersMethodfrom
(e: TtlvError)
crate/server/src/error.rs:121
↓ 49 callersMethodinsert
Insert or update a cached object.
crate/server_database/src/core/object_cache.rs:135
↓ 49 callersMethodobject_type
(&self)
crate/kmip/src/kmip_2_1/kmip_objects.rs:395
↓ 49 callersMethodseeded_csrng
A `ChaCha12` generator seeded with 256 bits from the private DRBG. For third-party APIs that require an infallible `rand_core` 0.6 `CryptoRngCore` an
crate/crypto/src/crypto/rng/mod.rs:168
↓ 49 callersMethodset_tags
(&mut self, tags: Option<&Vec<String>>)
crate/clients/clap/src/actions/console.rs:77
↓ 49 callersMethodwith_context
(self, op: O)
crate/clients/clap/src/error/result.rs:35
↓ 48 callersMethodget_user
Get the user from the request depending on the authentication method.
crate/server/src/core/kms/permissions.rs:344
↓ 48 callersFunctionpost_json_raw
Post `body` as JSON to `uri` and return the HTTP status together with the parsed JSON reply (`Value::Null` if the reply is empty or not JSON), whateve
crate/server/src/tests/test_utils.rs:842
↓ 47 callersMethodattributes_mut
Returns the `Attributes` of that object if any, an error otherwise
crate/kmip/src/kmip_2_1/kmip_objects.rs:441
↓ 47 callersMethodgrant_operations
Grant the ability to `user` to perform the KMIP `operations` on the object identified by its `uid`
crate/server_database/src/core/database_permissions.rs:44
↓ 47 callersFunctionserializers_value
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 46 callersFunctioncreate_rsa_key_pair_request
Build a `CreateKeyPairRequest` for a RSA key pair.
crate/kmip/src/kmip_2_1/requests/create_key_pair.rs:24
↓ 46 callersFunctionget
Get an object If the request contains a `KeyWrappingData`, the key will be wrapped. If the request contains a `KeyWrapType`, the key will be unwrappe
crate/server/src/core/operations/get.rs:19
↓ 46 callersFunctionp
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 46 callersFunctionrun_ckms_expect_error
Run a ckms command expecting failure, return the stderr message.
crate/clients/ckms/src/tests/utils/run.rs:39
↓ 46 callersFunctionsetup_app
`log_init(None)` + `test_app` combo — cuts 2-line boilerplate to 1 per test.
crate/server/src/tests/test_utils.rs:319
↓ 45 callersMethodset_link
Set a link to an object. If a link of the same type already exists, it is removed. There can only be one link of a given type.
crate/kmip/src/kmip_2_1/kmip_attributes.rs:689
↓ 45 callersFunctionstart
()
crate/test_kms_server/src/mock_gmail.rs:55
↓ 44 callersMethodget_tags
(&self, vendor_id: &str)
crate/kmip/src/kmip_2_1/extra/tagging.rs:52
↓ 44 callersMethodhas
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 43 callersMethodcertify
This request is used to generate a Certificate object for a public key. This request supports the certification of a new public key, as well as the ce
crate/server/src/core/kms/kmip.rs:81
↓ 43 callersFunctionopen
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 43 callersFunctionread_bytes_from_file
Read all bytes from a file # Errors If the file cannot be opened or read, an error is returned.
crate/clients/client/src/file_utils.rs:23
↓ 43 callersFunctiontime_normalize
()
crate/kmip/src/time_utils.rs:18
↓ 42 callersMethodattributes
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 42 callersFunctionexport_key
(params: ExportKeyParams)
crate/clients/ckms/src/tests/shared/export.rs:61
↓ 42 callersMethodheaders
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 42 callersFunctionkms_with_rotating_hsm
KMS on a fresh `SQLite` database with an empty [`RotatingHsm`] mounted under `hsm`.
crate/server/src/tests/hsm/fake_hsm_rotation.rs:487
↓ 42 callersMethodpublic_key
(&self)
crate/crypto/src/crypto/mod.rs:89
↓ 42 callersMethodpush
(&mut self, v: T)
crate/kmip/src/ttlv/kmip_ttlv_serializer.rs:67
↓ 41 callersFunctionget_tmp_sqlite_path
()
crate/server/src/tests/test_utils.rs:293
↓ 41 callersMethodpop
(&mut self)
crate/kmip/src/ttlv/kmip_ttlv_serializer.rs:71
↓ 41 callersMethodremove
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 41 callersFunctiontime_normalize
Returns the current UTC time with milliseconds set to zero. This function is used to normalize timestamps across the KMIP implementation, ensuring co
crate/server/src/routes/aws_xks/key_metadata.rs:50
↓ 40 callersMethodcreate
( &self, _: Option<String>, _: &UserId, _: &Object,
crate/server/src/core/operations/locate.rs:288
↓ 40 callersMethodget_attributes
This operation requests one or more attributes associated with a Managed Object. The object is specified by its Unique Identifier, and the attributes
crate/server/src/core/kms/kmip.rs:353
↓ 40 callersMethodimport
This operation requests the server to Import a Managed Object specified by its Unique Identifier. The request specifies the object being imported and
crate/server/src/core/kms/kmip.rs:439
↓ 40 callersMethodis_hsm
(self)
crate/interfaces/src/object_handle.rs:37
↓ 40 callersFunctionretrieve_object_for_operation
Retrieve a single object for a given operation type or the Get operation if not found. When tags are provided, the function will return the first obj
crate/server/src/core/retrieve_object_utils.rs:32
↓ 39 callersMethodclear
Remove all object handles from the cache.
crate/hsm/base_hsm/src/slots.rs:127
↓ 39 callersFunctionmake_kms
Start a KMS with the enrollment endpoints configured, create the CA (owned by `default_username`) and delegate it to the enrollment service identity.
crate/server/src/tests/enrollment_tests.rs:125
↓ 39 callersMethodopen_session
Open a new session with the HSM slot. The session can be read-only or read-write, depending on the `read_write` parameter. # Arguments `read_write` -
crate/hsm/base_hsm/src/slots.rs:386
↓ 39 callersMethodto_bytes
Serialize the data to encrypt to bytes
crate/kmip/src/data_to_encrypt.rs:39
↓ 38 callersFunctioncloneDeep
(s,o={})
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 38 callersFunctiondeserialize
( deserializer: D, )
crate/kmip/src/ttlv/asn1_date_time.rs:68
↓ 38 callersMethodflush
Awaits until every event enqueued before this call has been written by the writer task (and, for the real `File` sink, `fsync`'d). Unlike `enqueue`, t
crate/server/src/core/audit/store.rs:348
↓ 38 callersMethodlast
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 38 callersMethodrun
# Errors Returns an error if the secret is empty or the server rejects the write.
crate/clients/clap/src/actions/kv.rs:110
↓ 37 callersFunctionclone
(o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 37 callersMethodextensions
(&self)
crate/server/src/core/operations/certify/subject.rs:111
↓ 37 callersFunctiontest_init
()
crate/clients/pkcs11/module/src/tests.rs:508
↓ 36 callersMethodquery
This operation is used by the client to interrogate the server to determine its capabilities and/or protocol mechanisms. The Query operation SHOULD be
crate/server/src/core/kms/kmip.rs:565
↓ 35 callersFunctionget_key_uid
( key_id: Option<&String>, tags: Option<&Vec<String>>, argument_name: &str, )
crate/clients/clap/src/actions/shared/get_key_uid.rs:5
↓ 35 callersMethodload
Load the configuration from a toml file. # Errors Return an error if the configuration file is not found or if the file is not a valid toml file.
crate/clients/ckms/src/config.rs:51
↓ 35 callersMethodvalues
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 34 callersMethodbuild
(self)
crate/clients/clap/src/actions/google/gmail_client/client_builder.rs:35
↓ 34 callersFunctionrsa_key
(bits: u32)
crate/server/src/tests/enrollment_tests.rs:249
↓ 34 callersFunctionsend_message
( kms: Arc<KMS>, owner: &str, operations: Vec<Operation>, )
crate/server/src/tests/hsm/mod.rs:486
↓ 33 callersMethodappend
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 33 callersMethodcreate
Create the given Object in the database. A new UUID will be created if none is supplier. This method will fail if an ` uid ` is supplied and an object
crate/server_database/src/core/database_objects.rs:208
↓ 33 callersFunctionextract_uid
Extract the `key_uid` (prefixed by a pattern) from a text
crate/clients/ckms/src/tests/utils/extract_uids.rs:4
↓ 33 callersMethodinsert
( &self, id: &str, key_type: KeyType, bits: usize, label: &str,
crate/server/src/tests/hsm/fake_hsm_rotation.rs:85
↓ 33 callersFunctionset_var
(key: &str, value: &Path)
crate/server/src/config/command_line/clap_config.rs:1109
↓ 33 callersFunctionw
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 32 callersFunctionget
(uri: &str, cookie: Option<&str>)
crate/server/src/routes/ui_auth.rs:1630
↓ 32 callersFunctionnow
()
crate/server/src/core/operations/auto_rotate.rs:410
↓ 32 callersMethodrun_with_writer
Run the export, writing output to the provided writer. For stdout call `run_with_writer(&mut std::io::stdout().lock())`. For tests pass `&mut Vec::ne
crate/clients/clap/src/actions/audit.rs:249
↓ 32 callersMethodwrite
(&mut self, buf: &[u8])
crate/server/src/socket_server.rs:434
↓ 31 callersFunctionhash
(body: Json<HashRequest>)
crate/server/src/routes/tokenize/mod.rs:55
↓ 31 callersFunctionparse
Parse ASN.1 `GeneralizedTime` or `UTCTime` as UTC.
crate/kmip/src/ttlv/asn1_date_time.rs:16
↓ 31 callersMethodupdate
Authenticate the next part of the message. # Errors Returns an error if OpenSSL fails.
crate/crypto/src/crypto/symmetric/mac.rs:80
↓ 31 callersFunctionuseAuth
()
ui/src/contexts/useAuth.ts:4
↓ 30 callersMethodfind
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 30 callersMethodget
(&self, endpoint: &str)
crate/clients/clap/src/actions/google/gmail_client/client_builder.rs:83
↓ 30 callersMethodoutput
(&self)
crate/crypto/src/crypto/fpe/ff1.rs:296
↓ 30 callersMethodpublic_key
(&self)
crate/server/src/core/operations/certify/subject.rs:94
↓ 30 callersMethodrevoke
This operation requests the server to revoke a Managed Cryptographic Object or an Opaque Object. The request contains a reason for the revocation (e.g
crate/server/src/core/kms/kmip.rs:791
↓ 29 callersFunctionassert_baseline
Assert common certificate properties: subject CN, issuer CN, validity, and serial number ≤ 20 bytes.
crate/test_kms_server/src/certify_tests.rs:115
↓ 29 callersFunctionaudit_url
Live audit database URL. Defaults to the repository's dedicated `docker-compose` `postgres-audit` service (see `.mise/lib/test_slots.sh`'s `KMS_AUDIT_
crate/server_database/src/stores/audit/pgsql.rs:993
↓ 29 callersFunctioncertify
(cli_conf_path: &str, certify_op: CertifyOp)
crate/clients/ckms/src/tests/certificates/certify.rs:66
↓ 29 callersMethodcleanup
(&self, client: &KmsClient)
crate/test_kms_server/src/certify_tests.rs:39
← previousnext →101–200 of 16,000, ranked by callers