Table of Contents

Class PgpLiteralData

Namespace
Org.BouncyCastle.Bcpg.OpenPgp
Assembly
BouncyCastle.Cryptography.dll

Class for processing literal data objects.

public class PgpLiteralData : PgpObject
Inheritance
PgpLiteralData
Inherited Members

Constructors

PgpLiteralData(BcpgInputStream)

public PgpLiteralData(BcpgInputStream bcpgInput)

Parameters

bcpgInput BcpgInputStream

Fields

Binary

public const char Binary = 'b'

Field Value

char

Console

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

public const string Console = "_CONSOLE"

Field Value

string

Text

public const char Text = 't'

Field Value

char

Utf8

public const char Utf8 = 'u'

Field Value

char

Properties

FileName

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

public string FileName { get; }

Property Value

string

Format

The format of the data stream - Binary or Text

public int Format { get; }

Property Value

int

ModificationTime

The modification time for the file.

public DateTime ModificationTime { get; }

Property Value

DateTime

Methods

GetDataStream()

The input stream representing the data stream.

public Stream GetDataStream()

Returns

Stream

GetInputStream()

The raw input stream for the data stream.

public Stream GetInputStream()

Returns

Stream

GetRawFileName()

public byte[] GetRawFileName()

Returns

byte[]