System::Security::Cryptography Namespace Reference

Namespaces

 Details
 
 Pkcs
 
 X509Certificates
 

Classes

class  AsnEncodedData
 
class  AsymmetricAlgorithm
 
class  AsymmetricSignatureDeformatter
 
class  AsymmetricSignatureFormatter
 
class  CryptoStream
 
class  CspParameters
 
class  HashAlgorithm
 
class  HMACSHA1
 
class  ICryptoTransform
 
class  ICspAsymmetricAlgorithm
 
class  KeySizes
 
class  MD5
 
class  MD5CryptoServiceProvider
 
class  Oid
 
class  RandomNumberGenerator
 
class  RC2
 
class  RC2Managed
 
class  Rijndael
 
class  RijndaelManaged
 
class  RNGCryptoServiceProvider
 
class  RSA
 
class  RSACryptoServiceProvider
 
struct  RSAParameters
 
class  RSAPKCS1SignatureDeformatter
 
class  RSAPKCS1SignatureFormatter
 
class  SHA1
 
class  SHA1CryptoServiceProvider
 
class  SHA1Managed
 
class  SHA256
 
class  SHA256Managed
 
class  SHA384
 
class  SHA384Managed
 
class  SHA512
 
class  SHA512Managed
 
class  SymmetricAlgorithm
 
class  TripleDES
 
class  TripleDESManaged
 

Enumerations

enum  CipherMode {
  CipherMode::CBC = 1, CipherMode::ECB = 2, CipherMode::OFB = 3, CipherMode::CFB = 4,
  CipherMode::CTS = 5
}
 Block cipher mode. More...
 
enum  CryptoStreamMode { CryptoStreamMode::Read = 0, CryptoStreamMode::Write = 1 }
 CryptoStream direction. More...
 
enum  PaddingMode {
  PaddingMode::None = 1, PaddingMode::PKCS7 = 2, PaddingMode::Zeros = 3, PaddingMode::ANSIX923 = 4,
  PaddingMode::ISO10126 = 5
}
 Defines how to treat messages that is shorter than block required by crypto operation.s. More...
 

Enumeration Type Documentation

◆ CipherMode

Block cipher mode.

Enumerator
CBC 

Cipher block chaining which combines current block with previous block to improve encryption.

ECB 

Electronic codebook mode with no inter-block influences; results in weaker encryption.

OFB 

Output feedback mode that handles large input blocks in small pieces.

CFB 

Cipher feedback mode that handles large input blocks in small pieces. Mangling rules differ from such of OFB.

CTS 

Cipher text stealing mode, behaves like CBC for all but two last blocks of text.

◆ CryptoStreamMode

CryptoStream direction.

Enumerator
Read 

Stream is for reading only.

Write 

Stream is for writing only.

◆ PaddingMode

Defines how to treat messages that is shorter than block required by crypto operation.s.

Enumerator
None 

No padding.

PKCS7 

Use PKCS #7 padding string.

Zeros 

Use zero bytes.

ANSIX923 

Use ANSIX923 padding string.

ISO10126 

Use ISO10126 padding string.