diff options
author | Sergio Giro <sgiro@google.com> | 2016-02-01 18:54:35 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2016-02-01 18:54:35 +0000 |
commit | 3e75bd6b407dd472c834a50f16aae54cca67ea9c (patch) | |
tree | b5eb091b97b2aade28e5b45a15352125a4a776d7 /bcprov/src/main/java/org/bouncycastle/x509/X509StreamParserSpi.java | |
parent | 9218edabd1ef9852bc2f13115dcadc81b442dd6c (diff) | |
parent | c1040cb5656c3299f1c2d0fe0bd7c44b10466aaf (diff) | |
download | android_external_bouncycastle-3e75bd6b407dd472c834a50f16aae54cca67ea9c.tar.gz android_external_bouncycastle-3e75bd6b407dd472c834a50f16aae54cca67ea9c.tar.bz2 android_external_bouncycastle-3e75bd6b407dd472c834a50f16aae54cca67ea9c.zip |
Merge "Restoring the contents of aosp after"
Diffstat (limited to 'bcprov/src/main/java/org/bouncycastle/x509/X509StreamParserSpi.java')
-rw-r--r-- | bcprov/src/main/java/org/bouncycastle/x509/X509StreamParserSpi.java | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/bcprov/src/main/java/org/bouncycastle/x509/X509StreamParserSpi.java b/bcprov/src/main/java/org/bouncycastle/x509/X509StreamParserSpi.java deleted file mode 100644 index 6929eb1..0000000 --- a/bcprov/src/main/java/org/bouncycastle/x509/X509StreamParserSpi.java +++ /dev/null @@ -1,45 +0,0 @@ -package org.bouncycastle.x509; - -import org.bouncycastle.x509.util.StreamParsingException; - -import java.io.InputStream; -import java.util.Collection; - -/** - * This abstract class defines the service provider interface (SPI) for - * X509StreamParser. - * - * @see org.bouncycastle.x509.X509StreamParser - * - */ -public abstract class X509StreamParserSpi -{ - /** - * Initializes this stream parser with the input stream. - * - * @param in The input stream. - */ - public abstract void engineInit(InputStream in); - - /** - * Returns the next X.509 object of the type of this SPI from the given - * input stream. - * - * @return the next X.509 object in the stream or <code>null</code> if the - * end of the stream is reached. - * @exception StreamParsingException - * if the object cannot be created from input stream. - */ - public abstract Object engineRead() throws StreamParsingException; - - /** - * Returns all X.509 objects of the type of this SPI from - * the given input stream. - * - * @return A collection of all X.509 objects in the input stream or - * <code>null</code> if the end of the stream is reached. - * @exception StreamParsingException - * if an object cannot be created from input stream. - */ - public abstract Collection engineReadAll() throws StreamParsingException; -} |