1 17 18 package org.apache.geronimo.util.crypto.params; 19 20 import org.apache.geronimo.util.crypto.CipherParameters; 21 22 public class ParametersWithSBox 23 implements CipherParameters 24 { 25 private CipherParameters parameters; 26 private byte[] sBox; 27 28 public ParametersWithSBox( 29 CipherParameters parameters, 30 byte[] sBox) 31 { 32 this.parameters = parameters; 33 this.sBox = sBox; 34 } 35 36 public byte[] getSBox() 37 { 38 return sBox; 39 } 40 41 public CipherParameters getParameters() 42 { 43 return parameters; 44 } 45 } 46 | Popular Tags |