Skip to content

Latest commit

 

History

History
58 lines (32 loc) · 1.39 KB

Stanza.md

File metadata and controls

58 lines (32 loc) · 1.39 KB

age-encryption


age-encryption / Stanza

Class: Stanza

Defined in: format.ts:7

A stanza is a section of an age header. This is part of the low-level Recipient and Identity APIs.

Constructors

new Stanza()

new Stanza(args, body): Stanza

Defined in: format.ts:21

Parameters

args

string[]

body

Uint8Array

Returns

Stanza

Properties

args

readonly args: string[]

Defined in: format.ts:14

All space-separated arguments on the first line of the stanza. Each argument is a string that does not contain spaces. The first argument is often a recipient type, which should look like example.com/... to avoid collisions.


body

readonly body: Uint8Array

Defined in: format.ts:19

The raw body of the stanza. This is automatically base64-encoded and split into lines of 48 characters each.