diff options
author | Gibheer <gibheer+git@zero-knowledge.org> | 2017-05-12 22:19:25 +0200 |
---|---|---|
committer | Gibheer <gibheer+git@zero-knowledge.org> | 2017-05-12 22:19:25 +0200 |
commit | e95929ed2641bf6548aada92d9d17a3441f19e2b (patch) | |
tree | c97488fbb3f89d313d452d74de635665f092be0e /types.go | |
parent | b6c44317f540dac8763e720767b0e73940a0b6c5 (diff) |
Add ToPem() to public keys
This was missing before from all public keys.
Diffstat (limited to 'types.go')
-rw-r--r-- | types.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -45,6 +45,7 @@ type ( // same functionality like verifying a message against a signature. PublicKey interface { Pemmer + PemOutput // This function can be used to verify a message against a provided signature // using the given hash function. Verify(message []byte, signature []byte, hash crypto.Hash) (bool, error) |