30 lines
548 B
C#
30 lines
548 B
C#
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
|
|
#pragma warning disable
|
|
using System;
|
|
using BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto;
|
|
|
|
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters
|
|
{
|
|
/**
|
|
* parameters for Key derivation functions for ISO-18033
|
|
*/
|
|
public class Iso18033KdfParameters
|
|
: IDerivationParameters
|
|
{
|
|
byte[] seed;
|
|
|
|
public Iso18033KdfParameters(
|
|
byte[] seed)
|
|
{
|
|
this.seed = seed;
|
|
}
|
|
|
|
public byte[] GetSeed()
|
|
{
|
|
return seed;
|
|
}
|
|
}
|
|
}
|
|
#pragma warning restore
|
|
#endif
|