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
,PolicyURI
,PreferredAlgorithms
,PreferredKeyServer
,PrimaryUserID
,RegularExpression
,Revocable
,RevocationKey
,RevocationReason
,SignatureCreationTime
,SignatureExpirationTime
,SignatureTarget
,SignerUserID
,TrustSignature
Basic type for a PGP Signature sub-packet.
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
SignatureSubpacket
(int type, boolean critical, boolean isLongLength, byte[] data) -
Method Summary
Modifier and TypeMethodDescriptionvoid
encode
(OutputStream out) boolean
byte[]
getData()
return the generic data making up the packet.int
getType()
int
hashCode()
boolean
boolean
-
Field Details
-
data
protected byte[] data
-
-
Constructor Details
-
SignatureSubpacket
protected SignatureSubpacket(int type, boolean critical, boolean isLongLength, byte[] data)
-
-
Method Details
-
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
- Throws:
IOException
-
hashCode
public int hashCode() -
equals
-