blob: 7cf21550495bfb8683e87ffef3d7f35d2d3b21dc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
using Org.BouncyCastle.Utilities;
namespace Org.BouncyCastle.Pqc.Crypto.Frodo
{
public class FrodoPrivateKeyParameters
: FrodoKeyParameters
{
internal byte[] privateKey;
public byte[] GetPrivateKey()
{
return Arrays.Clone(privateKey);
}
public FrodoPrivateKeyParameters(FrodoParameters parameters, byte[] privateKey)
: base(true, parameters)
{
this.privateKey = Arrays.Clone(privateKey);
}
public byte[] GetEncoded()
{
return Arrays.Clone(privateKey);
}
}
}
|