001package org.apache.commons.ssl.org.bouncycastle.asn1;
002
003import java.io.InputStream;
004
005/**
006 * A basic parser for an OCTET STRING object
007 */
008public interface ASN1OctetStringParser
009    extends ASN1Encodable, InMemoryRepresentable
010{
011    /**
012     * Return the content of the OCTET STRING as an InputStream.
013     *
014     * @return an InputStream representing the OCTET STRING's content.
015     */
016    public InputStream getOctetStream();
017}