EncryptedXml.GetDecryptionIV(EncryptedData, String) Metoda

Definice

Načte dešifrovací inicializační vektor (IV) z objektu EncryptedData .

public:
 virtual cli::array <System::Byte> ^ GetDecryptionIV(System::Security::Cryptography::Xml::EncryptedData ^ encryptedData, System::String ^ symmetricAlgorithmUri);
public virtual byte[] GetDecryptionIV(System.Security.Cryptography.Xml.EncryptedData encryptedData, string symmetricAlgorithmUri);
abstract member GetDecryptionIV : System.Security.Cryptography.Xml.EncryptedData * string -> byte[]
override this.GetDecryptionIV : System.Security.Cryptography.Xml.EncryptedData * string -> byte[]
Public Overridable Function GetDecryptionIV (encryptedData As EncryptedData, symmetricAlgorithmUri As String) As Byte()

Parametry

encryptedData
EncryptedData

Objekt EncryptedData , který obsahuje inicializační vektor (IV) k načtení.

symmetricAlgorithmUri
String

Identifikátor URI (Uniform Resource Identifier), který popisuje kryptografický algoritmus přidružený k hodnotě encryptedData .

Návraty

Byte[]

Bajtové pole, které obsahuje vektor inicializace dešifrování (IV).

Výjimky

Hodnota parametru encryptedData je null.

Hodnota parametru encryptedDataEncryptionMethod vlastnost, která má hodnotu null.

nebo

Hodnota parametru symmetricAlgorithmUri není podporovaný algoritmus.

Poznámky

Vzhledem k objektu EncryptedData tato metoda načte dešifrovací inicializační vektor (IV). Výchozí chování načte hodnotu IV jako první bajty CipherValue pole bajtů.

Seznam hodnot identifikátoru URI (Uniform Resource Identifier) podporovaných parametrem symmetricAlgorithmUri najdete v seznamu konstantních polí přidružených ke EncryptedXml třídě.

Platí pro