Crate ironcore_alloy

Crate ironcore_alloy 

Source

Modules§

deterministic
errors
saas_shield
standalone
standard
standard_attached
vector

Macros§

create_batch_result_struct
Creates a batch result struct named after the first parameter. Uses the second parameter as the success type. Uses the third parameter as the key type for the HashMaps. The type will be a uniffi Record and it will have a From impl for BatchResult.
create_batch_result_struct_using_newtype
Creates a batch result struct named after the first parameter. The second parameter is the success type. Uses the third parameter as the key type for the failure HashMap. The fourth parameter is a newtype conaining a Map<KeyType, SuccessType>. The type will be a uniffi Record and it will have a From impl for BatchResult.

Structs§

AlloyMetadata
Holds metadata fields as part of an SDK call. Each encrypted value will have metadata that associates it to a tenant ID as well as optional fields for other arbitrary key/value pairs and a request ID to send to the Tenant Security Proxy. Only the tenant ID will be used in Standalone SDKs, which can be created easily with new_simple().
DerivationPath
DocumentId
EncryptedBytes
FieldId
PlaintextBytes
SaasShield
Secret
SecretPath
Standalone
TenantId

Functions§

base85_prefix_padding
Applies the padding required for base85 algorithms to produce consistent string when the bytes are encoded. If you’re using a base85 encoding algorithm other than the directly supported z85, see our tests in util.rs for examples.
encode_prefix_z85
Encode a set of prefix bytes to the appropriate z85 encoded string. This means padding the prefix using base85_prefix_padding and truncating the string to be 7 characters instead of the 10 that’s returned.