org.bouncycastle.bcpg

Class SignatureSubpacket

Known Direct Subclasses:
Exportable, IssuerKeyID, KeyExpirationTime, KeyFlags, NotationData, PreferredAlgorithms, PrimaryUserID, Revocable, SignatureCreationTime, SignatureExpirationTime, SignerUserID, TrustSignature

public class SignatureSubpacket
extends java.lang.Object

Basic type for a PGP Signature sub-packet.

Field Summary

protected byte[]
data

Constructor Summary

SignatureSubpacket(int type, boolean critical, byte[] data)

Method Summary

void
encode(OutputStream out)
byte[]
getData()
return the generic data making up the packet.
int
getType()
boolean
isCritical()

Field Details

data

protected byte[] data

Constructor Details

SignatureSubpacket

protected SignatureSubpacket(int type,
                             boolean critical,
                             byte[] data)

Method Details

encode

public void encode(OutputStream out)
            throws IOException

getData

public byte[] getData()
return the generic data making up the packet.

getType

public int getType()

isCritical

public boolean isCritical()