config.proto 524 B

12345678910111213141516171819202122
  1. syntax = "proto3";
  2. package v2ray.core.transport.internet.tls;
  3. option go_package = "tls";
  4. option java_package = "com.v2ray.core.transport.internet.tls";
  5. option java_outer_classname = "ConfigProto";
  6. message Certificate {
  7. // TLS certificate in x509 format.
  8. bytes Certificate = 1;
  9. // TLS key in x509 format.
  10. bytes Key = 2;
  11. }
  12. message Config {
  13. // Whether or not to allow self-signed certificates.
  14. bool allow_insecure = 1;
  15. // List of certificates to be served on server.
  16. repeated Certificate certificate = 2;
  17. }