TlsSignerCredentials.cs 417 B

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