TlsSignerCredentials.cs 487 B

123456789101112131415161718
  1. #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
  2. #pragma warning disable
  3. using System;
  4. using System.IO;
  5. namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls
  6. {
  7. public interface TlsSignerCredentials
  8. : TlsCredentials
  9. {
  10. /// <exception cref="IOException"></exception>
  11. byte[] GenerateCertificateSignature(byte[] hash);
  12. SignatureAndHashAlgorithm SignatureAndHashAlgorithm { get; }
  13. }
  14. }
  15. #pragma warning restore
  16. #endif