blob: b567e979cf20c3b7f840aa82990bd0c2bc3b8602 (
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
|
using Org.BouncyCastle.Utilities;
namespace Org.BouncyCastle.Pqc.Crypto.Sike
{
public sealed class SikePublicKeyParameters
: SikeKeyParameters
{
public readonly byte[] publicKey;
public SikePublicKeyParameters(SikeParameters param, byte[] publicKey)
: base(false, param)
{
this.publicKey = Arrays.Clone(publicKey);
}
public byte[] GetEncoded()
{
return Arrays.Clone(publicKey);
}
public byte[] GetPublicKey()
{
return Arrays.Clone(publicKey);
}
}
}
|