return pubkey from signature data

This commit is contained in:
Andrea Franz 2019-03-19 15:11:55 +01:00
parent 82fd80e88b
commit 72d8e3de8b
No known key found for this signature in database
GPG Key ID: 4F0D2F2D9DE7F29D
1 changed files with 4 additions and 0 deletions

View File

@ -51,6 +51,10 @@ func ParseSignature(message, resp []byte) (*Signature, error) {
}, nil
}
func (s *Signature) PubKey() []byte {
return s.pubKey
}
func (s *Signature) R() []byte {
return s.r
}