Security.Cryptography.CngChainingMode

The CngChainingMode class provides a pseudo-enumeration similar to System.Security.Cryptography.CngAlgorithm which provides an enumeration over chaining modes that CNG supports. Several of the enumeration values are the CNG equivalents of the System.Security.Cryptography.CipherMode framework enumeration.

APIs

.ctor(System.String chainingMode)

Creates a new CngChainingMode for the chaining mode string. This constructor should generally not be used, and instead the built in values for the standard chaining modes should be preferred.

Parameters:
chainingMode chaining mode to create a CngChainingMode object for


Exceptions:
System.ArgumentException if chainingMode is empty
System.ArgumentNullException if chainingMode is null


System.String ChainingMode { get; }

Get the string which represents this chaining mode to CNG

static Security.Cryptography.CngChainingMode Cbc { get; }

Gets a CngChainingMode object for the cipher block chaining mode. This is equivalent to CipherMode.Cbc in the managed enumeration.

static Security.Cryptography.CngChainingMode Ccm { get; }

Gets a CngChainingMode object for the counter with cipher block chaining MAC authenticated chaining mode.

static Security.Cryptography.CngChainingMode Cfb { get; }

Gets a CngChainingMode object for the cipher feedback mode. This is equivalent to CipherMode.Cfb in the managed enumeration.

static Security.Cryptography.CngChainingMode Ecb { get; }

Gets a CngChainingMode object for the electronic codebook mode. This is equivalent to CipherMode.Ecb in the managed enumeration.

static Security.Cryptography.CngChainingMode Gcm { get; }

Gets a CngChainingMode object for the counter with Galois/counter mode authenticated chaining mode.

Last edited Jun 4, 2009 at 12:07 AM by shawnfa, version 2

Comments

No comments yet.