11 lines
178 B
Go
11 lines
178 B
Go
package webauthncose
|
|
|
|
import (
|
|
"crypto/ed25519"
|
|
"crypto/x509"
|
|
)
|
|
|
|
func marshalEd25519PublicKey(pub ed25519.PublicKey) ([]byte, error) {
|
|
return x509.MarshalPKIXPublicKey(pub)
|
|
}
|