23 lines
596 B
Java
23 lines
596 B
Java
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);
|
|
}
|
|
}
|