Documentation of 'org.apache.poi.poifs.crypt.Encryptor' Java class
Encryptor
org.apache.poi.poifs.crypt

Class Encryptor

    • Constructor Detail

      • Encryptor

        public Encryptor()
    • Method Detail

      • getDataStream

        public abstract java.io.OutputStream getDataStream(DirectoryNode dir)
                                                    throws java.io.IOException,
                                                           java.security.GeneralSecurityException
        Return a output stream for encrypted data.
        Parameters:
        dir - the node to write to
        Returns:
        encrypted stream
        Throws:
        java.io.IOException
        java.security.GeneralSecurityException
      • confirmPassword

        public abstract void confirmPassword(java.lang.String password,
                                             byte[] keySpec,
                                             byte[] keySalt,
                                             byte[] verifier,
                                             byte[] verifierSalt,
                                             byte[] integritySalt)
      • confirmPassword

        public abstract void confirmPassword(java.lang.String password)
      • getDataStream

        public java.io.OutputStream getDataStream(NPOIFSFileSystem fs)
                                           throws java.io.IOException,
                                                  java.security.GeneralSecurityException
        Throws:
        java.io.IOException
        java.security.GeneralSecurityException
      • getDataStream

        public java.io.OutputStream getDataStream(POIFSFileSystem fs)
                                           throws java.io.IOException,
                                                  java.security.GeneralSecurityException
        Throws:
        java.io.IOException
        java.security.GeneralSecurityException
      • getSecretKey

        public javax.crypto.SecretKey getSecretKey()

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.