Files
ichni_Official/Packages/com.tivadar.best.http/Runtime/3rdParty/BouncyCastle/crypto/parameters/ParametersWithSBox.cs

29 lines
649 B
C#
Raw Normal View History

2026-06-15 18:18:16 +08:00
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using Best.HTTP.SecureProtocol.Org.BouncyCastle.Crypto;
namespace Best.HTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters
{
public class ParametersWithSBox : ICipherParameters
{
private ICipherParameters parameters;
private byte[] sBox;
public ParametersWithSBox(
ICipherParameters parameters,
byte[] sBox)
{
this.parameters = parameters;
this.sBox = sBox;
}
public byte[] GetSBox() { return sBox; }
public ICipherParameters Parameters { get { return parameters; } }
}
}
#pragma warning restore
#endif