System.Security.Cryptography.Xml.EncryptedKey.CarriedKeyName Property

Gets or sets the optional <CarriedKeyName> element in XML encryption.

Syntax

public string CarriedKeyName { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

The <CarriedKeyName> element is an optional element that associates a user-readable name with a key value. This name can then be used to reference the key using the <KeyName> element within the <KeyInfo> element. The same <CarriedKeyName> element value, unlike an ID value, can occur multiple times within a single document. The value of the key must be the same in all <EncryptedKey> elements identified with the same <CarriedKeyName> name within an XML document. Note that because white space is significant in the value of the <KeyName> element, white space is also significant in the value of the <CarriedKeyName> element.

Requirements

Namespace: System.Security.Cryptography.Xml
Assembly: System.Security (in System.Security.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0