Top Description Fields Constructors Methods
org.bouncycastle.bcpg

public Class TrustPacket

extends ContainedPacket
Class Inheritance
Imports
java.io.ByteArrayOutputStream, .IOException

Basic type for a trust packet

Field Summary

Modifier and TypeField and Description
pack-priv byte[]

Constructor Summary

AccessConstructor and Description
public
public
TrustPacket(BCPGInputStream in, boolean newPacketFormat)

public
TrustPacket(int trustCode)

Method Summary

Modifier and TypeMethod and Description
public void
public byte[]
Inherited from org.bouncycastle.bcpg.ContainedPacket:
getEncodedgetEncoded

Field Detail

levelAndTrustAmountback to summary
pack-priv byte[] levelAndTrustAmount

Constructor Detail

TrustPacketback to summary
public TrustPacket(BCPGInputStream in) throws IOException
TrustPacketback to summary
public TrustPacket(BCPGInputStream in, boolean newPacketFormat) throws IOException
TrustPacketback to summary
public TrustPacket(int trustCode)

Method Detail

encodeback to summary
public void encode(BCPGOutputStream out) throws IOException

Implements abstract org.bouncycastle.bcpg.ContainedPacket.encode.

getLevelAndTrustAmountback to summary
public byte[] getLevelAndTrustAmount()