add all
This commit is contained in:
18
Packages/com.tivadar.best.http/Runtime/3rdParty/BouncyCastle/crypto/IWrapper.cs
vendored
Normal file
18
Packages/com.tivadar.best.http/Runtime/3rdParty/BouncyCastle/crypto/IWrapper.cs
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
|
||||
#pragma warning disable
|
||||
namespace Best.HTTP.SecureProtocol.Org.BouncyCastle.Crypto
|
||||
{
|
||||
public interface IWrapper
|
||||
{
|
||||
/// <summary>The name of the algorithm this cipher implements.</summary>
|
||||
string AlgorithmName { get; }
|
||||
|
||||
void Init(bool forWrapping, ICipherParameters parameters);
|
||||
|
||||
byte[] Wrap(byte[] input, int inOff, int length);
|
||||
|
||||
byte[] Unwrap(byte[] input, int inOff, int length);
|
||||
}
|
||||
}
|
||||
#pragma warning restore
|
||||
#endif
|
||||
Reference in New Issue
Block a user