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