IControl.cs 684 B

1234567891011121314151617181920212223242526
  1. #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
  2. #pragma warning disable
  3. using System;
  4. using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1;
  5. namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crmf
  6. {
  7. /// <summary>
  8. /// Generic interface for a CertificateRequestMessage control value.
  9. /// </summary>
  10. public interface IControl
  11. {
  12. /// <summary>
  13. /// Return the type of this control.
  14. /// </summary>
  15. DerObjectIdentifier Type { get; }
  16. /// <summary>
  17. /// Return the value contained in this control object.
  18. /// </summary>
  19. Asn1Encodable Value { get; }
  20. }
  21. }
  22. #pragma warning restore
  23. #endif