20 lines
514 B
Java
20 lines
514 B
Java
|
package org.bouncycastle.asn1.x9;
|
||
|
|
||
|
/* loaded from: classes6.dex */
|
||
|
public abstract class X9ECParametersHolder {
|
||
|
private X9ECParameters params;
|
||
|
|
||
|
protected abstract X9ECParameters createParameters();
|
||
|
|
||
|
public X9ECParameters getParameters() {
|
||
|
X9ECParameters x9ECParameters;
|
||
|
synchronized (this) {
|
||
|
if (this.params == null) {
|
||
|
this.params = createParameters();
|
||
|
}
|
||
|
x9ECParameters = this.params;
|
||
|
}
|
||
|
return x9ECParameters;
|
||
|
}
|
||
|
}
|