IRawAgreement.cs 418 B

1234567891011121314151617
  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. public interface IRawAgreement
  7. {
  8. void Init(ICipherParameters parameters);
  9. int AgreementSize { get; }
  10. void CalculateAgreement(ICipherParameters publicKey, byte[] buf, int off);
  11. }
  12. }
  13. #pragma warning restore
  14. #endif