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