Bouncy Castle Cryptography Library 1.79

org.bouncycastle.bcpg
Class SignatureSubpacket

java.lang.Object
  |
  +--org.bouncycastle.bcpg.SignatureSubpacket
Direct Known Subclasses:
EmbeddedSignature, Exportable, Features, IntendedRecipientFingerprint, IssuerFingerprint, IssuerKeyID, KeyExpirationTime, KeyFlags, NotationData, PolicyURI, PreferredAlgorithms, PreferredKeyServer, PrimaryUserID, RegularExpression, Revocable, RevocationKey, RevocationReason, SignatureCreationTime, SignatureExpirationTime, SignatureTarget, SignerUserID, TrustSignature

public class SignatureSubpacket
extends java.lang.Object

Basic type for a PGP Signature sub-packet.


Field Summary
protected  byte[] data
           
 
Constructor Summary
protected SignatureSubpacket(int type, boolean critical, boolean isLongLength, byte[] data)
           
 
Method Summary
 void encode(java.io.OutputStream out)
           
 boolean equals(java.lang.Object other)
           
 byte[] getData()
          return the generic data making up the packet.
 int getType()
           
 int hashCode()
           
 boolean isCritical()
           
 boolean isLongLength()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

data

protected byte[] data
Constructor Detail

SignatureSubpacket

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

getType

public int getType()

isCritical

public boolean isCritical()

isLongLength

public boolean isLongLength()

getData

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

encode

public void encode(java.io.OutputStream out)
            throws java.io.IOException

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object

Bouncy Castle Cryptography Library 1.79