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
↓ 2 callers
Method
minimum_plaintext_length
(&self)
crate/crypto/src/crypto/fpe/alphabet.rs:187
↓ 2 callers
Function
missing_mac_data
()
crate/server/src/core/operations/mac.rs:383
↓ 2 callers
Function
mock_auth_verifier
One-shot HTTP server on a loopback port: answers the first request with `status_line` and the Auth Verifier "authenticated" JSON body plus the `_ea_`
crate/clients/pkcs11/provider/src/pin_tests.rs:19
↓ 2 callers
Function
mod_ext
Shared-library extension of the target (not the build host) OS.
crate/crypto/build.rs:42
↓ 2 callers
Function
modify_attribute
KMIP 2.1 `ModifyAttribute` operation. Modifies or sets a single attribute on an existing managed object, enforcing all KMIP lifecycle rules: - Read-
crate/server/src/core/operations/attributes/modify.rs:97
↓ 2 callers
Function
modify_attribute_ttlv_request
( unique_identifier: String, attribute_name: &str, attribute_value: String, )
crate/clients/wasm/src/wasm.rs:2764
↓ 2 callers
Function
module_helpers_hasOwnProperty
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
mount_endpoint
`/<mount>/<kind>/<path>`; an empty `path` addresses the mount root (listing).
crate/clients/clap/src/actions/kv.rs:308
↓ 2 callers
Function
ms
(us: u64)
crate/clients/clap/src/actions/bench/cek_switch.rs:184
↓ 2 callers
Function
msvcrt_putenv
(assignment: &'static std::ffi::CStr)
crate/hsm/base_hsm/src/hsm_lib.rs:813
↓ 2 callers
Function
mtime_stamp
Modification time of `path` as a string, used to identify one exact build of the binary.
crate/clients/ckms/src/tests/ensure_binary.rs:54
↓ 2 callers
Function
mtls_mysql_url
()
crate/server_database/src/stores/sql/mysql.rs:2540
↓ 2 callers
Function
mutate_handler
( State(state): State<Arc<WebhookState>>, Json(body): Json<AdmissionReview>, )
crate/clients/k8s/operator/src/webhook.rs:107
↓ 2 callers
Function
name
(cn: &str)
crate/server/src/core/certificate/oracle_signing.rs:547
↓ 2 callers
Function
name
(value: &str)
crate/server/src/tests/ekm_provider.rs:33
↓ 2 callers
Method
namespace
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
ne
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
needFinish
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
needIndentIndicator
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
nested_structures_bytes
--------------------------------------------------------------------------- Helper: build `depth` nested Structures in TTLV binary format, each wrappi
crate/clients/clap/src/tests/serialization/wire_payloads.rs:52
↓ 2 callers
Function
new_stream
(owner: StreamOwner<'_>, created: Instant, state: S)
crate/server/src/core/operations/key_ops/multi_part.rs:450
↓ 2 callers
Function
nid_by_name
The NID of an `OpenSSL` object name, or [`Nid::UNDEF`] when this build does not know it.
crate/server/src/core/operations/algorithm_policy.rs:190
↓ 2 callers
Function
nid_from_crv
Map a JOSE `crv` string to an OpenSSL NID.
crate/server/src/routes/jose/keys.rs:1346
↓ 2 callers
Function
normalizeKeyFormatType
(s: string)
ui/src/components/common/Locate.tsx:204
↓ 2 callers
Function
normalizeLink
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
normalizeReference
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
normalizeState
(s?: string)
ui/src/components/common/Locate.tsx:107
↓ 2 callers
Function
normalize_uri_component
RFC 3986 encoding of a path segment or query element: unreserved characters stay literal, existing escapes are decoded then re-encoded with uppercase
crate/server/src/routes/aws_xks/sigv4.rs:288
↓ 2 callers
Function
not_supported
()
crate/server/src/tests/hsm/fake_hsm_rotation.rs:136
↓ 2 callers
Function
now
()
crate/server/src/middlewares/jwt/jwt_token_auth.rs:690
↓ 2 callers
Method
num_radix
(&self, radix: u32)
crate/crypto/src/crypto/fpe/ff1.rs:590
↓ 2 callers
Method
numeral_count
(&self)
crate/crypto/src/crypto/fpe/ff1.rs:575
↓ 2 callers
Function
objReduce
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
object_to_jwk
Convert a KMIP `PublicKey` object to a JWK, serialized as raw JSON. Returns `Ok(None)` for key types not representable in RFC 7517 (e.g., Ed448, whic
crate/server/src/routes/jwks.rs:194
↓ 2 callers
Method
object_upsert
( &self, uid: &str, redis_db_object: &RedisDbObject, )
crate/server_database/src/stores/redis/objects_db.rs:293
↓ 2 callers
Function
ocsp_resign
(ca_key: &PKey<Private>)
crate/server/src/core/certificate/oracle_signing.rs:684
↓ 2 callers
Function
od
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
oh
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
oid_der
(oid: &Asn1Object)
crate/server/src/routes/est/csrattrs.rs:25
↓ 2 callers
Function
oid_nid
The NID of an `OBJECT IDENTIFIER` element.
crate/crypto/src/openssl/scep_cms.rs:279
↓ 2 callers
Function
oid_string
The dotted-decimal string of a NID's OID, e.g. `Nid::SERVER_AUTH` -> `1.3.6.1.5.5.7.3.1`.
crate/crypto/src/openssl/oid.rs:30
↓ 2 callers
Function
older_database_error
(recorded: &str, minimum: &str)
crate/server_database/src/stores/migrate.rs:126
↓ 2 callers
Function
one_of_each
()
crate/kmip/src/kmip_0/kmip_types.rs:1387
↓ 2 callers
Function
one_shot_server
Spawn a one-shot HTTP server that answers the first request with `response` (raw HTTP).
crate/server/src/core/operations/validate.rs:1504
↓ 2 callers
Function
op_decrypt
Helper to decrypt data (Operator operation)
crate/clients/ckms/src/tests/rbac_tests.rs:59
↓ 2 callers
Method
open
Inverse of [`Self::seal`].
crate/server_database/src/stores/redis/objects_db.rs:202
↓ 2 callers
Function
openKv
(page: Page)
ui/tests/e2e/kv-secrets-flow.spec.ts:26
↓ 2 callers
Function
openTab
(page: Page, key: "put" | "get" | "list" | "delete")
ui/tests/e2e/kv-secrets-flow.spec.ts:31
↓ 2 callers
Function
open_owner_only
(path: &Path)
crate/server_database/src/stores/sql/sqlite.rs:53
↓ 2 callers
Method
open_session_
(&self, read_write: bool, login_password: Option<&str>)
crate/hsm/base_hsm/src/slots.rs:442
↓ 2 callers
Function
openapi_path_templating_es_resolve
(s,o,i={})
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
openapi_server_url_templating_es_parse
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
openpgp_decrypt_bounded
( armored_secret: &[u8], message: &[u8], max_plaintext_len: u64, )
crate/crypto/src/crypto/openpgp/mod.rs:744
↓ 2 callers
Function
openpgp_key_to_binary
(input: &[u8])
crate/clients/client_utils/src/export_utils.rs:161
↓ 2 callers
Function
openssl_certificate_to_kmip
Generate a KMIP certificate from an OpenSSL certificate
crate/crypto/src/openssl/certificate.rs:19
↓ 2 callers
Function
openssl_padding
Whether OpenSSL must pad (ECB/CBC only); other padding methods are unsupported.
crate/server/src/core/operations/encrypt.rs:745
↓ 2 callers
Function
openssl_private_key_to_kmip_default_format
( key: &PKey<Private>, cryptographic_usage_mask: Option<CryptographicUsageMask>, )
crate/server/src/core/operations/export_get.rs:1171
↓ 2 callers
Function
openssl_public_key_to_kmip_default_format
( key: &PKey<Public>, cryptographic_usage_mask: Option<CryptographicUsageMask>, )
crate/server/src/core/operations/export_get.rs:1194
↓ 2 callers
Function
openssl_rsa_private_key
OpenSSL key for an unlocked `OpenPGP` RSA key packet; `None` for other algorithms. Every RSA private-key operation goes through OpenSSL (blinded, con
crate/crypto/src/crypto/openpgp/mod.rs:140
↓ 2 callers
Function
options_httpClient
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
os
(s: &str)
crate/clients/ckms/src/tests/audit.rs:100
↓ 2 callers
Method
overlaps
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
ownKeys
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Method
owner_name
Returns the name to use as the owner of HSM objects. Picks the first non-wildcard admin, falling back to `"admin"`.
crate/interfaces/src/hsm/hsm_store.rs:150
↓ 2 callers
Function
owner_reference
(uid: &str)
crate/clients/k8s/operator/src/controller.rs:629
↓ 2 callers
Function
pack_kem_encapsulation
Pack a KEM result as the `Data` of a KMIP `Encrypt` response: the serialized `(shared secret, encapsulation)` tuple. The encapsulation is a KEM cipher
crate/crypto/src/crypto/pqc/mod.rs:43
↓ 2 callers
Function
pack_wrapped
Wrapped-key bytes as stored and as oracle `decrypt` expects them: `[iv ‖ ciphertext ‖ tag]` (AES-KW/KWP and RSA have neither iv nor tag).
crate/server/src/core/wrapping/wrap.rs:363
↓ 2 callers
Function
packet_header
Parse an `OpenPGP` packet header at the start of `data`. Returns `(tag, header_len, body_len)`, or `None` for partial/indeterminate lengths.
crate/clients/client_utils/src/openpgp_format.rs:108
↓ 2 callers
Function
paramToValue
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
parameterWithMetaByIdentity
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
parseLinkDestination
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
parseLinkTitle
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
parse_all_xml_vectors_with_skip
Same as [`parse_all_xml_vectors`] but allows skipping specific filenames. `skip_files` contains basenames (e.g. `"SASED-M-2-13.xml"`) to exclude from
crate/kmip/src/ttlv/xml/tests/common.rs:69
↓ 2 callers
Function
parse_ciphertext
Parse `vault:v{version}:{base64(nonce || ct || tag)}`.
crate/server/src/routes/spire/transit_encryption.rs:153
↓ 2 callers
Function
parse_decrypt_elements
( cryptographic_parameters: &CryptographicParameters, mut ciphertext: Vec<u8>, )
crate/clients/client_utils/src/symmetric_utils.rs:141
↓ 2 callers
Function
parse_get_attributes_ttlv_response
( response: &str, selected_attributes: Vec<String>, )
crate/clients/wasm/src/wasm.rs:2700
↓ 2 callers
Function
parse_kek_wrapping_algorithm
Parse `key_encryption_key_wrapping_algorithm` (TOML values bypass clap's `value_parser`).
crate/server/src/config/params/server_params.rs:1459
↓ 2 callers
Function
parse_message_ttlvs
(xml: &str)
crate/kmip/src/ttlv/xml/parser.rs:197
↓ 2 callers
Function
parse_propquery
Convert an optional string slice propquery to an optional `CString`.
crate/crypto/src/crypto/pqc/mod.rs:204
↓ 2 callers
Function
parse_response_body
Parse a response body as JSON; non-JSON error bodies become a synthetic error response.
crate/test_kms_server/src/vector_runner.rs:526
↓ 2 callers
Function
parse_secret_or_public_strict
( input: &[u8], )
crate/clients/client_utils/src/openpgp_format.rs:59
↓ 2 callers
Function
parse_sigv4_timestamp
Parses a `SigV4` timestamp (`YYYYMMDD'T'HHMMSS'Z'`, always UTC).
crate/server/src/routes/aws_xks/sigv4.rs:34
↓ 2 callers
Function
parse_utf8
(data: &'a [u8], field: &str)
crate/crypto/src/crypto/fpe/kmip_fpe.rs:102
↓ 2 callers
Function
parse_v3_ca
( conf: &Ini, x509_context: &X509v3Context, )
crate/crypto/src/openssl/x509_extensions.rs:66
↓ 2 callers
Function
part_data
Data of a part: required for single-part requests (KMIP 2.1 §6.1), optional otherwise.
crate/server/src/core/operations/mac.rs:372
↓ 2 callers
Method
patch
( &self, endpoint: &str, content: String, )
crate/clients/clap/src/actions/google/gmail_client/client_builder.rs:108
↓ 2 callers
Function
patch_status
Update the `KMSSecret` status subresource.
crate/clients/k8s/operator/src/controller.rs:325
↓ 2 callers
Function
path_metadata_uid
UID of the metadata object of generation `generation` of `path`: HMAC-SHA256 under the server key, truncated to a UUID. Concurrent first writes conve
crate/server/src/routes/kv/metadata.rs:181
↓ 2 callers
Function
path_to_file_uri
Convert a filesystem path to a valid `file://` URI suitable for use in X.509 certificate extensions (`crlDistributionPoints`, etc.). The standard for
crate/test_kms_server/src/vector_runner.rs:1417
↓ 2 callers
Function
path_to_file_uri
(path: &Path)
crate/clients/ckms/src/tests/certificates/certify.rs:253
↓ 2 callers
Function
path_to_string
(p: &Path)
crate/test_kms_server/src/test_server.rs:164
↓ 2 callers
Method
paths
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
pattern
(len: usize)
crate/clients/clap/src/actions/symmetric/decrypt.rs:421
↓ 2 callers
Function
persist_tags
Persist `new_all_tags` (the complete set, including system tags) to the DB. Requires the full `Object` struct that `update_object` needs. We fetch i
crate/server/src/routes/jose/tags.rs:154
↓ 2 callers
Function
pf
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
pg_tls_policy
`(mode for tokio-postgres, verify chain, verify hostname)` implied by the URL's `sslmode`.
crate/server_database/src/stores/sql/pgsql.rs:114
↓ 2 callers
Function
pgp_key_create_request
Build a `Create` request for an `OpenPGP` key (`ObjectType::PGPKey`). `algorithm` must be `CryptographicAlgorithm::RSA` or `CryptographicAlgorithm::E
crate/kmip/src/kmip_2_1/requests/create.rs:324
↓ 2 callers
Function
pin_to_access_token
Turn the `C_Login` PIN into the bearer token sent to the KMS. A PIN without `:` is already a token (OIDC/JWT) and is used as is. A PIN `<user>:<passw
crate/clients/pkcs11/provider/src/lib.rs:38
↓ 2 callers
Function
pkcs11
PKCS#11 operation implementation This operation enables the server to perform a PKCS#11 operation following the KMIP 2.1 specification (section 6.1.3
crate/server/src/core/operations/pkcs11.rs:37
↓ 2 callers
Method
pkcs8_der_bytes
(&self)
crate/clients/pkcs11/module/src/tests.rs:1676
← previous
next →
3,601–3,700 of 16,000, ranked by callers