Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Cosmian/kms
/ functions
Functions
12,829 in github.com/Cosmian/kms
⨍
Functions
12,829
◇
Types & classes
2,591
↓ 1 callers
Method
jwks_uri
(&self)
crate/server/src/config/command_line/auth_verifier_config.rs:133
↓ 1 callers
Function
jwt_authorization_config_application
Fetch the JWT authorization configuration for Google CSE 'drive' or 'meet'
crate/server/src/routes/google_cse/jwt.rs:90
↓ 1 callers
Function
kacls_client
Validates that a KACLS URL is safe to call and returns the HTTP client to call it with (SSRF mitigation): HTTPS only, no internal hostname, and no pri
crate/server/src/routes/google_cse/operations.rs:67
↓ 1 callers
Function
kem_decaps
(dk: &[u8], enc: &[u8])
crate/crypto/src/crypto/kem.rs:196
↓ 1 callers
Function
kem_encaps
(ek: &[u8])
crate/crypto/src/crypto/kem.rs:120
↓ 1 callers
Function
kem_encrypt_response
( uid: &str, request: &Encrypt, shared_secret: Zeroizing<Vec<u8>>, encapsulation: Zeroizing<Ve
crate/server/src/core/operations/encrypt.rs:724
↓ 1 callers
Function
kem_packed_part
Split the hex `Data` of a KEM `Encrypt` response, a serialized `(shared secret, encapsulation)` tuple, and return the hex of the requested part in the
crate/test_kms_server/src/vector_runner.rs:765
↓ 1 callers
Function
kem_params
()
crate/clients/clap/src/actions/bench/helpers.rs:286
↓ 1 callers
Function
key_block
(key_format_type: KeyFormatType, bytes: Vec<u8>)
crate/clients/client_utils/src/import_utils.rs:331
↓ 1 callers
Method
key_name
(&self)
crate/clients/cng/src/key.rs:241
↓ 1 callers
Method
key_size
(&self)
crate/clients/pkcs11/module/src/sessions.rs:1150
↓ 1 callers
Function
keygen_provider
Name of the provider whose key management generated `pkey`, or `None` for a legacy (non-provider) key such as those built from `Rsa::generate` / `EcKe
crate/crypto/tests/fips_rng_provider.rs:72
↓ 1 callers
Function
keywordData
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
kj
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
kk
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
kmip1_minor_version_introduced
Minimum KMIP 1.x *minor* version in which `attribute` is defined by the specification. A KMIP server SHALL NOT return an attribute that the client's
crate/server/src/routes/kmip/handlers.rs:693
↓ 1 callers
Function
kmipCreateAes256Request
Build a minimal KMIP 2.1 Create AES-256 TTLV-as-JSON request.
ui/tests/e2e/swagger.spec.ts:433
↓ 1 callers
Function
kmipQueryRequest
Build a minimal KMIP Query TTLV-as-JSON request for the given protocol version.
ui/tests/e2e/swagger.spec.ts:400
↓ 1 callers
Function
kmip_binary
Handle KMIP HTTP requests with binary content type
crate/server/src/routes/kmip/handlers.rs:318
↓ 1 callers
Function
kmip_hash_to_message_digest
(hash: KmipHash)
crate/crypto/src/crypto/rsa/verify.rs:20
↓ 1 callers
Function
kmip_json
Handle KMIP requests with JSON content type
crate/server/src/routes/kmip/handlers.rs:258
↓ 1 callers
Function
kmip_json_inner
Handle KMIP requests with JSON content type
crate/server/src/routes/kmip/handlers.rs:282
↓ 1 callers
Function
kmip_object_to_cek
Extract the raw key bytes from a cached [`Object::SymmetricKey`]. Returns `None` if the object is not a symmetric key or if the key material cannot b
crate/server/src/routes/jose/cek_cache.rs:96
↓ 1 callers
Function
kmip_objects_from_cc_master_keypair
( msk: &MasterSecretKey, mpk: &MasterPublicKey, mut msk_obj: Object, mut mpk_obj: Object, )
crate/crypto/src/crypto/cover_crypt/master_keys.rs:174
↓ 1 callers
Method
kms_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:147
↓ 1 callers
Function
kms_decrypt
( kms_rest_client: &KmsClient, decrypt_ctx: &DecryptContext, data: Vec<u8>, )
crate/clients/pkcs11/provider/src/kms_object.rs:858
↓ 1 callers
Function
kms_decrypt_async
( kms_rest_client: &KmsClient, decrypt_ctx: &DecryptContext, data: Vec<u8>, )
crate/clients/pkcs11/provider/src/kms_object.rs:866
↓ 1 callers
Function
kms_destroy_object
( kms_rest_client: &KmsClient, unique_identifier: &str, )
crate/clients/pkcs11/provider/src/kms_object.rs:736
↓ 1 callers
Function
kms_destroy_object_async
( kms_rest_client: &KmsClient, unique_identifier: &str, )
crate/clients/pkcs11/provider/src/kms_object.rs:743
↓ 1 callers
Function
kms_encrypt
( kms_rest_client: &KmsClient, encrypt_ctx: &EncryptContext, data: Vec<u8>, )
crate/clients/pkcs11/provider/src/kms_object.rs:759
↓ 1 callers
Function
kms_encrypt_message
Encrypt one PKCS#11 v3 AES-GCM message and preserve its detached artifacts.
crate/clients/pkcs11/provider/src/kms_object.rs:773
↓ 1 callers
Function
kms_generate_random
Fill `buf` with random bytes retrieved from the KMS (KMIP `RNGRetrieve`), splitting the request so that no single call exceeds the server limit.
crate/clients/pkcs11/provider/src/kms_object.rs:507
↓ 1 callers
Function
kms_generate_random_async
( kms_rest_client: &KmsClient, buf: &mut [u8], )
crate/clients/pkcs11/provider/src/kms_object.rs:511
↓ 1 callers
Function
kms_import_object
( kms_rest_client: &KmsClient, vendor_id: &str, label: &str, data: &[u8], )
crate/clients/pkcs11/provider/src/kms_object.rs:641
↓ 1 callers
Function
kms_import_object_async
( kms_rest_client: &KmsClient, vendor_id: &str, label: &str, data: &[u8], )
crate/clients/pkcs11/provider/src/kms_object.rs:655
↓ 1 callers
Function
kms_import_symmetric_key
( kms_rest_client: &KmsClient, vendor_id: &str, algorithm: KeyAlgorithm, key_length: usize,
crate/clients/pkcs11/provider/src/kms_object.rs:484
↓ 1 callers
Function
kms_import_symmetric_key_async
Creates a new KMS key. At first, the key is locally created and then imported to the KMS. There are 2 reasons why: - 1/ a key with `sensitive` flag ca
crate/clients/pkcs11/provider/src/kms_object.rs:538
↓ 1 callers
Function
kms_revoke_object
( kms_rest_client: &KmsClient, unique_identifier: &str, )
crate/clients/pkcs11/provider/src/kms_object.rs:710
↓ 1 callers
Function
kms_revoke_object_async
( kms_rest_client: &KmsClient, unique_identifier: &str, )
crate/clients/pkcs11/provider/src/kms_object.rs:717
↓ 1 callers
Function
kms_sign
( kms_rest_client: &KmsClient, unique_identifier: &str, algorithm: &SignatureAlgorithm, data:
crate/clients/pkcs11/provider/src/kms_object.rs:942
↓ 1 callers
Function
kms_sign_async
( kms_rest_client: &KmsClient, unique_identifier: &str, algorithm: &SignatureAlgorithm, data:
crate/clients/pkcs11/provider/src/kms_object.rs:1329
↓ 1 callers
Function
kms_verify
( kms_rest_client: &KmsClient, unique_identifier: &str, algorithm: &SignatureAlgorithm, data:
crate/clients/pkcs11/provider/src/kms_object.rs:1381
↓ 1 callers
Function
kms_verify_async
Verifies `signature` over `data` for the public key `unique_identifier`, via a KMIP `SignatureVerify` round trip. Reuses `signature_algorithm_to_kmip_
crate/clients/pkcs11/provider/src/kms_object.rs:1403
↓ 1 callers
Function
kryoptic_pkcs11_lib_path
()
crate/hsm/kryoptic/src/tests.rs:138
↓ 1 callers
Method
latest
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Method
latest_generation
Returns the generation this instance should resume writing into: the `kms_audit_control` row's authoritative pointer if one exists, or — first ever bo
crate/server_database/src/stores/audit/pgsql.rs:513
↓ 1 callers
Function
latin1Slice
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
leaf_ext
Leaf extension with a CDP pointing to the issuing CA's CRL fixture.
crate/server/src/tests/test_validate.rs:1281
↓ 1 callers
Function
legacy_defineProperties
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
lib_isFunction
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
lib_normalizeArray
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
lifecycle
(alg: Alg)
crate/server/src/tests/hsm/hybrid_kem_dek.rs:365
↓ 1 callers
Function
linked_public_key
The public key linked to `private_key`, retrieved with the caller's `Certify` rights. HSM objects carry no KMIP links: the public key of an HSM priva
crate/server/src/core/operations/certify/resolve_subject.rs:86
↓ 1 callers
Function
linkifyFileCells
(content)
documentation/docs/javascripts/log_filter.js:215
↓ 1 callers
Method
list_access
This operation requests the server to list all the granted access on a object
crate/clients/client/src/kms_rest_client.rs:761
↓ 1 callers
Method
list_access_rights_obtained
Get all the access rights granted to a given user Excludes objects owned by `user`: the owner already has full, implicit access to their own objects,
crate/server/src/core/kms/permissions.rs:226
↓ 1 callers
Method
list_access_rights_obtained
This operation requests the server to list all the object for which access rights have been obtained for the current user.
crate/clients/client/src/kms_rest_client.rs:774
↓ 1 callers
Method
list_accesses
Get all the access granted for a given object per user
crate/server/src/core/kms/permissions.rs:177
↓ 1 callers
Function
list_accesses_
( uid: &str, pool: &Pool, )
crate/server_database/src/stores/sql/mysql.rs:1441
↓ 1 callers
Method
list_crl_issuers
(&self)
crate/server_database/src/stores/sql/sqlite.rs:1479
↓ 1 callers
Method
list_ec_objects
(&self, class: Option<CK_OBJECT_CLASS>)
crate/hsm/base_hsm/src/session/session_impl.rs:757
↓ 1 callers
Function
list_keys
(kms_rest_client: cosmian_kms_client::KmsClient)
crate/clients/clap/src/actions/cng.rs:137
↓ 1 callers
Function
list_owned_objects
List objects owned by the user
crate/clients/ckms/src/tests/access.rs:139
↓ 1 callers
Method
list_owned_objects
This operation requests the server to list all the objects owned by the current user. i.e. the objects for which the user has full access
crate/clients/client/src/kms_rest_client.rs:768
↓ 1 callers
Method
list_uids_for_tags
(&self, tags: &HashSet<String>)
crate/interfaces/src/hsm/hsm_store.rs:432
↓ 1 callers
Function
list_uids_for_tags_
( tags: &HashSet<String>, pool: &Pool, )
crate/server_database/src/stores/sql/mysql.rs:1419
↓ 1 callers
Function
list_user_granted_access_rights_
( user: &str, pool: &Pool, )
crate/server_database/src/stores/sql/mysql.rs:1471
↓ 1 callers
Function
lj
(s,o,i,u,_)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
loadBranding
(options?: { url?: string; cacheBust?: boolean })
ui/src/utils/branding.ts:93
↓ 1 callers
Function
loadDocuments
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
loadWasm
()
ui/src/App.tsx:508
↓ 1 callers
Function
load_ca_signing_material
Load the CA certificate and its (unwrapped) private key.
crate/server/src/routes/enrollment.rs:273
↓ 1 callers
Method
load_ceremony_record
Retrieve the sealed ceremony record from Redis, returning `None` if absent or revoked.
crate/server_database/src/stores/redis/redis_with_findex.rs:842
↓ 1 callers
Method
load_find_context_by_class
( &mut self, attributes: &Attributes, search_class: CK_OBJECT_CLASS, )
crate/clients/pkcs11/module/src/sessions.rs:338
↓ 1 callers
Function
load_or_generate_tls
(config: &WebhookConfig)
crate/clients/k8s/operator/src/webhook.rs:273
↓ 1 callers
Function
load_p12
(disk_encryption_tag: &str)
crate/clients/pkcs11/provider/src/tests.rs:157
↓ 1 callers
Function
load_percentile
(sorted: &[f64], p: f64)
crate/clients/clap/src/actions/bench/load.rs:237
↓ 1 callers
Function
local_resource_key_hash
For digest test: local HMAC-SHA256 compute mirroring server logic
crate/clients/clap/src/tests/google_cmd/using_hsm.rs:96
↓ 1 callers
Function
locate_by_name
KMIP 1.2 Locate by Name. Returns the list of matching UIDs.
crate/server/src/tests/ttlv_tests/integrations/synology_dsm.rs:211
↓ 1 callers
Function
locate_by_tag
(kms: &KMS, owner: &UserId, tag: &str)
crate/server/src/tests/configurable_kem_tests.rs:238
↓ 1 callers
Function
locate_kms_objects_async
( kms_rest_client: &KmsClient, vendor_id: &str, tags: &[String], )
crate/clients/pkcs11/provider/src/kms_object.rs:169
↓ 1 callers
Function
locate_public_key_by_name
Locate the **public** key UUID by its CNG key name. Same as `locate_key_by_name` but filters on `ObjectType::PublicKey`.
crate/clients/cng/src/backend.rs:123
↓ 1 callers
Function
locate_symmetric_key
(client: &SocketClient)
crate/server/src/tests/ttlv_tests/integrations/postgres.rs:113
↓ 1 callers
Function
locate_symmetric_keys
( client: &SocketClient, name: Option<&str>, expected_key_uids: &[&str], unexpected_key_uids:
crate/server/src/tests/ttlv_tests/locate_1_4.rs:164
↓ 1 callers
Function
locate_symmetric_keys
( client: &SocketClient, name: Option<&str>, expected_key_uids: &[&str], unexpected_key_uids:
crate/server/src/tests/ttlv_tests/locate_2_1.rs:43
↓ 1 callers
Function
locate_ttlv_request
( tags: Option<Vec<String>>, cryptographic_algorithm: Option<String>, cryptographic_length: Option
crate/clients/wasm/src/wasm.rs:745
↓ 1 callers
Function
locate_with_template_attribute
Sends a KMIP 1.0/1.1-style Locate request where the Name filter is wrapped in a `TemplateAttribute` structure (as `FortiGate` 40F does) and asserts th
crate/server/src/tests/ttlv_tests/locate_1_4.rs:84
↓ 1 callers
Method
locked_for_at
(&self, client: IpAddr, now: Instant)
crate/server/src/routes/enrollment_guard.rs:94
↓ 1 callers
Function
log_insert
Insert the real UID into the map if it's new; log mapping with namespaced placeholder
crate/clients/clap/src/tests/xml/expected_response.rs:880
↓ 1 callers
Function
log_insert_text
(test_name: &str, uid_map: &mut HashMap<usize, String>, uid: &str)
crate/clients/clap/src/tests/xml/expected_response.rs:893
↓ 1 callers
Function
log_safe
Make an attacker-controlled string safe to log: control characters (log forging) are replaced and the length is bounded.
crate/server/src/routes/enrollment.rs:113
↓ 1 callers
Function
log_to_file
( log_name: &str, level: Level, log_home: &PathBuf, )
crate/clients/pkcs11/provider/src/logging.rs:64
↓ 1 callers
Function
login
()
ui/src/contexts/AuthContext.tsx:8
↓ 1 callers
Function
login
( session: Session, oidc_runtime: web::Data<OidcRuntimeConfig>, kms_url: web::Data<String>, km
crate/server/src/routes/ui_auth.rs:42
↓ 1 callers
Function
loginAuthVerifier
( serverUrl: string, username: string, password: string, totpCode?: string, )
ui/src/utils/utils.ts:127
↓ 1 callers
Function
loginViaOidc
Perform a full login and wait until the app is authenticated.
ui/tests/e2e-oidc/oidc-login.spec.ts:48
↓ 1 callers
Function
logout
()
ui/src/contexts/AuthContext.tsx:17
↓ 1 callers
Function
logout
( req: HttpRequest, session: Session, oidc_runtime: web::Data<OidcRuntimeConfig>, auth_verifie
crate/server/src/routes/ui_auth.rs:684
↓ 1 callers
Function
lolcation
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
look_up_cert_status
Look up OCSP certificate status from KMS object state. Status mapping per RFC 6960 §2.2: | KMS State | OCSP status | |---|---| | `Active` / `PreActi
crate/server/src/routes/ocsp/handler.rs:463
← previous
next →
4,601–4,700 of 12,829, ranked by callers