3
0

cert.pb.go 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.28.0
  4. // protoc v3.19.4
  5. // source: cert.proto
  6. package cert
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. reflect "reflect"
  11. sync "sync"
  12. )
  13. const (
  14. // Verify that this generated code is sufficiently up-to-date.
  15. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  16. // Verify that runtime/protoimpl is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  18. )
  19. type RawNebulaCertificate struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. Details *RawNebulaCertificateDetails `protobuf:"bytes,1,opt,name=Details,proto3" json:"Details,omitempty"`
  24. Signature []byte `protobuf:"bytes,2,opt,name=Signature,proto3" json:"Signature,omitempty"`
  25. }
  26. func (x *RawNebulaCertificate) Reset() {
  27. *x = RawNebulaCertificate{}
  28. if protoimpl.UnsafeEnabled {
  29. mi := &file_cert_proto_msgTypes[0]
  30. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  31. ms.StoreMessageInfo(mi)
  32. }
  33. }
  34. func (x *RawNebulaCertificate) String() string {
  35. return protoimpl.X.MessageStringOf(x)
  36. }
  37. func (*RawNebulaCertificate) ProtoMessage() {}
  38. func (x *RawNebulaCertificate) ProtoReflect() protoreflect.Message {
  39. mi := &file_cert_proto_msgTypes[0]
  40. if protoimpl.UnsafeEnabled && x != nil {
  41. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  42. if ms.LoadMessageInfo() == nil {
  43. ms.StoreMessageInfo(mi)
  44. }
  45. return ms
  46. }
  47. return mi.MessageOf(x)
  48. }
  49. // Deprecated: Use RawNebulaCertificate.ProtoReflect.Descriptor instead.
  50. func (*RawNebulaCertificate) Descriptor() ([]byte, []int) {
  51. return file_cert_proto_rawDescGZIP(), []int{0}
  52. }
  53. func (x *RawNebulaCertificate) GetDetails() *RawNebulaCertificateDetails {
  54. if x != nil {
  55. return x.Details
  56. }
  57. return nil
  58. }
  59. func (x *RawNebulaCertificate) GetSignature() []byte {
  60. if x != nil {
  61. return x.Signature
  62. }
  63. return nil
  64. }
  65. type RawNebulaCertificateDetails struct {
  66. state protoimpl.MessageState
  67. sizeCache protoimpl.SizeCache
  68. unknownFields protoimpl.UnknownFields
  69. Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
  70. // Ips and Subnets are in big endian 32 bit pairs, 1st the ip, 2nd the mask
  71. Ips []uint32 `protobuf:"varint,2,rep,packed,name=Ips,proto3" json:"Ips,omitempty"`
  72. Subnets []uint32 `protobuf:"varint,3,rep,packed,name=Subnets,proto3" json:"Subnets,omitempty"`
  73. Groups []string `protobuf:"bytes,4,rep,name=Groups,proto3" json:"Groups,omitempty"`
  74. NotBefore int64 `protobuf:"varint,5,opt,name=NotBefore,proto3" json:"NotBefore,omitempty"`
  75. NotAfter int64 `protobuf:"varint,6,opt,name=NotAfter,proto3" json:"NotAfter,omitempty"`
  76. PublicKey []byte `protobuf:"bytes,7,opt,name=PublicKey,proto3" json:"PublicKey,omitempty"`
  77. IsCA bool `protobuf:"varint,8,opt,name=IsCA,proto3" json:"IsCA,omitempty"`
  78. // sha-256 of the issuer certificate, if this field is blank the cert is self-signed
  79. Issuer []byte `protobuf:"bytes,9,opt,name=Issuer,proto3" json:"Issuer,omitempty"`
  80. }
  81. func (x *RawNebulaCertificateDetails) Reset() {
  82. *x = RawNebulaCertificateDetails{}
  83. if protoimpl.UnsafeEnabled {
  84. mi := &file_cert_proto_msgTypes[1]
  85. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  86. ms.StoreMessageInfo(mi)
  87. }
  88. }
  89. func (x *RawNebulaCertificateDetails) String() string {
  90. return protoimpl.X.MessageStringOf(x)
  91. }
  92. func (*RawNebulaCertificateDetails) ProtoMessage() {}
  93. func (x *RawNebulaCertificateDetails) ProtoReflect() protoreflect.Message {
  94. mi := &file_cert_proto_msgTypes[1]
  95. if protoimpl.UnsafeEnabled && x != nil {
  96. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  97. if ms.LoadMessageInfo() == nil {
  98. ms.StoreMessageInfo(mi)
  99. }
  100. return ms
  101. }
  102. return mi.MessageOf(x)
  103. }
  104. // Deprecated: Use RawNebulaCertificateDetails.ProtoReflect.Descriptor instead.
  105. func (*RawNebulaCertificateDetails) Descriptor() ([]byte, []int) {
  106. return file_cert_proto_rawDescGZIP(), []int{1}
  107. }
  108. func (x *RawNebulaCertificateDetails) GetName() string {
  109. if x != nil {
  110. return x.Name
  111. }
  112. return ""
  113. }
  114. func (x *RawNebulaCertificateDetails) GetIps() []uint32 {
  115. if x != nil {
  116. return x.Ips
  117. }
  118. return nil
  119. }
  120. func (x *RawNebulaCertificateDetails) GetSubnets() []uint32 {
  121. if x != nil {
  122. return x.Subnets
  123. }
  124. return nil
  125. }
  126. func (x *RawNebulaCertificateDetails) GetGroups() []string {
  127. if x != nil {
  128. return x.Groups
  129. }
  130. return nil
  131. }
  132. func (x *RawNebulaCertificateDetails) GetNotBefore() int64 {
  133. if x != nil {
  134. return x.NotBefore
  135. }
  136. return 0
  137. }
  138. func (x *RawNebulaCertificateDetails) GetNotAfter() int64 {
  139. if x != nil {
  140. return x.NotAfter
  141. }
  142. return 0
  143. }
  144. func (x *RawNebulaCertificateDetails) GetPublicKey() []byte {
  145. if x != nil {
  146. return x.PublicKey
  147. }
  148. return nil
  149. }
  150. func (x *RawNebulaCertificateDetails) GetIsCA() bool {
  151. if x != nil {
  152. return x.IsCA
  153. }
  154. return false
  155. }
  156. func (x *RawNebulaCertificateDetails) GetIssuer() []byte {
  157. if x != nil {
  158. return x.Issuer
  159. }
  160. return nil
  161. }
  162. type RawNebulaEncryptedData struct {
  163. state protoimpl.MessageState
  164. sizeCache protoimpl.SizeCache
  165. unknownFields protoimpl.UnknownFields
  166. EncryptionMetadata *RawNebulaEncryptionMetadata `protobuf:"bytes,1,opt,name=EncryptionMetadata,proto3" json:"EncryptionMetadata,omitempty"`
  167. Ciphertext []byte `protobuf:"bytes,2,opt,name=Ciphertext,proto3" json:"Ciphertext,omitempty"`
  168. }
  169. func (x *RawNebulaEncryptedData) Reset() {
  170. *x = RawNebulaEncryptedData{}
  171. if protoimpl.UnsafeEnabled {
  172. mi := &file_cert_proto_msgTypes[2]
  173. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  174. ms.StoreMessageInfo(mi)
  175. }
  176. }
  177. func (x *RawNebulaEncryptedData) String() string {
  178. return protoimpl.X.MessageStringOf(x)
  179. }
  180. func (*RawNebulaEncryptedData) ProtoMessage() {}
  181. func (x *RawNebulaEncryptedData) ProtoReflect() protoreflect.Message {
  182. mi := &file_cert_proto_msgTypes[2]
  183. if protoimpl.UnsafeEnabled && x != nil {
  184. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  185. if ms.LoadMessageInfo() == nil {
  186. ms.StoreMessageInfo(mi)
  187. }
  188. return ms
  189. }
  190. return mi.MessageOf(x)
  191. }
  192. // Deprecated: Use RawNebulaEncryptedData.ProtoReflect.Descriptor instead.
  193. func (*RawNebulaEncryptedData) Descriptor() ([]byte, []int) {
  194. return file_cert_proto_rawDescGZIP(), []int{2}
  195. }
  196. func (x *RawNebulaEncryptedData) GetEncryptionMetadata() *RawNebulaEncryptionMetadata {
  197. if x != nil {
  198. return x.EncryptionMetadata
  199. }
  200. return nil
  201. }
  202. func (x *RawNebulaEncryptedData) GetCiphertext() []byte {
  203. if x != nil {
  204. return x.Ciphertext
  205. }
  206. return nil
  207. }
  208. type RawNebulaEncryptionMetadata struct {
  209. state protoimpl.MessageState
  210. sizeCache protoimpl.SizeCache
  211. unknownFields protoimpl.UnknownFields
  212. EncryptionAlgorithm string `protobuf:"bytes,1,opt,name=EncryptionAlgorithm,proto3" json:"EncryptionAlgorithm,omitempty"`
  213. Argon2Parameters *RawNebulaArgon2Parameters `protobuf:"bytes,2,opt,name=Argon2Parameters,proto3" json:"Argon2Parameters,omitempty"`
  214. }
  215. func (x *RawNebulaEncryptionMetadata) Reset() {
  216. *x = RawNebulaEncryptionMetadata{}
  217. if protoimpl.UnsafeEnabled {
  218. mi := &file_cert_proto_msgTypes[3]
  219. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  220. ms.StoreMessageInfo(mi)
  221. }
  222. }
  223. func (x *RawNebulaEncryptionMetadata) String() string {
  224. return protoimpl.X.MessageStringOf(x)
  225. }
  226. func (*RawNebulaEncryptionMetadata) ProtoMessage() {}
  227. func (x *RawNebulaEncryptionMetadata) ProtoReflect() protoreflect.Message {
  228. mi := &file_cert_proto_msgTypes[3]
  229. if protoimpl.UnsafeEnabled && x != nil {
  230. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  231. if ms.LoadMessageInfo() == nil {
  232. ms.StoreMessageInfo(mi)
  233. }
  234. return ms
  235. }
  236. return mi.MessageOf(x)
  237. }
  238. // Deprecated: Use RawNebulaEncryptionMetadata.ProtoReflect.Descriptor instead.
  239. func (*RawNebulaEncryptionMetadata) Descriptor() ([]byte, []int) {
  240. return file_cert_proto_rawDescGZIP(), []int{3}
  241. }
  242. func (x *RawNebulaEncryptionMetadata) GetEncryptionAlgorithm() string {
  243. if x != nil {
  244. return x.EncryptionAlgorithm
  245. }
  246. return ""
  247. }
  248. func (x *RawNebulaEncryptionMetadata) GetArgon2Parameters() *RawNebulaArgon2Parameters {
  249. if x != nil {
  250. return x.Argon2Parameters
  251. }
  252. return nil
  253. }
  254. type RawNebulaArgon2Parameters struct {
  255. state protoimpl.MessageState
  256. sizeCache protoimpl.SizeCache
  257. unknownFields protoimpl.UnknownFields
  258. Version int32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` // rune in Go
  259. Memory uint32 `protobuf:"varint,2,opt,name=memory,proto3" json:"memory,omitempty"`
  260. Parallelism uint32 `protobuf:"varint,4,opt,name=parallelism,proto3" json:"parallelism,omitempty"` // uint8 in Go
  261. Iterations uint32 `protobuf:"varint,3,opt,name=iterations,proto3" json:"iterations,omitempty"`
  262. Salt []byte `protobuf:"bytes,5,opt,name=salt,proto3" json:"salt,omitempty"`
  263. }
  264. func (x *RawNebulaArgon2Parameters) Reset() {
  265. *x = RawNebulaArgon2Parameters{}
  266. if protoimpl.UnsafeEnabled {
  267. mi := &file_cert_proto_msgTypes[4]
  268. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  269. ms.StoreMessageInfo(mi)
  270. }
  271. }
  272. func (x *RawNebulaArgon2Parameters) String() string {
  273. return protoimpl.X.MessageStringOf(x)
  274. }
  275. func (*RawNebulaArgon2Parameters) ProtoMessage() {}
  276. func (x *RawNebulaArgon2Parameters) ProtoReflect() protoreflect.Message {
  277. mi := &file_cert_proto_msgTypes[4]
  278. if protoimpl.UnsafeEnabled && x != nil {
  279. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  280. if ms.LoadMessageInfo() == nil {
  281. ms.StoreMessageInfo(mi)
  282. }
  283. return ms
  284. }
  285. return mi.MessageOf(x)
  286. }
  287. // Deprecated: Use RawNebulaArgon2Parameters.ProtoReflect.Descriptor instead.
  288. func (*RawNebulaArgon2Parameters) Descriptor() ([]byte, []int) {
  289. return file_cert_proto_rawDescGZIP(), []int{4}
  290. }
  291. func (x *RawNebulaArgon2Parameters) GetVersion() int32 {
  292. if x != nil {
  293. return x.Version
  294. }
  295. return 0
  296. }
  297. func (x *RawNebulaArgon2Parameters) GetMemory() uint32 {
  298. if x != nil {
  299. return x.Memory
  300. }
  301. return 0
  302. }
  303. func (x *RawNebulaArgon2Parameters) GetParallelism() uint32 {
  304. if x != nil {
  305. return x.Parallelism
  306. }
  307. return 0
  308. }
  309. func (x *RawNebulaArgon2Parameters) GetIterations() uint32 {
  310. if x != nil {
  311. return x.Iterations
  312. }
  313. return 0
  314. }
  315. func (x *RawNebulaArgon2Parameters) GetSalt() []byte {
  316. if x != nil {
  317. return x.Salt
  318. }
  319. return nil
  320. }
  321. var File_cert_proto protoreflect.FileDescriptor
  322. var file_cert_proto_rawDesc = []byte{
  323. 0x0a, 0x0a, 0x63, 0x65, 0x72, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x04, 0x63, 0x65,
  324. 0x72, 0x74, 0x22, 0x71, 0x0a, 0x14, 0x52, 0x61, 0x77, 0x4e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x43,
  325. 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x3b, 0x0a, 0x07, 0x44, 0x65,
  326. 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x65,
  327. 0x72, 0x74, 0x2e, 0x52, 0x61, 0x77, 0x4e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x43, 0x65, 0x72, 0x74,
  328. 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x07,
  329. 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x53, 0x69, 0x67, 0x6e, 0x61,
  330. 0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x53, 0x69, 0x67, 0x6e,
  331. 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0xf9, 0x01, 0x0a, 0x1b, 0x52, 0x61, 0x77, 0x4e, 0x65, 0x62,
  332. 0x75, 0x6c, 0x61, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x44, 0x65,
  333. 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
  334. 0x01, 0x28, 0x09, 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x49, 0x70, 0x73,
  335. 0x18, 0x02, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x03, 0x49, 0x70, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x53,
  336. 0x75, 0x62, 0x6e, 0x65, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x07, 0x53, 0x75,
  337. 0x62, 0x6e, 0x65, 0x74, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18,
  338. 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x1c, 0x0a,
  339. 0x09, 0x4e, 0x6f, 0x74, 0x42, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03,
  340. 0x52, 0x09, 0x4e, 0x6f, 0x74, 0x42, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x4e,
  341. 0x6f, 0x74, 0x41, 0x66, 0x74, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x4e,
  342. 0x6f, 0x74, 0x41, 0x66, 0x74, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x50, 0x75, 0x62, 0x6c, 0x69,
  343. 0x63, 0x4b, 0x65, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x50, 0x75, 0x62, 0x6c,
  344. 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x49, 0x73, 0x43, 0x41, 0x18, 0x08, 0x20,
  345. 0x01, 0x28, 0x08, 0x52, 0x04, 0x49, 0x73, 0x43, 0x41, 0x12, 0x16, 0x0a, 0x06, 0x49, 0x73, 0x73,
  346. 0x75, 0x65, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x49, 0x73, 0x73, 0x75, 0x65,
  347. 0x72, 0x22, 0x8b, 0x01, 0x0a, 0x16, 0x52, 0x61, 0x77, 0x4e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x45,
  348. 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, 0x12, 0x51, 0x0a, 0x12,
  349. 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
  350. 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x65, 0x72, 0x74, 0x2e,
  351. 0x52, 0x61, 0x77, 0x4e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74,
  352. 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x12, 0x45, 0x6e, 0x63,
  353. 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12,
  354. 0x1e, 0x0a, 0x0a, 0x43, 0x69, 0x70, 0x68, 0x65, 0x72, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20,
  355. 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x43, 0x69, 0x70, 0x68, 0x65, 0x72, 0x74, 0x65, 0x78, 0x74, 0x22,
  356. 0x9c, 0x01, 0x0a, 0x1b, 0x52, 0x61, 0x77, 0x4e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x45, 0x6e, 0x63,
  357. 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12,
  358. 0x30, 0x0a, 0x13, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x6c, 0x67,
  359. 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x45, 0x6e,
  360. 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68,
  361. 0x6d, 0x12, 0x4b, 0x0a, 0x10, 0x41, 0x72, 0x67, 0x6f, 0x6e, 0x32, 0x50, 0x61, 0x72, 0x61, 0x6d,
  362. 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x63, 0x65,
  363. 0x72, 0x74, 0x2e, 0x52, 0x61, 0x77, 0x4e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x41, 0x72, 0x67, 0x6f,
  364. 0x6e, 0x32, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x52, 0x10, 0x41, 0x72,
  365. 0x67, 0x6f, 0x6e, 0x32, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x22, 0xa3,
  366. 0x01, 0x0a, 0x19, 0x52, 0x61, 0x77, 0x4e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x41, 0x72, 0x67, 0x6f,
  367. 0x6e, 0x32, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x18, 0x0a, 0x07,
  368. 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x76,
  369. 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79,
  370. 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x12, 0x20,
  371. 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c, 0x69, 0x73, 0x6d, 0x18, 0x04, 0x20,
  372. 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c, 0x69, 0x73, 0x6d,
  373. 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x74, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03,
  374. 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x69, 0x74, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
  375. 0x12, 0x12, 0x0a, 0x04, 0x73, 0x61, 0x6c, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04,
  376. 0x73, 0x61, 0x6c, 0x74, 0x42, 0x20, 0x5a, 0x1e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63,
  377. 0x6f, 0x6d, 0x2f, 0x73, 0x6c, 0x61, 0x63, 0x6b, 0x68, 0x71, 0x2f, 0x6e, 0x65, 0x62, 0x75, 0x6c,
  378. 0x61, 0x2f, 0x63, 0x65, 0x72, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  379. }
  380. var (
  381. file_cert_proto_rawDescOnce sync.Once
  382. file_cert_proto_rawDescData = file_cert_proto_rawDesc
  383. )
  384. func file_cert_proto_rawDescGZIP() []byte {
  385. file_cert_proto_rawDescOnce.Do(func() {
  386. file_cert_proto_rawDescData = protoimpl.X.CompressGZIP(file_cert_proto_rawDescData)
  387. })
  388. return file_cert_proto_rawDescData
  389. }
  390. var file_cert_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
  391. var file_cert_proto_goTypes = []interface{}{
  392. (*RawNebulaCertificate)(nil), // 0: cert.RawNebulaCertificate
  393. (*RawNebulaCertificateDetails)(nil), // 1: cert.RawNebulaCertificateDetails
  394. (*RawNebulaEncryptedData)(nil), // 2: cert.RawNebulaEncryptedData
  395. (*RawNebulaEncryptionMetadata)(nil), // 3: cert.RawNebulaEncryptionMetadata
  396. (*RawNebulaArgon2Parameters)(nil), // 4: cert.RawNebulaArgon2Parameters
  397. }
  398. var file_cert_proto_depIdxs = []int32{
  399. 1, // 0: cert.RawNebulaCertificate.Details:type_name -> cert.RawNebulaCertificateDetails
  400. 3, // 1: cert.RawNebulaEncryptedData.EncryptionMetadata:type_name -> cert.RawNebulaEncryptionMetadata
  401. 4, // 2: cert.RawNebulaEncryptionMetadata.Argon2Parameters:type_name -> cert.RawNebulaArgon2Parameters
  402. 3, // [3:3] is the sub-list for method output_type
  403. 3, // [3:3] is the sub-list for method input_type
  404. 3, // [3:3] is the sub-list for extension type_name
  405. 3, // [3:3] is the sub-list for extension extendee
  406. 0, // [0:3] is the sub-list for field type_name
  407. }
  408. func init() { file_cert_proto_init() }
  409. func file_cert_proto_init() {
  410. if File_cert_proto != nil {
  411. return
  412. }
  413. if !protoimpl.UnsafeEnabled {
  414. file_cert_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  415. switch v := v.(*RawNebulaCertificate); i {
  416. case 0:
  417. return &v.state
  418. case 1:
  419. return &v.sizeCache
  420. case 2:
  421. return &v.unknownFields
  422. default:
  423. return nil
  424. }
  425. }
  426. file_cert_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  427. switch v := v.(*RawNebulaCertificateDetails); i {
  428. case 0:
  429. return &v.state
  430. case 1:
  431. return &v.sizeCache
  432. case 2:
  433. return &v.unknownFields
  434. default:
  435. return nil
  436. }
  437. }
  438. file_cert_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  439. switch v := v.(*RawNebulaEncryptedData); i {
  440. case 0:
  441. return &v.state
  442. case 1:
  443. return &v.sizeCache
  444. case 2:
  445. return &v.unknownFields
  446. default:
  447. return nil
  448. }
  449. }
  450. file_cert_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  451. switch v := v.(*RawNebulaEncryptionMetadata); i {
  452. case 0:
  453. return &v.state
  454. case 1:
  455. return &v.sizeCache
  456. case 2:
  457. return &v.unknownFields
  458. default:
  459. return nil
  460. }
  461. }
  462. file_cert_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  463. switch v := v.(*RawNebulaArgon2Parameters); i {
  464. case 0:
  465. return &v.state
  466. case 1:
  467. return &v.sizeCache
  468. case 2:
  469. return &v.unknownFields
  470. default:
  471. return nil
  472. }
  473. }
  474. }
  475. type x struct{}
  476. out := protoimpl.TypeBuilder{
  477. File: protoimpl.DescBuilder{
  478. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  479. RawDescriptor: file_cert_proto_rawDesc,
  480. NumEnums: 0,
  481. NumMessages: 5,
  482. NumExtensions: 0,
  483. NumServices: 0,
  484. },
  485. GoTypes: file_cert_proto_goTypes,
  486. DependencyIndexes: file_cert_proto_depIdxs,
  487. MessageInfos: file_cert_proto_msgTypes,
  488. }.Build()
  489. File_cert_proto = out.File
  490. file_cert_proto_rawDesc = nil
  491. file_cert_proto_goTypes = nil
  492. file_cert_proto_depIdxs = nil
  493. }