01: package org.bouncycastle.crypto.params;
02:
03: import org.bouncycastle.crypto.CipherParameters;
04:
05: public class ParametersWithSBox implements CipherParameters {
06: private CipherParameters parameters;
07: private byte[] sBox;
08:
09: public ParametersWithSBox(CipherParameters parameters, byte[] sBox) {
10: this .parameters = parameters;
11: this .sBox = sBox;
12: }
13:
14: public byte[] getSBox() {
15: return sBox;
16: }
17:
18: public CipherParameters getParameters() {
19: return parameters;
20: }
21: }
|