forked from TrueCloudLab/frostfs-api-go
service: access Token message fields through getters and setters
This commit is contained in:
parent
091f953ebf
commit
c6971d2004
6 changed files with 36 additions and 43 deletions
|
@ -85,7 +85,7 @@ func (m Object) Verify() error {
|
|||
}
|
||||
pubkey = pkh.Value.(*Header_PublicKey).PublicKey.Value
|
||||
} else {
|
||||
pubkey = vh.Value.(*Header_Token).Token.SessionKey
|
||||
pubkey = vh.Value.(*Header_Token).Token.GetSessionKey()
|
||||
}
|
||||
|
||||
// Verify signature
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue