public class BinaryRC4Encryptor extends Encryptor
| Modifier and Type | Class and Description | 
|---|---|
protected class  |  
           BinaryRC4Encryptor.BinaryRC4CipherOutputStream  |  
          
DEFAULT_POIFS_ENTRY| Modifier | Constructor and Description | 
|---|---|
protected  |  
           BinaryRC4Encryptor()  |  
          
protected  |  
           BinaryRC4Encryptor(BinaryRC4Encryptor other)  |  
          
| Modifier and Type | Method and Description | 
|---|---|
void |  
           confirmPassword(java.lang.String password)  |  
          
void |  
           confirmPassword(java.lang.String password, byte[] keySpec, byte[] keySalt, byte[] verifier, byte[] verifierSalt, byte[] integritySalt)  |  
          
BinaryRC4Encryptor |  
           copy()  |  
          
protected void |  
           createEncryptionInfoEntry(DirectoryNode dir)  |  
          
java.io.OutputStream |  
           getDataStream(DirectoryNode dir) 
            
              Return a output stream for encrypted data. 
             (返回加密数据的输出流。) 
               |  
          
BinaryRC4Encryptor.BinaryRC4CipherOutputStream |  
           getDataStream(java.io.OutputStream stream, int initialOffset)  |  
          
protected int |  
           getKeySizeInBytes()  |  
          
void |  
           setChunkSize(int chunkSize) 
            
              Sets the chunk size of the data stream. 
             (设置数据流的块大小。) 
               |  
          
getDataStream, getEncryptionInfo, getGenericProperties, getInstance, getSecretKey, setEncryptionInfo, setSecretKeyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetGenericChildren, getGenericRecordTypeprotected BinaryRC4Encryptor()
protected BinaryRC4Encryptor(BinaryRC4Encryptor other)
public void confirmPassword(java.lang.String password)
confirmPassword in class  
            Encryptor 
            (类 Encryptor 中的 confirmPassword) 
           public void confirmPassword(java.lang.String password,
                            byte[] keySpec,
                            byte[] keySalt,
                            byte[] verifier,
                            byte[] verifierSalt,
                            byte[] integritySalt) 
          confirmPassword in class  
            Encryptor 
            (类 Encryptor 中的 confirmPassword) 
           public java.io.OutputStream getDataStream(DirectoryNode dir) throws java.io.IOException, java.security.GeneralSecurityException
Encryptor 
          getDataStream in class  
            Encryptor 
            (类 Encryptor 中的 getDataStream) 
           dir - the node to write to 
            (dir - 要写入的节点) 
           java.io.IOException 
            (java.io.IOException) 
           java.security.GeneralSecurityException 
            (java.security.GeneralSecurityException) 
           public BinaryRC4Encryptor.BinaryRC4CipherOutputStream getDataStream(java.io.OutputStream stream, int initialOffset) throws java.io.IOException, java.security.GeneralSecurityException
getDataStream in class  
            Encryptor 
           java.io.IOException 
            (java.io.IOException) 
           java.security.GeneralSecurityException 
            (java.security.GeneralSecurityException) 
           protected int getKeySizeInBytes()
protected void createEncryptionInfoEntry(DirectoryNode dir) throws java.io.IOException
java.io.IOException 
            (java.io.IOException) 
           public void setChunkSize(int chunkSize)
Encryptor 
          setChunkSize in class  
            Encryptor 
           chunkSize - the chunk size, i.e. the block size with the same encryption key 
            (chunkSize - 块大小,即具有相同加密密钥的块大小) 
           public BinaryRC4Encryptor copy()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.