code: def load(cls, encoded_data, strict=False, **kwargs):
          
  
          if not isinstance(encoded_data, byte_cls):
              raise TypeError('encoded_data must be a byte string, not %s' % type_name(encoded_data))
  
          value, _ = _parse_build(encoded_data, spec=cls, spec_params=kwargs, strict=strict)
          return value
docs: Loads a BER/DER-encoded byte string using the current class as the spec
  
          :param encoded_data:
              A byte string of BER or DER encoded data
  
          :param strict:
              A boolean indicating if trailing data should be forbidden - if so, a
              ValueError will be raised when trailing data exists
  
          :return:
              A instance of the current class