safeGetDocumentProtection().setCryptAlgorithmSid(null); safeGetDocumentProtection().setSalt(null); safeGetDocumentProtection().setCryptSpinCount(null); safeGetDocumentProtection().setHash(null); safeGetDocumentProtection().setCryptSpinCount(BigInteger.valueOf(spinCount)); safeGetDocumentProtection().setCryptAlgorithmType(STAlgType.TYPE_ANY); safeGetDocumentProtection().setCryptAlgorithmClass(STAlgClass.HASH);
safeGetDocumentProtection().setCryptAlgorithmSid(null); safeGetDocumentProtection().setSalt(null); safeGetDocumentProtection().setCryptSpinCount(null); safeGetDocumentProtection().setHash(null); safeGetDocumentProtection().setCryptSpinCount(BigInteger.valueOf(spinCount)); safeGetDocumentProtection().setCryptAlgorithmType(STAlgType.TYPE_ANY); safeGetDocumentProtection().setCryptAlgorithmClass(STAlgClass.HASH);