what-the-bank/sources/org/bouncycastle/pqc/jcajce/spec/SPHINCS256KeyGenParameterSp...

23 lines
596 B
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package org.bouncycastle.pqc.jcajce.spec;
import java.security.spec.AlgorithmParameterSpec;
/* loaded from: classes6.dex */
public class SPHINCS256KeyGenParameterSpec implements AlgorithmParameterSpec {
public static final String SHA3_256 = "SHA3-256";
public static final String SHA512_256 = "SHA512-256";
private final String treeHash;
public String getTreeDigest() {
return this.treeHash;
}
public SPHINCS256KeyGenParameterSpec(String str) {
this.treeHash = str;
}
public SPHINCS256KeyGenParameterSpec() {
this(SHA512_256);
}
}