• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2.. _univ.Choice:
3
4.. |ASN.1| replace:: Choice
5
6|ASN.1| type
7------------
8
9.. autoclass:: pyasn1.type.univ.Choice(componentType=None, tagSet=tagSet(), subtypeSpec=ConstraintsIntersection())
10   :members: isValue, isSameTypeWith, isSuperTypeOf, tagSet, effectiveTagSet, tagMap, componentType, subtypeSpec,
11             getComponentByPosition, setComponentByPosition, getComponentByName, setComponentByName, setDefaultComponents,
12             getComponentByType, setComponentByType, getName, getComponent, isInconsistent
13
14   .. note::
15
16        The |ASN.1| type can only hold a single component at a time belonging to the list of allowed types.
17
18   .. automethod:: pyasn1.type.univ.Choice.clone(componentType=None, tagSet=tagSet(), subtypeSpec=ConstraintsIntersection())
19   .. automethod:: pyasn1.type.univ.Choice.subtype(componentType=None, implicitTag=Tag(), explicitTag=Tag(),subtypeSpec=ConstraintsIntersection())
20