01: package org.bouncycastle.sasn1;
02:
03: import java.io.IOException;
04: import java.io.InputStream;
05:
06: /**
07: * @deprecated use corresponsding classes in org.bouncycastle.asn1.
08: */
09: public class BerSequence extends Asn1Object implements Asn1Sequence {
10: private Asn1InputStream _aIn;
11:
12: protected BerSequence(int baseTag, InputStream contentStream) {
13: super (baseTag, BerTag.SEQUENCE, contentStream);
14:
15: this ._aIn = new Asn1InputStream(contentStream);
16: }
17:
18: public Asn1Object readObject() throws IOException {
19: return _aIn.readObject();
20: }
21: }
|