Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RatchetState ¶
type RatchetState struct {
RootKey []byte `json:"rootKey"`
SendHeaderKey []byte `json:"sendHeaderKey"`
RecvHeaderKey []byte `json:"recvHeaderKey"`
NextSendHeaderKey []byte `json:"nextSendHeaderKey"`
NextRecvHeaderKey []byte `json:"nextRecvHeaderKey"`
PrevRecvHeaderKey []byte `json:"prevRecvHeaderKey"`
SendChainKey []byte `json:"sendChainKey"`
RecvChainKey []byte `json:"recvChainKey"`
SendRatchetPrivate []byte `json:"sendPrivate"`
RecvRatchetPublic []byte `json:"recvPublic"`
SendCount uint32 `json:"sendCount"`
RecvCount uint32 `json:"recvCount"`
PrevSendCount uint32 `json:"prevSendCount"`
PrevRecvCount uint32 `json:"prevRecvCount"`
Ratchet bool `json:"ratchet"`
KXPrivate []byte `json:"kxprivate"`
MyHalf []byte `json:"myHalf"`
TheirHalf []byte `json:"theirHalf"`
SavedKeys []RatchetState_SavedKeys `json:"savedKeys"`
LastEncryptTime int64 `json:"lastEncryptTime"`
LastDecryptTime int64 `json:"lastDencryptTime"`
}
type RatchetState_SavedKeys ¶
type RatchetState_SavedKeys struct {
HeaderKey []byte `json:"headerKey"`
MessageKeys []RatchetState_SavedKeys_MessageKey `json:"messageKeys"`
}
Click to show internal directories.
Click to hide internal directories.