org.bouncycastle.sasn1
Class Asn1Object
java.lang.Object
|
+--org.bouncycastle.sasn1.Asn1Object
- Direct Known Subclasses:
- Asn1Null, Asn1TaggedObject, BerOctetString, BerSequence, BerSet, DerObject
- public abstract class Asn1Object
- extends java.lang.Object
Constructor Summary |
protected |
Asn1Object(int baseTag,
int tagNumber,
java.io.InputStream contentStream)
|
Method Summary |
java.io.InputStream |
getRawContentStream()
Return an input stream representing the content bytes of the object. |
int |
getTagNumber()
Return the tag number for this object. |
boolean |
isConstructed()
Return true if this object is a constructed one. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_baseTag
protected int _baseTag
_tagNumber
protected int _tagNumber
_contentStream
protected java.io.InputStream _contentStream
Asn1Object
protected Asn1Object(int baseTag,
int tagNumber,
java.io.InputStream contentStream)
isConstructed
public boolean isConstructed()
- Return true if this object is a constructed one.
- Returns:
- true if this object is constructed.
getTagNumber
public int getTagNumber()
- Return the tag number for this object.
- Returns:
- the tag number.
getRawContentStream
public java.io.InputStream getRawContentStream()
- Return an input stream representing the content bytes of the object.
- Returns:
- content stream.