Class Algorithm9

java.lang.Object
org.sejda.sambox.encryption.Algorithm9
All Implemented Interfaces:
PasswordAlgorithm

public class Algorithm9 extends Object implements PasswordAlgorithm
Algorithm 9 as defined in Chap 7.6.3.4.7 of ISO 32000-2
  • Field Details

    • ownerValidationSalt

      private final byte[] ownerValidationSalt
    • ownerKeySalt

      private final byte[] ownerKeySalt
    • u

      private final byte[] u
    • hashAlgo

      private final Algorithm2AHash hashAlgo
    • engine

      private final AESEngineNoPadding engine
  • Constructor Details

    • Algorithm9

      Algorithm9(Algorithm2AHash hashAlgo, byte[] u, byte[] ownerValidationSalt, byte[] ownerKeySalt)
    • Algorithm9

      Algorithm9(Algorithm2AHash hashAlgo, byte[] u)
  • Method Details