InMemorySymmetricSecurityKey.GetSymmetricAlgorithm(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets an instance of the specified symmetric algorithm.
public:
override System::Security::Cryptography::SymmetricAlgorithm ^ GetSymmetricAlgorithm(System::String ^ algorithm);
public override System.Security.Cryptography.SymmetricAlgorithm GetSymmetricAlgorithm (string algorithm);
override this.GetSymmetricAlgorithm : string -> System.Security.Cryptography.SymmetricAlgorithm
Public Overrides Function GetSymmetricAlgorithm (algorithm As String) As SymmetricAlgorithm
Parameters
- algorithm
- String
The symmetric algorithm to get an instance of.
Returns
A SymmetricAlgorithm that represents the symmetric algorithm.
Exceptions
algorithm
is not supported. The supported algorithms are TripleDesEncryption, Aes128Encryption, Aes192Encryption, Aes256Encryption, TripleDesKeyWrap, Aes128KeyWrap, Aes192KeyWrap, and Aes256KeyWrap
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.