A Signature is a digital signature is a cryptographic "fingerprint" created with a private key, allowing others to verify the authenticity and integrity of a message using the corresponding public key
| 260 | // A Signature is a digital signature is a cryptographic "fingerprint" created with a private key, |
| 261 | // allowing others to verify the authenticity and integrity of a message using the corresponding public key |
| 262 | type Signature struct { |
| 263 | state protoimpl.MessageState `protogen:"open.v1"` |
| 264 | // public_key: is a cryptographic code shared openly, used to verify digital signatures |
| 265 | PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"publicKey"` // @gotags: json:"publicKey" |
| 266 | // signature: the bytes of the signature output from a private key which may be verified with the message and public |
| 267 | Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` |
| 268 | unknownFields protoimpl.UnknownFields |
| 269 | sizeCache protoimpl.SizeCache |
| 270 | } |
| 271 | |
| 272 | func (x *Signature) Reset() { |
| 273 | *x = Signature{} |
nothing calls this directly
no outgoing calls
no test coverage detected