KeyInfoEncryptedKey.EncryptedKey Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets an EncryptedKey object that encapsulates an encrypted key.
public:
property System::Security::Cryptography::Xml::EncryptedKey ^ EncryptedKey { System::Security::Cryptography::Xml::EncryptedKey ^ get(); void set(System::Security::Cryptography::Xml::EncryptedKey ^ value); };
public System.Security.Cryptography.Xml.EncryptedKey? EncryptedKey { get; set; }
public System.Security.Cryptography.Xml.EncryptedKey EncryptedKey { get; set; }
member this.EncryptedKey : System.Security.Cryptography.Xml.EncryptedKey with get, set
Public Property EncryptedKey As EncryptedKey
Property Value
An EncryptedKey object that encapsulates an encrypted key.
Exceptions
The EncryptedKey property is null
.
Remarks
The KeyInfoEncryptedKey class wraps the EncryptedKey class, which allows you to add the EncryptedKey class as a subelement of the KeyInfo class. Use the EncryptedKey property to access the EncryptedKey class contained within the KeyInfoEncryptedKey class.