java.lang.Object
org.sejda.sambox.encryption.Algorithm8
- All Implemented Interfaces:
PasswordAlgorithm
Algorithm 8 as defined in Chap 7.6.3.4.6 of ISO 32000-2
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AESEngineNoPaddingprivate final Algorithm2AHashprivate final byte[]private final byte[] -
Constructor Summary
ConstructorsConstructorDescriptionAlgorithm8(Algorithm2AHash hashAlgo) Algorithm8(Algorithm2AHash hashAlgo, byte[] userValidationSalt, byte[] userKeySalt) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]computePassword(EncryptionContext context) byte[]computeUE(EncryptionContext context)
-
Field Details
-
userValidationSalt
private final byte[] userValidationSalt -
userKeySalt
private final byte[] userKeySalt -
hashAlgo
-
engine
-
-
Constructor Details
-
Algorithm8
Algorithm8(Algorithm2AHash hashAlgo) -
Algorithm8
Algorithm8(Algorithm2AHash hashAlgo, byte[] userValidationSalt, byte[] userKeySalt)
-
-
Method Details
-
computePassword
- Specified by:
computePasswordin interfacePasswordAlgorithm- Returns:
- the computed password based on the given input security params
-
computeUE
-