From e95929ed2641bf6548aada92d9d17a3441f19e2b Mon Sep 17 00:00:00 2001 From: Gibheer Date: Fri, 12 May 2017 22:19:25 +0200 Subject: Add ToPem() to public keys This was missing before from all public keys. --- types.go | 1 + 1 file changed, 1 insertion(+) (limited to 'types.go') 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) -- cgit v1.2.3-70-g09d2