aboutsummaryrefslogtreecommitdiff
path: root/types.go
diff options
context:
space:
mode:
authorGibheer <gibheer+git@zero-knowledge.org>2017-05-12 22:19:25 +0200
committerGibheer <gibheer+git@zero-knowledge.org>2017-05-12 22:19:25 +0200
commite95929ed2641bf6548aada92d9d17a3441f19e2b (patch)
treec97488fbb3f89d313d452d74de635665f092be0e /types.go
parentb6c44317f540dac8763e720767b0e73940a0b6c5 (diff)
Add ToPem() to public keys
This was missing before from all public keys.
Diffstat (limited to 'types.go')
-rw-r--r--types.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/types.go b/types.go
index 53db1a9..f2c6902 100644
--- a/types.go
+++ b/types.go
@@ -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)