pasn
Interface ASN1AlternativeObject
- All Superinterfaces:
- ASN1TransparentObject, java.lang.Iterable<ASN1MandatoryComponent>
- All Known Implementing Classes:
- ASN1Choice
public interface ASN1AlternativeObject
- extends ASN1TransparentObject, java.lang.Iterable<ASN1MandatoryComponent>
Defines ASN.1 objects which hold one or more ASN.1 (tagged) objects, called
components, and produce the encoding of the first ready-to-encode component
- Author:
- ncottin
Methods inherited from interface java.lang.Iterable |
iterator |
getComponents
java.util.Collection<ASN1MandatoryComponent> getComponents()
Gets the set of all enclosed components. At least one of these components
must have a value to allow successfull encoding of this alternative. This
operation is used during the decoding process
- Returns:
- A non-null set of inner ASN.1 objects correctly
implicitly or explicitly tagged. A null set leads to an error
of the decoding process
findComponent
ASN1MandatoryComponent findComponent(java.lang.String name)
findComponent
ASN1MandatoryComponent findComponent(int index)