io.gatling.recorder.internal.bouncycastle.pqc.crypto.saber.SABERPrivateKeyParameters 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.saber;
import io.gatling.recorder.internal.bouncycastle.util.Arrays;
public class SABERPrivateKeyParameters
extends SABERKeyParameters
{
private byte[] privateKey;
public SABERPrivateKeyParameters(SABERParameters params, byte[] privateKey)
{
super(true, params);
this.privateKey = Arrays.clone(privateKey);
}
public byte[] getPrivateKey()
{
return Arrays.clone(privateKey);
}
public byte[] getEncoded()
{
return Arrays.clone(privateKey);
}
}