org.bouncycastle.pqc.crypto.sphincs.SPHINCSPublicKeyParameters Maven / Gradle / Ivy
The newest version!
package org.bouncycastle.pqc.crypto.sphincs;
import org.bouncycastle.util.Arrays;
public class SPHINCSPublicKeyParameters
extends SPHINCSKeyParameters
{
private final byte[] keyData;
public SPHINCSPublicKeyParameters(byte[] keyData)
{
super(false, null);
this.keyData = Arrays.clone(keyData);
}
public SPHINCSPublicKeyParameters(byte[] keyData, String treeDigest)
{
super(false, treeDigest);
this.keyData = Arrays.clone(keyData);
}
public byte[] getKeyData()
{
return Arrays.clone(keyData);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy