Structs

Object with base64 encoded value

Decrypted message format without dynamic body

Communication keypair with the complete information to encrypt and decrypt a message from a specific comm partner. Each key is saved as hex encoded u8 array. Please checkout vade_didcomm.rs and did_exchange/request.rs for reference implementations.

Communication DIDComm object that will be sent to the target user during DID exchange.

Data contains optional field which have to filled as per attached data requirement (json/base64) as per protocol

Optional parameter that can be passed to vade DIDComm functions to enforce a specific encryption key

Struct for a pub key that will be sent during DID exchange with the users communication DID document.

Struct for a service definition that will be sent during DID exchange with the users communication DID document.

did_doc~attach attachment for body field

Message format, when a message was encrypted with DIDComm rs.

Generated KeyPair for encryption

Either a computed shared secret or a (local) private key plus a contacts public key

Necessary information for a valid DID exchange request / response extracted from an DIDComm message

Decrypted message format without dynamic body

Basically a set of a to and a from DID

Decrypted messaged with dynamic body struct

Base message with only the type (used for protocol handling to analyze only the message type)

Output of a protocol step. Specifies, if a message should be encrypted. Metadata is generic stringified json, that contains protocol step specific information.

Either a computed shared secret or a (local) private key plus a contacts public key

Output of didcomm_receive.

Output of didcomm_send.

Enums

Specifies all possible message directions.

Traits