def _import_key_der(key_data, passphrase, params):
 decodings = (_import_openssl_private, _import_subjectPublicKeyInfo, _import_x509_cert, _import_pkcs8)
 for decoding in decodings:
  try:
   return decoding(key_data, passphrase, params)
  except ValueError:
   pass
 raise ValueError('DSA key format is not supported')

def _import_key_der ( key_data , passphrase , params ) : decodings = ( _import_openssl_private , _import_subjectPublicKeyInfo , _import_x509_cert , _import_pkcs8 ) for decoding in decodings : try : return decoding ( key_data , passphrase , params ) except ValueError : pass raise ValueError ( 'DSA key format is not supported' )
import a dsa key .