org.bouncycastle.pqc.crypto.gemss.GeMSSPublicKeyParameters Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of polaris-all Show documentation
Show all versions of polaris-all Show documentation
All in one project for polaris-java
package org.bouncycastle.pqc.crypto.gemss;
import org.bouncycastle.util.Arrays;
public class GeMSSPublicKeyParameters
extends GeMSSKeyParameters
{
private final byte[] pk;
public GeMSSPublicKeyParameters(GeMSSParameters parameters, byte[] pkValues)
{
super(false, parameters);
pk = new byte[pkValues.length];
System.arraycopy(pkValues, 0, pk, 0, pk.length);
}
public byte[] getPK()
{
return pk;
}
public byte[] getEncoded()
{
return Arrays.clone(pk);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy