org.bouncycastle.bcpg.attr

Class 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

Field Details

JPEG

public static final int JPEG
Field Value:
1

Constructor Details

ImageAttribute

public ImageAttribute(byte[] data)

ImageAttribute

public ImageAttribute(int imageType,
                      byte[] imageData)

Method Details

getEncoding

public int getEncoding()

getImageData

public byte[] getImageData()

version

public int version()