@Role public interface CipherFactory extends CipherSpecifications
Modifier and Type | Method and Description |
---|---|
Cipher |
getInstance(boolean forEncryption,
CipherParameters parameters) |
getCipherAlgorithmName, getIVSize, getKeySize, getSupportedKeySizes, isSupportedKeySize
Cipher getInstance(boolean forEncryption, CipherParameters parameters)
forEncryption
- if true the cipher is initialised for encryption, if false for decryption.parameters
- the key and other data required by the cipher.Copyright © 2004–2020 XWiki. All rights reserved.