config.proto 706 B

1234567891011121314151617181920212223242526272829
  1. syntax = "proto3";
  2. package v2ray.core.transport.internet.tls;
  3. option csharp_namespace = "V2Ray.Core.Transport.Internet.Tls";
  4. option go_package = "tls";
  5. option java_package = "com.v2ray.core.transport.internet.tls";
  6. option java_multiple_files = true;
  7. message Certificate {
  8. // TLS certificate in x509 format.
  9. bytes Certificate = 1;
  10. // TLS key in x509 format.
  11. bytes Key = 2;
  12. }
  13. message Config {
  14. // Whether or not to allow self-signed certificates.
  15. bool allow_insecure = 1;
  16. // List of certificates to be served on server.
  17. repeated Certificate certificate = 2;
  18. // Override server name.
  19. string server_name = 3;
  20. // Lists of string as ALPN values.
  21. repeated string next_protocol = 4;
  22. }