You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
585 B
22 lines
585 B
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR) |
|
#pragma warning disable |
|
using System; |
|
|
|
using BestHTTP.SecureProtocol.Org.BouncyCastle.Security; |
|
|
|
namespace BestHTTP.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
|
|
|