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