def _import_keyDER(extern_key, passphrase):
 decodings = (_import_pkcs1_private, _import_pkcs1_public, _import_subjectPublicKeyInfo, _import_x509_cert, _import_pkcs8)
 for decoding in decodings:
  try:
   return decoding(extern_key, passphrase)
  except ValueError:
   pass
 raise ValueError('RSA key format is not supported')

def _import_keyDER ( extern_key , passphrase ) : decodings = ( _import_pkcs1_private , _import_pkcs1_public , _import_subjectPublicKeyInfo , _import_x509_cert , _import_pkcs8 ) for decoding in decodings : try : return decoding ( extern_key , passphrase ) except ValueError : pass raise ValueError ( 'RSA key format is not supported' )
import an rsa key .