IDecryptorBuilderProvider.cs 745 B

123456789101112131415161718192021
  1. #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
  2. #pragma warning disable
  3. using System;
  4. namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto
  5. {
  6. /// <summary>
  7. /// Interface describing a provider of cipher builders for creating decrypting ciphers.
  8. /// </summary>
  9. public interface IDecryptorBuilderProvider
  10. {
  11. /// <summary>
  12. /// Return a cipher builder for creating decrypting ciphers.
  13. /// </summary>
  14. /// <param name="algorithmDetails">The algorithm details/parameters to use to create the final cipher.</param>
  15. /// <returns>A new cipher builder.</returns>
  16. ICipherBuilder CreateDecryptorBuilder(object algorithmDetails);
  17. }
  18. }
  19. #pragma warning restore
  20. #endif