INNER CODE UNIT · Python

unpickle_helper

wbond/asn1crypto · asn1crypto/core.py:169

def unpickle_helper(asn1crypto_cls, der_bytes):
    """
    Helper function to integrate with pickle.

    Note that this must be an importable top-level function.
    """
    return asn1crypto_cls.load(der_bytes)


class Asn1Value(object):
    """
    The basis of all ASN.1 values
    """

    # The integer 0 for primitive, 1 for constructed
    method = None

    # An integer 0 through 3 - see CLASS_NUM_TO_NAME_MAP for value

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…