-
Notifications
You must be signed in to change notification settings - Fork 19
/
ecdh.pb.go
33 lines (27 loc) · 898 Bytes
/
ecdh.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// Code generated by protoc-gen-golite. DO NOT EDIT.
// source: pb/login/ecdh.proto
package login
import (
proto "github.com/RomiChan/protobuf/proto"
)
type SsoKeyExchange struct {
PubKey []byte `protobuf:"bytes,1,opt"`
Type int32 `protobuf:"varint,2,opt"`
GcmCalc1 []byte `protobuf:"bytes,3,opt"`
Timestamp uint32 `protobuf:"varint,4,opt"`
GcmCalc2 []byte `protobuf:"bytes,5,opt"`
}
type SsoKeyExchangeResponse struct {
GcmEncrypted []byte `protobuf:"bytes,1,opt"`
Body []byte `protobuf:"bytes,2,opt"`
PublicKey []byte `protobuf:"bytes,3,opt"`
}
type SsoKeyExchangeDecrypted struct {
GcmKey []byte `protobuf:"bytes,1,opt"`
Sign []byte `protobuf:"bytes,2,opt"`
Expiration uint32 `protobuf:"varint,3,opt"`
}
type SsoKeyExchangePlain struct {
Uin proto.Option[uint32] `protobuf:"varint,1,opt"`
Guid []byte `protobuf:"bytes,2,opt"`
}