| 构造器和说明 |
|---|
AESDecryptor(Cipher cipher) |
| 限定符和类型 | 方法和说明 |
|---|---|
InputStream |
createDecryptionStream(InputStream in)
Create a stream for decryption
|
int |
getBlockSize()
Get the cipher's internal block size
|
int |
getIvLength()
Get the expected length for the initialization vector
|
protected void |
init() |
void |
reset()
Reset state, reinitialize with the key and iv
|
void |
setIv(byte[] iv)
Set the initialization vector
|
void |
setKey(Key key)
Set the secret key
|
public AESDecryptor(Cipher cipher)
public int getIvLength()
DecryptorgetIvLength 在接口中 Decryptorpublic int getBlockSize()
DecryptorgetBlockSize 在接口中 Decryptorpublic void setIv(byte[] iv)
Decryptorpublic InputStream createDecryptionStream(InputStream in)
DecryptorcreateDecryptionStream 在接口中 Decryptorpublic void reset()
Decryptorprotected void init()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.