01: package org.bouncycastle.crypto.params;
02:
03: public class IESWithCipherParameters extends IESParameters {
04: private int cipherKeySize;
05:
06: /**
07: * @param derivation the derivation parameter for the KDF function.
08: * @param encoding the encoding parameter for the KDF function.
09: * @param macKeySize the size of the MAC key (in bits).
10: * @param cipherKeySize the size of the associated Cipher key (in bits).
11: */
12: public IESWithCipherParameters(byte[] derivation, byte[] encoding,
13: int macKeySize, int cipherKeySize) {
14: super (derivation, encoding, macKeySize);
15:
16: this .cipherKeySize = cipherKeySize;
17: }
18:
19: public int getCipherKeySize() {
20: return cipherKeySize;
21: }
22: }
|