Skip to content

EncryptRequestData

Base interface for encryption requests.

Properties

data

data: Uint8Array

Data to be encrypted.

Source

types/src/CryptoCallbacks.ts:67


did

did: did:cord:3${string}

The DID to be used for encryption.

Source

types/src/CryptoCallbacks.ts:75


peerPublicKey

peerPublicKey: Uint8Array

The other party’s public key to be used for x25519 Diffie-Hellman key agreement.

Source

types/src/CryptoCallbacks.ts:71