computedUserPassword, ownerPassword.getBytes(),
permissions, id.getBytes(), revision, length );
}
else
{
throw new InvalidPasswordException( "Error: The supplied password does not match " +
"either the owner or user password in the document." );
}
List allObjects = document.getObjects();
Iterator objectIter = allObjects.iterator();