org.bouncycastle.sasn1

Class Asn1Object

public abstract class Asn1Object extends Object

Deprecated: use corresponsding classes in org.bouncycastle.asn1.

Field Summary
protected int_baseTag
protected InputStream_contentStream
protected int_tagNumber
Constructor Summary
protected Asn1Object(int baseTag, int tagNumber, InputStream contentStream)
Method Summary
InputStreamgetRawContentStream()
Return an input stream representing the content bytes of the object.
intgetTagNumber()
Return the tag number for this object.
booleanisConstructed()
Return true if this object is a constructed one.

Field Detail

_baseTag

protected int _baseTag

_contentStream

protected InputStream _contentStream

_tagNumber

protected int _tagNumber

Constructor Detail

Asn1Object

protected Asn1Object(int baseTag, int tagNumber, InputStream contentStream)

Method Detail

getRawContentStream

public InputStream getRawContentStream()
Return an input stream representing the content bytes of the object.

Returns: content stream.

getTagNumber

public int getTagNumber()
Return the tag number for this object.

Returns: the tag number.

isConstructed

public boolean isConstructed()
Return true if this object is a constructed one.

Returns: true if this object is constructed.