01: package org.bouncycastle.asn1.x9;
02:
03: public abstract class X9ECParametersHolder {
04: private X9ECParameters params;
05:
06: public X9ECParameters getParameters() {
07: if (params == null) {
08: params = createParameters();
09: }
10:
11: return params;
12: }
13:
14: protected abstract X9ECParameters createParameters();
15: }
|