java.lang.Object | ||||
↳ | org.bouncycastle.asn1.ASN1Encodable | |||
↳ | org.bouncycastle.asn1.DERObject | |||
↳ | org.bouncycastle.asn1.ASN1Object | |||
↳ | org.bouncycastle.asn1.ASN1Sequence |
Known Direct Subclasses |
Known Indirect Subclasses |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.bouncycastle.asn1.ASN1Encodable
| |||||||||||
From interface
org.bouncycastle.asn1.DERTags
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return an ASN1 sequence from a tagged object.
| |||||||||||
return an ASN1Sequence from the given object.
| |||||||||||
return the object at the sequence position indicated by index.
| |||||||||||
return the number of objects in this sequence.
| |||||||||||
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.bouncycastle.asn1.ASN1Object
| |||||||||||
From class
org.bouncycastle.asn1.DERObject
| |||||||||||
From class
org.bouncycastle.asn1.ASN1Encodable
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.bouncycastle.asn1.DEREncodable
|
Return an ASN1 sequence from a tagged object. There is a special case here, if an object appears to have been explicitly tagged on reading but we were expecting it to be implicitly tagged in the normal course of events it indicates that we lost the surrounding sequence - so we need to add it back (this will happen if the tagged object is a sequence that contains other sequences). If you are dealing with implicitly tagged sequences you really should be using this method.
obj | the tagged object. |
---|---|
explicit | true if the object is meant to be explicitly tagged, false otherwise. |
IllegalArgumentException | if the tagged object cannot be converted. |
---|
return an ASN1Sequence from the given object.
obj | the object we want converted. |
---|
IllegalArgumentException | if the object cannot be converted. |
---|
return the object at the sequence position indicated by index.
index | the sequence number (starting at zero) of the object |
---|
return the number of objects in this sequence.