1 package org.bouncycastle.asn1.x9; 2 3 public abstract class X9ECParametersHolder 4 { 5 private X9ECParameters params; 6 getParameters()7 public X9ECParameters getParameters() 8 { 9 if (params == null) 10 { 11 params = createParameters(); 12 } 13 14 return params; 15 } 16 createParameters()17 protected abstract X9ECParameters createParameters(); 18 } 19