forked from TrueCloudLab/frostfs-node
16 lines
240 B
Go
16 lines
240 B
Go
|
package control
|
||
|
|
||
|
// SetKey sets public key used for signing.
|
||
|
func (x *Signature) SetKey(v []byte) {
|
||
|
if x != nil {
|
||
|
x.Key = v
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// SetSign sets binary signature.
|
||
|
func (x *Signature) SetSign(v []byte) {
|
||
|
if x != nil {
|
||
|
x.Sign = v
|
||
|
}
|
||
|
}
|