Security namespaces
The following namespaces are available for use in a Windows Store app:
Windows.Security.Cryptography
Contains the CryptographicBuffer class and static methods that enable you to:
- Convert data to and from strings
- Convert data to and from byte arrays
- Encode messages for network transport
- Decode messages after transport
Windows.Security.Cryptography.Certificates
Contains classes, interfaces, and enumeration types that enable you to:
- Create a certificate request
- Install a certificate response
- Import a certificate in a PFX file
- Specify and retrieve certificate request properties
Windows.Security.Cryptography.Core
Contains classes and enumeration types that enable you to:
- Encrypt and decrypt data
- Hash data
- Sign data and verify signatures
- Create, import, and export keys
- Work with asymmetric key algorithm providers
- Work with symmetric key algorithm providers
- Work with hash algorithm providers
- Work with machine authentication code (MAC) algorithm providers
- Work with key derivation algorithm providers
Windows.Security.Cryptography.DataProtection
Contains classes that enable you to:
- Asynchronously encrypt and decrypt static data
- Asynchronously encrypt and decrypt data streams
Related topics
- Introduction to Windows Store app security
- Windows.Security.Cryptography
- Windows.Security.Cryptography.Certificates
- Windows.Security.Cryptography.Core
- Windows.Security.Cryptography.DataProtection
- Roadmap for Windows Store apps using C# or Visual Basic
Show: