IBcpgKey.cs 681 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.Bcpg
  5. {
  6. /// <remarks>Base interface for a PGP key.</remarks>
  7. public interface IBcpgKey
  8. {
  9. /// <summary>
  10. /// The base format for this key - in the case of the symmetric keys it will generally
  11. /// be raw indicating that the key is just a straight byte representation, for an asymmetric
  12. /// key the format will be PGP, indicating the key is a string of MPIs encoded in PGP format.
  13. /// </summary>
  14. /// <returns>"RAW" or "PGP".</returns>
  15. string Format { get; }
  16. }
  17. }
  18. #pragma warning restore
  19. #endif