java.lang.Object | ||||
↳ | org.bouncycastle.asn1.ASN1Encodable | |||
↳ | org.bouncycastle.asn1.DERObject | |||
↳ | org.bouncycastle.asn1.ASN1Object | |||
↳ | org.bouncycastle.asn1.ASN1Set |
Known Direct Subclasses |
Known Indirect Subclasses |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.bouncycastle.asn1.ASN1Encodable
| |||||||||||
From interface
org.bouncycastle.asn1.DERTags
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
set |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return an ASN1 set from a tagged object.
| |||||||||||
return an ASN1Set from the given object.
| |||||||||||
return the object at the set position indicated by index.
| |||||||||||
return the number of objects in this set.
| |||||||||||
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 set 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 set - 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 sets 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 ASN1Set from the given object.
obj | the object we want converted. |
---|
IllegalArgumentException | if the object cannot be converted. |
---|
return the object at the set position indicated by index.
index | the set number (starting at zero) of the object |
---|
return the number of objects in this set.