mirror of
https://github.com/slackhq/nebula.git
synced 2025-11-22 08:24:25 +01:00
helper functions to more correctly marshal curve 25519 public keys (#1481)
This commit is contained in:
@@ -83,6 +83,10 @@ func (c *certificateV1) PublicKey() []byte {
|
||||
return c.details.publicKey
|
||||
}
|
||||
|
||||
func (c *certificateV1) MarshalPublicKeyPEM() []byte {
|
||||
return marshalCertPublicKeyToPEM(c)
|
||||
}
|
||||
|
||||
func (c *certificateV1) Signature() []byte {
|
||||
return c.signature
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user