Package org.bouncycastle.bcpg
Class UserAttributeSubpacketInputStream
- java.lang.Object
-
- java.io.InputStream
-
- org.bouncycastle.bcpg.UserAttributeSubpacketInputStream
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,UserAttributeSubpacketTags
public class UserAttributeSubpacketInputStream extends java.io.InputStream implements UserAttributeSubpacketTags
reader for user attribute sub-packets
-
-
Field Summary
-
Fields inherited from interface org.bouncycastle.bcpg.UserAttributeSubpacketTags
IMAGE_ATTRIBUTE
-
-
Constructor Summary
Constructors Constructor Description UserAttributeSubpacketInputStream(java.io.InputStream in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
available()
int
read()
UserAttributeSubpacket
readPacket()
-
-
-
Method Detail
-
available
public int available() throws java.io.IOException
- Overrides:
available
in classjava.io.InputStream
- Throws:
java.io.IOException
-
read
public int read() throws java.io.IOException
- Specified by:
read
in classjava.io.InputStream
- Throws:
java.io.IOException
-
readPacket
public UserAttributeSubpacket readPacket() throws java.io.IOException
- Throws:
java.io.IOException
-
-