InMemorySymmetricSecurityKey.GetDecryptionTransform(String, Byte[]) Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Hämtar en transformering som dekrypterar chiffertext med den angivna kryptografiska algoritmen.
public:
override System::Security::Cryptography::ICryptoTransform ^ GetDecryptionTransform(System::String ^ algorithm, cli::array <System::Byte> ^ iv);
public override System.Security.Cryptography.ICryptoTransform GetDecryptionTransform(string algorithm, byte[] iv);
override this.GetDecryptionTransform : string * byte[] -> System.Security.Cryptography.ICryptoTransform
Public Overrides Function GetDecryptionTransform (algorithm As String, iv As Byte()) As ICryptoTransform
Parametrar
- algorithm
- String
En kryptografisk algoritm som dekrypterar chiffertext, till exempel krypterad XML.
Returer
En ICryptoTransform som representerar dekrypteringstransformeringen.
Undantag
algorithm stöds inte. De algoritmer som stöds är TripleDesEncryption, Aes128Encryption, Aes192Encryptionoch Aes256Encryption.
Kommentarer
Använd fälten som representerar dekrypteringsalgoritmer i SecurityAlgorithms klassen för att ange algoritmen.