19 lines
487 B
C#
19 lines
487 B
C#
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
|
|
#pragma warning disable
|
|
using System;
|
|
using System.IO;
|
|
|
|
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls
|
|
{
|
|
public interface TlsSignerCredentials
|
|
: TlsCredentials
|
|
{
|
|
/// <exception cref="IOException"></exception>
|
|
byte[] GenerateCertificateSignature(byte[] hash);
|
|
|
|
SignatureAndHashAlgorithm SignatureAndHashAlgorithm { get; }
|
|
}
|
|
}
|
|
#pragma warning restore
|
|
#endif
|