NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

System.Security.Cryptography Namespace

Classes

Class Description
AsymmetricAlgorithm [To be supplied.]
AsymmetricDecryptor [To be supplied.]
AsymmetricEncryptor [To be supplied.]
AsymmetricKeyExDeformatter [To be supplied.]
AsymmetricKeyExFormatter [To be supplied.]
AsymmetricSignatureDeformatter [To be supplied.]
AsymmetricSignatureFormatter [To be supplied.]
CryptoConfig [To be supplied.]
CryptoFileStream Cryptographic stream object for file streams.
CryptographicException Exception raised by the cryptographic system when errors occur during processing.
CryptographicObject Abstract class for all cryptograhpic objects.
CryptographicUnexpectedOperationException Exception raised by the cryptographic system when an unexpected operation happens.
CryptoMemoryStream Cryptographic stream object for memory streams.
CryptoStorageClass [To be supplied.]
CryptoStorageData [To be supplied.]
CryptoStreamDeformatter [To be supplied.]
CryptoStreamFormatter [To be supplied.]
CSP_Parameters [To be supplied.]
DecodeBase64 [To be supplied.]
DeriveBytes [To be supplied.]
DES This is the base class for Data Encryption Standard (DES) algorithms. All DES implementations must derive from this class.
DES_CSP [To be supplied.]
DSA [To be supplied.]
DSA_CSP [To be supplied.]
DSA_Signature_Deformatter [To be supplied.]
DSA_Signature_Formatter [To be supplied.]
EncodeAsBase64 [To be supplied.]
HashAlgorithm [To be supplied.]
HMACSHA1 [To be supplied.]
KeyedHashAlgorithm [To be supplied.]
KeySizes This structure is used for returning the set of legal key sizes and block sizes of the symmetric algorithms.
KeyStorageInCSP [To be supplied.]
MAC_TripleDES [To be supplied.]
MaskGenerationMethod [To be supplied.]
MD5 [To be supplied.]
MD5_CSP [To be supplied.]
PasswordDeriveBytes [To be supplied.]
PKCS1_MaskGenerationMethod1 [To be supplied.]
PKCS7StreamDeformatter [To be supplied.]
PKCS7StreamFormatter [To be supplied.]
RandomNumberGenerator [To be supplied.]
RC2 [To be supplied.]
RC2_CSP [To be supplied.]
RNG_CSP [To be supplied.]
RSA [To be supplied.]
RSA_CSP [To be supplied.]
RSA_CSP_Object [To be supplied.]
RSA_OAEP_KeyExchange_Deformatter [To be supplied.]
RSA_OAEP_KeyExchange_Formatter [To be supplied.]
RSA_PKCS1_KeyExchange_Deformatter [To be supplied.]
RSA_PKCS1_KeyExchange_Formatter [To be supplied.]
RSA_PKCS1_Signature_Deformatter [To be supplied.]
RSA_PKCS1_Signature_Formatter [To be supplied.]
SHA1 [To be supplied.]
SHA1Managed [To be supplied.]
SHA1_CSP [To be supplied.]
SignatureDescription [To be supplied.]
StorageMicrosoftCSP [To be supplied.]
StorageXML [To be supplied.]
SymmetricAlgorithm [To be supplied.]
SymmetricStreamDecryptor [To be supplied.]
SymmetricStreamEncryptor [To be supplied.]
TripleDES [To be supplied.]
TripleDES_CSP [To be supplied.]
XMLKeyStorage [To be supplied.]

Interfaces

Interface Description
ICryptoStream The core of cryptographic operations perform either a computation or a transformation on a large amount of data. This being the case it makes sense that at its core the majority of cryptographic operations should be stream-based operations. This model works well for hashes, symmetric encryption and message based operations. ICryptoStream interface defines how such streamed data handling is done.

Since the objects are stream based it makes sense that they should all support a single standard interface for dealing with the data transfer portion of the object, the control portion of the object is different for each object and is therefore dealt with separately.

Since all of the objects are built on a standard interface, it becomes possible to chain together multiple objects (for example a hash object followed by an encryption object) and perform multiple operations on the data without needing any intermediate storage for it. The streaming model also allows for objects to be built from smaller objects.

Enumerations

Enumeration Description
CipherMode [To be supplied.]
PaddingMode Determines type of padding to apply when the message data block is shorter than the full number of bytes for a cryptographic operation.
StreamState Represents the state of a crypto stream object.