Interface DocV1Output

An output definition as would be passed via createTransaction

Hierarchy

  • DocV1Output

Properties

type: "doc"
data: Uint8Array

The raw original data

signers: JWK[]

Array of JWK (private keys)

options: {
    meta: any;
    filename: string;
    mimetype: string;
}

Optional data to include

Type declaration

  • meta: any

    Any additional metadata

  • filename: string

    A filename

  • mimetype: string

    A mimetype

receivers?: string[] | JWK[]

Optional array of JWK (public keys) or hexadecimal public keys (compressed or uncompressed) To encrypto to additional third parties

iterations?: number

How many PBKDF2 iterations to do (default 200000)

Generated using TypeDoc