SymmetricSecurityKey.GetEncryptionTransform(String, Byte[]) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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.
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.