SymmetricSecurityKey.GetEncryptionTransform(String, Byte[]) Méthode

Définition

En cas de substitution dans une classe dérivée, obtient une transformation qui chiffre du XML à l'aide de l'algorithme de chiffrement spécifié.

public:
 abstract System::Security::Cryptography::ICryptoTransform ^ GetEncryptionTransform(System::String ^ algorithm, cli::array <System::Byte> ^ iv);
public abstract System.Security.Cryptography.ICryptoTransform GetEncryptionTransform (string algorithm, byte[] iv);
abstract member GetEncryptionTransform : string * byte[] -> System.Security.Cryptography.ICryptoTransform
Public MustOverride Function GetEncryptionTransform (algorithm As String, iv As Byte()) As ICryptoTransform

Paramètres

algorithm
String

Algorithme de chiffrement qui chiffre du XML.

iv
Byte[]

Tableau d'Byte qui contient le vecteur d'initialisation (IV) pour l'algorithme spécifié.

Retours

ICryptoTransform qui représente la transformation du chiffrement.

Remarques

Utilisez les champs qui représentent les algorithmes de déchiffrement dans la classe SecurityAlgorithms pour spécifier l'algorithme.

S’applique à