17 lines
410 B
C#
17 lines
410 B
C#
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
|
|
#pragma warning disable
|
|
using System;
|
|
|
|
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Tls
|
|
{
|
|
/// <summary>Base interface for an object that can process a PSK identity.</summary>
|
|
public interface TlsPskIdentityManager
|
|
{
|
|
byte[] GetHint();
|
|
|
|
byte[] GetPsk(byte[] identity);
|
|
}
|
|
}
|
|
#pragma warning restore
|
|
#endif
|