Package org.bouncycastle.bcpg
Class SignatureSubpacket
- java.lang.Object
-
- org.bouncycastle.bcpg.SignatureSubpacket
-
- Direct Known Subclasses:
EmbeddedSignature,Exportable,Features,IntendedRecipientFingerprint,IssuerFingerprint,IssuerKeyID,KeyExpirationTime,KeyFlags,NotationData,PreferredAlgorithms,PrimaryUserID,Revocable,RevocationKey,RevocationReason,SignatureCreationTime,SignatureExpirationTime,SignatureTarget,SignerUserID,TrustSignature
public class SignatureSubpacket extends java.lang.ObjectBasic type for a PGP Signature sub-packet.
-
-
Field Summary
Fields Modifier and Type Field Description protected byte[]data
-
Constructor Summary
Constructors Modifier Constructor Description protectedSignatureSubpacket(int type, boolean critical, boolean isLongLength, byte[] data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidencode(java.io.OutputStream out)booleanequals(java.lang.Object other)byte[]getData()return the generic data making up the packet.intgetType()inthashCode()booleanisCritical()booleanisLongLength()
-
-
-
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- Throws:
java.io.IOException
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
-