<PackageReference Include="BouncyCastle.Cryptography" Version="2.2.1" />

PgpLiteralData

public class PgpLiteralData : PgpObject
Class for processing literal data objects.
public const char Binary = 'b'

public const string Console = "_CONSOLE"

The special name indicating a "for your eyes only" packet.

public const char Text = 't'

public const char Utf8 = 'u'

public string FileName { get; }

The file name that's associated with the data stream.

public int Format { get; }

The format of the data stream - Binary or Text

public DateTime ModificationTime { get; }

The modification time for the file.

public PgpLiteralData(BcpgInputStream bcpgInput)

The input stream representing the data stream.

The raw input stream for the data stream.

public byte[] GetRawFileName()