SymmetricAlgorithmNames SymmetricAlgorithmNames SymmetricAlgorithmNames SymmetricAlgorithmNames Class

Contains static properties that enable you to retrieve algorithm names that can be used in the OpenAlgorithm(String) method of the SymmetricKeyAlgorithmProvider class.

Syntax

Declaration

public static class SymmetricAlgorithmNamespublic static class SymmetricAlgorithmNamesPublic Static Class SymmetricAlgorithmNamespublic static class SymmetricAlgorithmNames

Properties summary

Retrieves a string that contains "AES_CBC".

Retrieves a string that contains "AES_CBC_PKCS7".

Retrieves a string that contains "AES_CCM".

Retrieves a string that contains "AES_ECB".

Retrieves a string that contains "AES_ECB_PKCS7".

Retrieves a string that contains "AES_CCM".

Retrieves a string that contains "DES_CBC".

Retrieves a string that contains "DES_CBC_PKCS7".

Retrieves a string that contains "DES_ECB".

Retrieves a string that contains "DES_ECB_PKCS7".

Retrieves a string that contains "RC2_CBC".

Retrieves a string that contains "RC2_CBC_PKCS7".

Retrieves a string that contains "RC2_ECB".

Retrieves a string that contains "RC2_ECB_PKCS7".

Retrieves a string that contains "RC4".

Retrieves a string that contains "3DES_CBC".

Retrieves a string that contains "3DES_CBC_PKCS7".

Retrieves a string that contains "3DES_ECB".

Retrieves a string that contains "3DES_ECB_PKCS7".

Properties

  • AesCbc
    AesCbc
    AesCbc
    AesCbc

    Retrieves a string that contains "AES_CBC".

    public static string AesCbc { get; }public static string AesCbc { get; }Public Static ReadOnly Property AesCbc As stringpublic static string AesCbc { get; }

    Property Value

    • string
      string
      string
      string

      String that contains "AES_CBC".

    Remarks

    Use the string retrieved by this property to set the symmetric encryption algorithm name when you call the OpenAlgorithm(String) method on a SymmetricKeyAlgorithmProvider object. The string represents the Advanced Encryption Standard (AES) algorithm coupled with a cipher-block chaining mode of operation.

  • AesCbcPkcs7
    AesCbcPkcs7
    AesCbcPkcs7
    AesCbcPkcs7

    Retrieves a string that contains "AES_CBC_PKCS7".

    public static string AesCbcPkcs7 { get; }public static string AesCbcPkcs7 { get; }Public Static ReadOnly Property AesCbcPkcs7 As stringpublic static string AesCbcPkcs7 { get; }

    Property Value

    • string
      string
      string
      string

      String that contains "AES_CBC_PKCS7".

    Remarks

    Use the string retrieved by this property to set the symmetric encryption algorithm name when you call the OpenAlgorithm(String) method on a SymmetricKeyAlgorithmProvider object. The string represents the Advanced Encryption Standard (AES) algorithm coupled with a cipher-block chaining mode of operation and PKCS#7 padding.

  • AesCcm
    AesCcm
    AesCcm
    AesCcm

    Retrieves a string that contains "AES_CCM".

    public static string AesCcm { get; }public static string AesCcm { get; }Public Static ReadOnly Property AesCcm As stringpublic static string AesCcm { get; }

    Property Value

    • string
      string
      string
      string

      String that contains "AES_CCM".

    Remarks

    Use the string retrieved by this property to set the symmetric encryption algorithm name when you call the OpenAlgorithm(String) method on a SymmetricKeyAlgorithmProvider object. The string represents the Advanced Encryption Standard (AES) algorithm coupled with a CCM (Counter with CBC-MAC) mode of operation.

  • AesEcb
    AesEcb
    AesEcb
    AesEcb

    Retrieves a string that contains "AES_ECB".

    public static string AesEcb { get; }public static string AesEcb { get; }Public Static ReadOnly Property AesEcb As stringpublic static string AesEcb { get; }

    Property Value

    • string
      string
      string
      string

      String that contains "AES_ECB".

    Remarks

    Use the string retrieved by this property to set the symmetric encryption algorithm name when you call the OpenAlgorithm(String) method on a SymmetricKeyAlgorithmProvider object. The string represents the Advanced Encryption Standard (AES) algorithm coupled with an electronic codebook (ECB) mode of operation.

  • AesEcbPkcs7
    AesEcbPkcs7
    AesEcbPkcs7
    AesEcbPkcs7

    Retrieves a string that contains "AES_ECB_PKCS7".

    public static string AesEcbPkcs7 { get; }public static string AesEcbPkcs7 { get; }Public Static ReadOnly Property AesEcbPkcs7 As stringpublic static string AesEcbPkcs7 { get; }

    Property Value

    • string
      string
      string
      string

      String that contains "AES_ECB_PKCS7".

    Remarks

    Use the string retrieved by this property to set the symmetric encryption algorithm name when you call the OpenAlgorithm(String) method on a SymmetricKeyAlgorithmProvider object. The string represents the Advanced Encryption Standard (AES) algorithm coupled with an electronic codebook (ECB) mode of operation and PKCS#7 padding.

  • AesGcm
    AesGcm
    AesGcm
    AesGcm

    Retrieves a string that contains "AES_CCM".

    public static string AesGcm { get; }public static string AesGcm { get; }Public Static ReadOnly Property AesGcm As stringpublic static string AesGcm { get; }

    Property Value

    • string
      string
      string
      string

      String that contains "AES_CCM".

    Remarks

    Use the string retrieved by this property to set the symmetric encryption algorithm name when you call the OpenAlgorithm(String) method on a SymmetricKeyAlgorithmProvider object. The string represents the Advanced Encryption Standard (AES) algorithm coupled with the Galois Counter Mode (GCM) mode of operation.

  • DesCbc
    DesCbc
    DesCbc
    DesCbc

    Retrieves a string that contains "DES_CBC".

    public static string DesCbc { get; }public static string DesCbc { get; }Public Static ReadOnly Property DesCbc As stringpublic static string DesCbc { get; }

    Property Value

    • string
      string
      string
      string

      String that contains "DES_CBC".

    Remarks

    Use the string retrieved by this property to set the symmetric encryption algorithm name when you call the OpenAlgorithm(String) method on a SymmetricKeyAlgorithmProvider object. The string represents the Data Encryption Standard (DES) algorithm coupled with a cipher-block chaining mode of operation.

  • DesCbcPkcs7
    DesCbcPkcs7
    DesCbcPkcs7
    DesCbcPkcs7

    Retrieves a string that contains "DES_CBC_PKCS7".

    public static string DesCbcPkcs7 { get; }public static string DesCbcPkcs7 { get; }Public Static ReadOnly Property DesCbcPkcs7 As stringpublic static string DesCbcPkcs7 { get; }

    Property Value

    • string
      string
      string
      string

      String that contains "DES_CBC_PKCS7".

    Remarks

    Use the string retrieved by this property to set the symmetric encryption algorithm name when you call the OpenAlgorithm(String) method on a SymmetricKeyAlgorithmProvider object. The string represents the Data Encryption Standard (DES) algorithm coupled with a cipher-block chaining mode of operation and PKCS#7 padding.

  • DesEcb
    DesEcb
    DesEcb
    DesEcb

    Retrieves a string that contains "DES_ECB".

    public static string DesEcb { get; }public static string DesEcb { get; }Public Static ReadOnly Property DesEcb As stringpublic static string DesEcb { get; }

    Property Value

    • string
      string
      string
      string

      String that contains "DES_ECB".

    Remarks

    Use the string retrieved by this property to set the symmetric encryption algorithm name when you call the OpenAlgorithm(String) method on a SymmetricKeyAlgorithmProvider object. The string represents the Data Encryption Standard (DES) algorithm coupled with an electronic codebook (ECB) mode of operation.

  • DesEcbPkcs7
    DesEcbPkcs7
    DesEcbPkcs7
    DesEcbPkcs7

    Retrieves a string that contains "DES_ECB_PKCS7".

    public static string DesEcbPkcs7 { get; }public static string DesEcbPkcs7 { get; }Public Static ReadOnly Property DesEcbPkcs7 As stringpublic static string DesEcbPkcs7 { get; }

    Property Value

    • string
      string
      string
      string

      String that contains "DES_ECB_PKCS7".

    Remarks

    Use the string retrieved by this property to set the symmetric encryption algorithm name when you call the OpenAlgorithm(String) method on a SymmetricKeyAlgorithmProvider object. The string represents the Data Encryption Standard (DES) algorithm coupled with an electronic codebook (ECB) mode of operation and PKCS#7 padding.

  • Rc2Cbc
    Rc2Cbc
    Rc2Cbc
    Rc2Cbc

    Retrieves a string that contains "RC2_CBC".

    public static string Rc2Cbc { get; }public static string Rc2Cbc { get; }Public Static ReadOnly Property Rc2Cbc As stringpublic static string Rc2Cbc { get; }

    Property Value

    • string
      string
      string
      string

      String that contains "RC2_CBC".

    Remarks

    Use the string retrieved by this property to set the symmetric encryption algorithm name when you call the OpenAlgorithm(String) method on a SymmetricKeyAlgorithmProvider object. The string represents the Rivest Cipher (RC2) block cipher algorithm coupled with a cipher-block chaining mode of operation.

  • Rc2CbcPkcs7
    Rc2CbcPkcs7
    Rc2CbcPkcs7
    Rc2CbcPkcs7

    Retrieves a string that contains "RC2_CBC_PKCS7".

    public static string Rc2CbcPkcs7 { get; }public static string Rc2CbcPkcs7 { get; }Public Static ReadOnly Property Rc2CbcPkcs7 As stringpublic static string Rc2CbcPkcs7 { get; }

    Property Value

    • string
      string
      string
      string

      String that contains "RC2_CBC_PKCS7".

    Remarks

    Use the string retrieved by this property to set the symmetric encryption algorithm name when you call the OpenAlgorithm(String) method on a SymmetricKeyAlgorithmProvider object. The string represents the Rivest Cipher (RC2) block cipher algorithm coupled with a cipher-block chaining mode of operation and PKCS#7 padding.

  • Rc2Ecb
    Rc2Ecb
    Rc2Ecb
    Rc2Ecb

    Retrieves a string that contains "RC2_ECB".

    public static string Rc2Ecb { get; }public static string Rc2Ecb { get; }Public Static ReadOnly Property Rc2Ecb As stringpublic static string Rc2Ecb { get; }

    Property Value

    • string
      string
      string
      string

      String that contains "RC2_ECB".

    Remarks

    Use the string retrieved by this property to set the symmetric encryption algorithm name when you call the OpenAlgorithm(String) method on a SymmetricKeyAlgorithmProvider object. The string represents the Rivest Cipher (RC2) block cipher algorithm coupled with an electronic codebook (ECB) mode of operation.

  • Rc2EcbPkcs7
    Rc2EcbPkcs7
    Rc2EcbPkcs7
    Rc2EcbPkcs7

    Retrieves a string that contains "RC2_ECB_PKCS7".

    public static string Rc2EcbPkcs7 { get; }public static string Rc2EcbPkcs7 { get; }Public Static ReadOnly Property Rc2EcbPkcs7 As stringpublic static string Rc2EcbPkcs7 { get; }

    Property Value

    • string
      string
      string
      string

      String that contains "RC2_ECB_PKCS7".

    Remarks

    Use the string retrieved by this property to set the symmetric encryption algorithm name when you call the OpenAlgorithm(String) method on a SymmetricKeyAlgorithmProvider object. The string represents the Rivest Cipher (RC2) block cipher algorithm coupled with an electronic codebook (ECB) mode of operation and PKCS#7 padding.

  • Rc4
    Rc4
    Rc4
    Rc4

    Retrieves a string that contains "RC4".

    public static string Rc4 { get; }public static string Rc4 { get; }Public Static ReadOnly Property Rc4 As stringpublic static string Rc4 { get; }

    Property Value

    • string
      string
      string
      string

      String that contains "RC4".

    Remarks

    Use the string retrieved by this property to set the symmetric encryption algorithm name when you call the OpenAlgorithm(String) method on a SymmetricKeyAlgorithmProvider object. The string represents the Rivest Cipher (RC4) block cipher algorithm.

  • TripleDesCbc
    TripleDesCbc
    TripleDesCbc
    TripleDesCbc

    Retrieves a string that contains "3DES_CBC".

    public static string TripleDesCbc { get; }public static string TripleDesCbc { get; }Public Static ReadOnly Property TripleDesCbc As stringpublic static string TripleDesCbc { get; }

    Property Value

    • string
      string
      string
      string

      String that contains "3DES_CBC".

    Remarks

    Use the string retrieved by this property to set the symmetric encryption algorithm name when you call the OpenAlgorithm(String) method on a SymmetricKeyAlgorithmProvider object. The string represents the Triple Data Encryption Standard (TripleDES) algorithm coupled with a cipher-block chaining mode of operation. This implementation of TripleDES is a three-key implementation, which requires a key size of 24 bytes. Passing a key size less than 24 bytes to this algorithm's CreateSymmetricKey(IBuffer) method produces a "Value does not fall within the expected range" exception.

  • TripleDesCbcPkcs7
    TripleDesCbcPkcs7
    TripleDesCbcPkcs7
    TripleDesCbcPkcs7

    Retrieves a string that contains "3DES_CBC_PKCS7".

    public static string TripleDesCbcPkcs7 { get; }public static string TripleDesCbcPkcs7 { get; }Public Static ReadOnly Property TripleDesCbcPkcs7 As stringpublic static string TripleDesCbcPkcs7 { get; }

    Property Value

    • string
      string
      string
      string

      String that contains "3DES_CBC_PKCS7".

    Remarks

    Use the string retrieved by this property to set the symmetric encryption algorithm name when you call the OpenAlgorithm(String) method on a SymmetricKeyAlgorithmProvider object. The string represents the Triple Data Encryption Standard (TripleDES) algorithm coupled with a cipher-block chaining mode of operation and PKCS#7 padding.

  • TripleDesEcb
    TripleDesEcb
    TripleDesEcb
    TripleDesEcb

    Retrieves a string that contains "3DES_ECB".

    public static string TripleDesEcb { get; }public static string TripleDesEcb { get; }Public Static ReadOnly Property TripleDesEcb As stringpublic static string TripleDesEcb { get; }

    Property Value

    • string
      string
      string
      string

      String that contains "3DES_ECB".

    Remarks

    Use the string retrieved by this property to set the symmetric encryption algorithm name when you call the OpenAlgorithm(String) method on a SymmetricKeyAlgorithmProvider object. The string represents the Triple Data Encryption Standard (TripleDES) algorithm coupled with an electronic codebook (ECB) mode of operation.

  • TripleDesEcbPkcs7
    TripleDesEcbPkcs7
    TripleDesEcbPkcs7
    TripleDesEcbPkcs7

    Retrieves a string that contains "3DES_ECB_PKCS7".

    public static string TripleDesEcbPkcs7 { get; }public static string TripleDesEcbPkcs7 { get; }Public Static ReadOnly Property TripleDesEcbPkcs7 As stringpublic static string TripleDesEcbPkcs7 { get; }

    Property Value

    • string
      string
      string
      string

      String that contains "3DES_ECB_PKCS7".

    Remarks

    Use the string retrieved by this property to set the symmetric encryption algorithm name when you call the OpenAlgorithm(String) method on a SymmetricKeyAlgorithmProvider object. The string represents the Triple Data Encryption Standard (TripleDES) algorithm coupled with an electronic codebook (ECB) mode of operation and PKCS#7 padding.

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.DualApiPartitionAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute
Windows.Foundation.Metadata.StaticAttribute

Details

Assembly

Windows.Security.Cryptography.Core.dll