mirror of
https://github.com/slackhq/nebula.git
synced 2025-11-22 16:34:25 +01:00
helper functions to more correctly marshal curve 25519 public keys (#1481)
This commit is contained in:
@@ -58,6 +58,9 @@ type Certificate interface {
|
||||
// PublicKey is the raw bytes to be used in asymmetric cryptographic operations.
|
||||
PublicKey() []byte
|
||||
|
||||
// MarshalPublicKeyPEM is the value of PublicKey marshalled to PEM
|
||||
MarshalPublicKeyPEM() []byte
|
||||
|
||||
// Curve identifies which curve was used for the PublicKey and Signature.
|
||||
Curve() Curve
|
||||
|
||||
|
||||
Reference in New Issue
Block a user