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
bcpgInputBcpgInputStream
Fields
Binary
public const char Binary = 'b'
Field Value
Console
The special name indicating a "for your eyes only" packet.
public const string Console = "_CONSOLE"
Field Value
Text
public const char Text = 't'
Field Value
Utf8
public const char Utf8 = 'u'
Field Value
Properties
FileName
The file name that's associated with the data stream.
public string FileName { get; }
Property Value
Format
The format of the data stream - Binary or Text
public int Format { get; }
Property Value
ModificationTime
The modification time for the file.
public DateTime ModificationTime { get; }
Property Value
Methods
GetDataStream()
The input stream representing the data stream.
public Stream GetDataStream()
Returns
GetInputStream()
The raw input stream for the data stream.
public Stream GetInputStream()
Returns
GetRawFileName()
public byte[] GetRawFileName()
Returns
- byte[]