iya-sts
    Preparing search index...

    Variable openpgpEncrypt

    openpgpEncrypt: (bytes: any, armoredKey: any, at: any) => Promise<string> = openpgpEncrypt

    Type Declaration

      • (bytes: any, armoredKey: any, at: any): Promise<string>
      • Encrypts bytes to a stored OpenPGP key's encryption key, armored (RFC 3156's encrypted part). Throws when the key no longer reads or has no encryption key valid now; the caller records its own code.

        Parameters

        • bytes: any

          the content

        • armoredKey: any

          the stored key

        • at: any

          the instant the key is judged at (a Date)

        Returns Promise<string>

        the armored OpenPGP message