github.com/LagrangeDev/LagrangeGo@v0.0.0-20240512064304-ad4a85e10cb4/client/packets/pb/login/ecdh.pb.go (about) 1 // Code generated by protoc-gen-golite. DO NOT EDIT. 2 // source: pb/login/ecdh.proto 3 4 package login 5 6 import ( 7 proto "github.com/RomiChan/protobuf/proto" 8 ) 9 10 type SsoKeyExchange struct { 11 PubKey []byte `protobuf:"bytes,1,opt"` 12 Type int32 `protobuf:"varint,2,opt"` 13 GcmCalc1 []byte `protobuf:"bytes,3,opt"` 14 Timestamp uint32 `protobuf:"varint,4,opt"` 15 GcmCalc2 []byte `protobuf:"bytes,5,opt"` 16 } 17 18 type SsoKeyExchangeResponse struct { 19 GcmEncrypted []byte `protobuf:"bytes,1,opt"` 20 Body []byte `protobuf:"bytes,2,opt"` 21 PublicKey []byte `protobuf:"bytes,3,opt"` 22 } 23 24 type SsoKeyExchangeDecrypted struct { 25 GcmKey []byte `protobuf:"bytes,1,opt"` 26 Sign []byte `protobuf:"bytes,2,opt"` 27 Expiration uint32 `protobuf:"varint,3,opt"` 28 } 29 30 type SsoKeyExchangePlain struct { 31 Uin proto.Option[uint32] `protobuf:"varint,1,opt"` 32 Guid []byte `protobuf:"bytes,2,opt"` 33 }