service: defined OwnerKeyContainer and embed it to SessionInfo interface

This commit is contained in:
Leonard Lyubich 2020-05-15 16:03:47 +03:00
parent c8625b2c86
commit bc413f6280
2 changed files with 19 additions and 1 deletions

View file

@ -103,6 +103,11 @@ func (m *Token_Info) SetSessionKey(key []byte) {
m.SessionKey = key
}
// SetOwnerKey is an OwnerKey field setter.
func (m *Token_Info) SetOwnerKey(key []byte) {
m.OwnerKey = key
}
// SetSignature is a Signature field setter.
func (m *Token) SetSignature(sig []byte) {
m.Signature = sig