func (key RSAPublicKey) Marshal() ([]byte, error) {
	obj := publicKeyStructureRSA{
		Type:      key.Type(),
		Algorithm: key.Algorithm(),
		Modulus:   key.key.N.Bytes(),
		Exponent:  big.NewInt(int64(key.key.E)).Bytes(),
	}
	return cbor.Marshal(obj)
}
// Marshal marshals the key.
Marshal marshals the key.
// Marshal marshals the key .
func (key RSAPublicKey) Marshal() ([]byte, error) {
	obj := publicKeyStructureRSA{
		Type:      key.Type(),
		Algorithm: key.Algorithm(),
		Modulus:   key.key.N.Bytes(),
		Exponent:  big.NewInt(int64(key.key.E)).Bytes(),
	}
	return cbor.Marshal(obj)
}
func ( key RSAPublicKey ) Marshal ( ) ( [ ] byte , error ) { obj := publicKeyStructureRSA { Type : key . Type ( ) , Algorithm : key . Algorithm ( ) , Modulus : key . key . N . Bytes ( ) , Exponent : big . NewInt ( int64 ( key . key . E ) ) . Bytes ( ) , } return cbor . Marshal ( obj ) }
Marshal marshals the key.
Marshal marshals the key .