diff options
Diffstat (limited to 'core/src/main/java/org/spongycastle/asn1/ASN1SetParser.java')
-rw-r--r-- | core/src/main/java/org/spongycastle/asn1/ASN1SetParser.java | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/core/src/main/java/org/spongycastle/asn1/ASN1SetParser.java b/core/src/main/java/org/spongycastle/asn1/ASN1SetParser.java new file mode 100644 index 00000000..649e968a --- /dev/null +++ b/core/src/main/java/org/spongycastle/asn1/ASN1SetParser.java @@ -0,0 +1,19 @@ +package org.spongycastle.asn1; + +import java.io.IOException; + +/** + * A basic parser for a SET object + */ +public interface ASN1SetParser + extends ASN1Encodable, InMemoryRepresentable +{ + /** + * Read the next object from the underlying object representing a SET. + * + * @throws IOException for bad input stream. + * @return the next object, null if we are at the end. + */ + public ASN1Encodable readObject() + throws IOException; +} |