Package org.bouncycastle.bcpg
Class UserAttributeSubpacket
- java.lang.Object
-
- org.bouncycastle.bcpg.UserAttributeSubpacket
-
- Direct Known Subclasses:
ImageAttribute
public class UserAttributeSubpacket extends Object
Basic type for a user attribute sub-packet.
-
-
Field Summary
Fields Modifier and Type Field Description protected byte[]
data
-
Constructor Summary
Constructors Modifier Constructor Description protected
UserAttributeSubpacket(int type, boolean forceLongLength, byte[] data)
protected
UserAttributeSubpacket(int type, byte[] data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
encode(OutputStream out)
boolean
equals(Object o)
byte[]
getData()
return the generic data making up the packet.int
getType()
int
hashCode()
-
-
-
Method Detail
-
getType
public int getType()
-
getData
public byte[] getData()
return the generic data making up the packet.
-
encode
public void encode(OutputStream out) throws IOException
- Throws:
IOException
-
-