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