Bewerken

Share via


Message.AuthenticationProviderType Property

Definition

Gets or sets the type of cryptographic provider used to generate the digital signature of the message.

public:
 property System::Messaging::CryptographicProviderType AuthenticationProviderType { System::Messaging::CryptographicProviderType get(); void set(System::Messaging::CryptographicProviderType value); };
[System.Messaging.MessagingDescription("MsgAuthenticationProviderType")]
public System.Messaging.CryptographicProviderType AuthenticationProviderType { get; set; }
[<System.Messaging.MessagingDescription("MsgAuthenticationProviderType")>]
member this.AuthenticationProviderType : System.Messaging.CryptographicProviderType with get, set
Public Property AuthenticationProviderType As CryptographicProviderType

Property Value

One of the CryptographicProviderType values. The default is RSA_FULL.

Attributes

Exceptions

The AuthenticationProviderType property could not be set.

-or-

The message queue is filtered to ignore the AuthenticationProviderType property.

Remarks

You typically use the AuthenticationProviderType property when working with foreign queues to specify which cryptographic service provider is associated with a message. Message Queuing requires the authentication provider name and authentication provider type of the cryptographic provider (authentication provider) to validate the digital signatures of both messages sent to a foreign queue and messages passed to Message Queuing from a foreign queue.

Only RsaFull is intended to be used with messaging.

When sending a message, always set the AuthenticationProviderType and ConnectorType properties together. When the message is sent, Message Queuing ignores the authentication provider type if the connector type is not also set.

Applies to

See also