safeGetDocumentProtection().setSalt(null); safeGetDocumentProtection().setCryptSpinCount(null); safeGetDocumentProtection().setHash(null); safeGetDocumentProtection().setHash(hash); safeGetDocumentProtection().setCryptSpinCount(BigInteger.valueOf(spinCount)); safeGetDocumentProtection().setCryptAlgorithmType(STAlgType.TYPE_ANY);
safeGetDocumentProtection().setSalt(null); safeGetDocumentProtection().setCryptSpinCount(null); safeGetDocumentProtection().setHash(null); safeGetDocumentProtection().setHash(hash); safeGetDocumentProtection().setCryptSpinCount(BigInteger.valueOf(spinCount)); safeGetDocumentProtection().setCryptAlgorithmType(STAlgType.TYPE_ANY);