Package org.bouncycastle.bcpg
Class SignatureSubpacketInputStream
- java.lang.Object
-
- java.io.InputStream
-
- org.bouncycastle.bcpg.SignatureSubpacketInputStream
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,SignatureSubpacketTags
public class SignatureSubpacketInputStream extends java.io.InputStream implements SignatureSubpacketTags
reader for signature sub-packets
-
-
Field Summary
-
Fields inherited from interface org.bouncycastle.bcpg.SignatureSubpacketTags
ATTESTED_CERTIFICATIONS, CREATION_TIME, EMBEDDED_SIGNATURE, EXPIRE_TIME, EXPORTABLE, FEATURES, INTENDED_RECIPIENT_FINGERPRINT, ISSUER_FINGERPRINT, ISSUER_KEY_ID, KEY_EXPIRE_TIME, KEY_FLAGS, KEY_SERVER_PREFS, NOTATION_DATA, PLACEHOLDER, POLICY_URL, PREFERRED_AEAD_ALGORITHMS, PREFERRED_COMP_ALGS, PREFERRED_HASH_ALGS, PREFERRED_KEY_SERV, PREFERRED_SYM_ALGS, PRIMARY_USER_ID, REG_EXP, REVOCABLE, REVOCATION_KEY, REVOCATION_REASON, SIGNATURE_TARGET, SIGNER_USER_ID, TRUST_SIG
-
-
Constructor Summary
Constructors Constructor Description SignatureSubpacketInputStream(java.io.InputStream in)
SignatureSubpacketInputStream(java.io.InputStream in, int limit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
available()
int
read()
SignatureSubpacket
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 SignatureSubpacket readPacket() throws java.io.IOException
- Throws:
java.io.IOException
-
-