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
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSignatureSubpacket(int type, boolean critical, boolean isLongLength, byte[] data) -
Method Summary
Modifier and TypeMethodDescriptionvoidencode(OutputStream out) booleanbyte[]getData()return the generic data making up the packet.intgetType()inthashCode()booleanboolean
-
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
-