I'm trying to encrypt the body of my msmq messages by
setting the UseEncryption property on the message. This throws an
exception UnsupportedFormatNameOperation. I'm using msmq for ipc on a
single server, the queues are all private and there is no AD domain -
the server is a member of an NT4 domain. I'm specifying the queue as
".\private$\QueueName" and everything works fine until I enable the
UseEncryption switch.

I haven't been able to find any info in MSDN relating to this; msdn
just says the requirements are the standard platforms (Windows 98,
Windows NT 4.0, etc).

The alternative is to encrypt the data myself prior to sending but that
seems like a lot of effort when UseEncryption should be able to provide
the same functionality.

Any clues would be much appreciated.

Thanks
Dave

RE: Can't UseEncryption with MSMQ by CG

CG
Wed Nov 09 18:48:13 CST 2005

Did you try to use EncryptionAlgorithm property?

It may be expecting what type of algorithm you want to use.

"Dave" wrote:

> I'm trying to encrypt the body of my msmq messages by
> setting the UseEncryption property on the message. This throws an
> exception UnsupportedFormatNameOperation. I'm using msmq for ipc on a
> single server, the queues are all private and there is no AD domain -
> the server is a member of an NT4 domain. I'm specifying the queue as
> ".\private$\QueueName" and everything works fine until I enable the
> UseEncryption switch.
>
> I haven't been able to find any info in MSDN relating to this; msdn
> just says the requirements are the standard platforms (Windows 98,
> Windows NT 4.0, etc).
>
> The alternative is to encrypt the data myself prior to sending but that
> seems like a lot of effort when UseEncryption should be able to provide
> the same functionality.
>
> Any clues would be much appreciated.
>
> Thanks
> Dave
>
>

Re: Can't UseEncryption with MSMQ by Dave

Dave
Wed Nov 09 21:27:32 CST 2005

I didn't try that, the default for EncryptionAlgorithm is RC2 which is
fine.