01: package org.bouncycastle.jce.spec;
02:
03: import java.security.spec.KeySpec;
04:
05: public class ElGamalKeySpec implements KeySpec {
06: private ElGamalParameterSpec spec;
07:
08: public ElGamalKeySpec(ElGamalParameterSpec spec) {
09: this .spec = spec;
10: }
11:
12: public ElGamalParameterSpec getParams() {
13: return spec;
14: }
15: }
|