func (key EdDSAPublicKey) Marshal() ([]byte, error) {
	obj := publicKeyStructureOKP{
		Type:        key.Type(),
		Algorithm:   key.Algorithm(),
		Curve:       CurveEd25519,
		XCoordinate: key.key,
	}
	return cbor.Marshal(obj)
}
// Marshal marshals the key.
Marshal marshals the key.
// Marshal marshals the key .
func (key EdDSAPublicKey) Marshal() ([]byte, error) {
	obj := publicKeyStructureOKP{
		Type:        key.Type(),
		Algorithm:   key.Algorithm(),
		Curve:       CurveEd25519,
		XCoordinate: key.key,
	}
	return cbor.Marshal(obj)
}
func ( key EdDSAPublicKey ) Marshal ( ) ( [ ] byte , error ) { obj := publicKeyStructureOKP { Type : key . Type ( ) , Algorithm : key . Algorithm ( ) , Curve : CurveEd25519 , XCoordinate : key . key , } return cbor . Marshal ( obj ) }
Marshal marshals the key.
Marshal marshals the key .