blob: 4dc4b5a83a506a206df8ac030560c99cc7b8483b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
using System.IO;
namespace Org.BouncyCastle.Bcpg
{
/// <remarks>Basic type for a marker packet.</remarks>
public class MarkerPacket
: ContainedPacket
{
// "PGP"
byte[] marker = { (byte)0x50, (byte)0x47, (byte)0x50 };
public MarkerPacket(
BcpgInputStream bcpgIn)
{
bcpgIn.ReadFully(marker);
}
public override void Encode(
BcpgOutputStream bcpgOut)
{
bcpgOut.WritePacket(PacketTag.Marker, marker, true);
}
}
}
|