EncryptedXml.DecryptEncryptedKey(EncryptedKey) Yöntem

Tanım

öğesinin temsil ettiği EncryptedKey anahtarı belirler.

public:
 virtual cli::array <System::Byte> ^ DecryptEncryptedKey(System::Security::Cryptography::Xml::EncryptedKey ^ encryptedKey);
public virtual byte[]? DecryptEncryptedKey(System.Security.Cryptography.Xml.EncryptedKey encryptedKey);
public virtual byte[] DecryptEncryptedKey(System.Security.Cryptography.Xml.EncryptedKey encryptedKey);
abstract member DecryptEncryptedKey : System.Security.Cryptography.Xml.EncryptedKey -> byte[]
override this.DecryptEncryptedKey : System.Security.Cryptography.Xml.EncryptedKey -> byte[]
Public Overridable Function DecryptEncryptedKey (encryptedKey As EncryptedKey) As Byte()

Parametreler

encryptedKey
EncryptedKey

Alınacak EncryptedKey anahtarı içeren nesne.

Döndürülenler

Byte[]

Anahtarı içeren bir bayt dizisi.

Özel durumlar

parametresinin encryptedKey değeridir null.

Parametresinin encryptedKey değeri Üçlü DES Anahtar Sarmalama algoritması veya Gelişmiş Şifreleme Standardı (AES) Anahtar Sarma algoritması (Rijndael olarak da adlandırılır) değildir.

Açıklamalar

yöntemi, DecryptEncryptedKey XML belgesinin <EncryptedKey> öğesinde bulunan şifrelenmiş anahtarın şifresini çözer.

Bu özyinelemeli yöntem, nesnesi tarafından EncryptedKey temsil edilen anahtarı bulur. Bir EncryptedKey nesnenin değerini belirten EncryptedKey başka bir KeyInfo nesne içerebileceğini unutmayın.

Şunlara uygulanır