INNER CODE UNIT · Python

ValueMap

wbond/asn1crypto · asn1crypto/core.py:666

class ValueMap():
    """
    Basic functionality that allows for mapping values from ints or OIDs to
    python unicode strings
    """

    # A dict from primitive value (int or OID) to unicode string. This needs
    # to be defined in the source code
    _map = None

    # A dict from unicode string to int/OID. This is automatically generated
    # from _map the first time it is needed
    _reverse_map = None

    def _setup(self):
        """
        Generates _reverse_map from _map
        """

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…