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

Définition

En cas de substitution dans une classe dérivée, obtient une transformation qui chiffre le code 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 le code XML.

iv
Byte[]

Tableau contenant Byte le vecteur d’initialisation (IV) pour l’algorithme spécifié.

Retours

Qui ICryptoTransform représente la transformation de chiffrement.

Remarques

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

S’applique à