Edit

Share via


EncryptedKeyIdentifierClause.CarriedKeyName Property

Definition

Gets a user-readable name that is associated with the encrypted key.

public:
 property System::String ^ CarriedKeyName { System::String ^ get(); };
public string CarriedKeyName { get; }
member this.CarriedKeyName : string
Public ReadOnly Property CarriedKeyName As String

Property Value

A user-readable name that is associated with the encrypted key.

Remarks

When the CarriedKeyName property is serialized into XML, it is placed in the <CarriedKeyName> element. For encrypted keys, 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.

Applies to