what-the-bank/sources/org/bouncycastle/asn1/x9/X9ECParametersHolder.java

20 lines
514 B
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
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;
}
}