Skip to content

EncryptRequest

Purpose

An EncryptRequest instructs an encryption engine to encrypt data to a particular external identity, possibly using known reads-for relationships.

Type

Record with fields:

  • data: []byte

Data which to encrypt

External identity to encrypt to

  • useReadsFor: boolean

Whether or not to use known reads-for relationships