Package org.odftoolkit.odfdom.pkg.manifest

Examples of org.odftoolkit.odfdom.pkg.manifest.StartKeyGenerationElement


      KeyDerivationElement keyDerivationElement = OdfElement.findFirstChildNode(KeyDerivationElement.class, encryptionDataElement);
      if (keyDerivationElement != null) {
        encryptionDataElement.removeChild(keyDerivationElement);
      }
      keyDerivationElement = encryptionDataElement.newKeyDerivationElement(1024, "PBKDF2", saltStr);
      StartKeyGenerationElement startKeyGenerationElement = OdfElement.findFirstChildNode(StartKeyGenerationElement.class, encryptionDataElement);
      if (startKeyGenerationElement != null) {
        encryptionDataElement.removeChild(startKeyGenerationElement);
      }
      encryptionDataElement.newStartKeyGenerationElement("SHA1").setKeySizeAttribute(20);
     
View Full Code Here

TOP

Related Classes of org.odftoolkit.odfdom.pkg.manifest.StartKeyGenerationElement

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.