Class ImageAttribute

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

public class ImageAttribute extends UserAttributeSubpacket
User-Attribute Subpacket used to encode an image, e.g. the user's avatar.
See Also:
  • Field Details

  • Constructor Details

    • ImageAttribute

      public ImageAttribute(byte[] data)
    • ImageAttribute

      public ImageAttribute(boolean forceLongLength, byte[] data)
    • ImageAttribute

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

    • version

      public int version()
    • getEncoding

      public int getEncoding()
    • getImageData

      public byte[] getImageData()