ICipherBuilderWithKey.cs 535 B

1234567891011121314151617181920
  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. /// A cipher builder that can also return the key it was initialized with.
  8. /// </summary>
  9. public interface ICipherBuilderWithKey
  10. : ICipherBuilder
  11. {
  12. /// <summary>
  13. /// Return the key we were initialized with.
  14. /// </summary>
  15. ICipherParameters Key { get; }
  16. }
  17. }
  18. #pragma warning restore
  19. #endif