def _createPublicKey(key):
 if (not isinstance(key, RSAKey)):
  raise AssertionError()
 return _createPublicRSAKey(key.n, key.e)

def _createPublicKey ( key ) : if ( not isinstance ( key , RSAKey ) ) : raise AssertionError ( ) return _createPublicRSAKey ( key . n , key . e )
create a new public key .