Skip to main content

Crate cosmian_kmip

Crate cosmian_kmip 

Source

Modules§

kmip_0
Messages and types common to all KMIP versions.
kmip_1_4
kmip_2_1
ttlv

Macros§

kmip_2_1_bail
Return early with an error if a condition is not satisfied.
kmip_2_1_ensure
Return early with an error if a condition is not satisfied.
kmip_2_1_error
Construct a server error from a string.

Structs§

DataToEncrypt
Structure used to encrypt with Covercrypt or ECIES
Deserializer
SafeBigInt
Holds a big integer secret information. Wraps around BigInt type which is essentially a pointer on the heap. Guarantees to be zeroized on drop with feature zeroize enabled from num_bigint_dig crate.
Serializer

Enums§

KmipError

Traits§

KmipResultHelper

Functions§

pad_be_bytes
test_serialization
Test that for the given value, the following holds:
time_normalize
Returns the current UTC time with milliseconds set to zero.
to_leb128_len
Computes the length of the LEB128 serialization of the given usize.