new openpgp_packet_literaldata()
- Source:
- packet/openpgp.packet.literaldata.js, line 25
Methods
-
<inner> read_packet(input, position, len) → {openpgp_packet_encrypteddata}
-
Parsing function for a literal data packet (tag 11).
Parameters:
Name Type Description input
String Payload of a tag 11 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:
- packet/openpgp.packet.literaldata.js, line 39
Returns:
object representation -
<inner> toString() → {String}
-
Generates debug output (pretty print)
- Source:
- packet/openpgp.packet.literaldata.js, line 87
Returns:
String which gives some information about the keymaterial- Type
- String
-
<inner> write_packet(data) → {String}
-
Creates a string representation of the packet
Parameters:
Name Type Description data
String The data to be inserted as body - Source:
- packet/openpgp.packet.literaldata.js, line 59
Returns:
string-representation of the packet- Type
- String