Bouncy Castle Cryptography 1.50

org.bouncycastle.bcpg.attr
Class ImageAttribute

java.lang.Object
  extended by org.bouncycastle.bcpg.UserAttributeSubpacket
      extended by org.bouncycastle.bcpg.attr.ImageAttribute

public class ImageAttribute
extends UserAttributeSubpacket

Basic type for a image attribute packet.


Field Summary
static int JPEG
           
 
Fields inherited from class org.bouncycastle.bcpg.UserAttributeSubpacket
data
 
Constructor Summary
ImageAttribute(byte[] data)
           
ImageAttribute(int imageType, byte[] imageData)
           
 
Method Summary
 int getEncoding()
           
 byte[] getImageData()
           
 int version()
           
 
Methods inherited from class org.bouncycastle.bcpg.UserAttributeSubpacket
encode, equals, getData, getType, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JPEG

public static final int JPEG
See Also:
Constant Field Values
Constructor Detail

ImageAttribute

public ImageAttribute(byte[] data)

ImageAttribute

public ImageAttribute(int imageType,
                      byte[] imageData)
Method Detail

version

public int version()

getEncoding

public int getEncoding()

getImageData

public byte[] getImageData()

Bouncy Castle Cryptography 1.50