Class: openpgp_packet_marker

openpgp_packet_marker

Implementation of the strange "Marker packet" (Tag 10) RFC4880 5.8: An experimental version of PGP used this packet as the Literal packet, but no released version of PGP generated Literal packets with this tag. With PGP 5.x, this packet has been reassigned and is reserved for use as the Marker packet. Such a packet MUST be ignored when received.

new openpgp_packet_marker

Source:
  • openpgp.js, line 148

Methods

<inner> read_packet

parsing function for a literal data packet (tag 10).
Parameters:
Name Type Description
input string payload of a tag 10 packet
position integer position to start reading from the input string
len integer length of the packet or the remaining length of input at position
Source:
  • openpgp.js, line 161
Returns:
object representation
Type
openpgp_packet_encrypteddata

<inner> toString

Generates Debug output
Source:
  • openpgp.js, line 176
Returns:
String which gives some information about the keymaterial
Type
string