培训考核三期,新版培训,网页版培训登录器
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
796 B

#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using System.IO;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Tls.Crypto
{
/// <summary>Base interface for an encryptor.</summary>
public interface TlsEncryptor
{
/// <summary>Encrypt data from the passed in input array.</summary>
/// <param name="input">byte array containing the input data.</param>
/// <param name="inOff">offset into input where the data starts.</param>
/// <param name="length">the length of the data to encrypt.</param>
/// <returns>the encrypted data.</returns>
/// <exception cref="IOException"/>
byte[] Encrypt(byte[] input, int inOff, int length);
}
}
#pragma warning restore
#endif