io.gatling.recorder.internal.bouncycastle.pqc.crypto.hqc.HQCPrivateKeyParameters Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gatling-recorder-bc-shaded Show documentation
Show all versions of gatling-recorder-bc-shaded Show documentation
Shaded BouncyCastle for Gatling Recorder
package io.gatling.recorder.internal.bouncycastle.pqc.crypto.hqc;
import io.gatling.recorder.internal.bouncycastle.util.Arrays;
public class HQCPrivateKeyParameters
extends HQCKeyParameters
{
private byte[] sk;
public HQCPrivateKeyParameters(HQCParameters params, byte[] sk)
{
super(true, params);
this.sk = Arrays.clone(sk);
}
public byte[] getPrivateKey()
{
return Arrays.clone(this.sk);
}
public byte[] getEncoded()
{
return Arrays.clone(this.sk);
}
}