def _createPrivateKey(key):
 if (not isinstance(key, RSAKey)):
  raise AssertionError()
 if (not key.hasPrivateKey()):
  raise AssertionError()
 return _createPrivateRSAKey(key.n, key.e, key.d, key.p, key.q, key.dP, key.dQ, key.qInv)

def _createPrivateKey ( key ) : if ( not isinstance ( key , RSAKey ) ) : raise AssertionError ( ) if ( not key . hasPrivateKey ( ) ) : raise AssertionError ( ) return _createPrivateRSAKey ( key . n , key . e , key . d , key . p , key . q , key . dP , key . dQ , key . qInv )
create a new private key .