Microsoft Edge Try Microsoft Edge A fast and secure browser that's designed for Windows 10 Get started

This site uses cookies for analytics, personalized content and ads. By continuing to browse this site, you agree to this use. Learn more
Microsoft Microsoft
Windows Dev Center
    • .NET
      • Apps
      • Internet of Things
      • Mixed Reality
      • Microsoft Edge
      • Hardware
      • IT Center
      • What is Azure
      • Products
      • Solutions
      • Pricing
      • Create a free account
      • Visual Studio
      • Visual Studio IDE
      • Visual Studio Team Services
      • Visual Studio Code
      • Xamarin
      • Visual Studio Dev Essentials
      • Subscriptions
      • Office Dev Center
      • Office 365 for IT pros
    • Microsoft Graph
      • Store
      • Cortana
      • Bing
      • Application Insights
      • .NET
      • Microsoft Azure
      • Microsoft Graph
      • Visual Studio
      • Visual Studio Team Services
      • Windows
      • Office
      • All Developer Centers
    • TechNet
    • Microsoft Developer Network
      • Windows IT Center
      • Office 365 for IT Pros
      • All IT TechCenters
      • Microsoft Download Center
      • Microsoft Azure
      • Visual Studio
      • SDKs
      • Windows
      • Office
      • Microsoft Graph
      • MSDN
      • Azure
      • Windows
    • PowerShell scripts
      • Microsoft Azure
      • Visual Studio
      • Visual Studio Team Services
      • Developer tools
      • Office Dev Blog
      • Server & management
      • Windows
      • Developers
      • TechNet
      • Microsoft Tech Community
      • Visual Studio (MSDN) subscriptions
      • Microsoft Cloud Essentials
      • Microsoft Virtual Academy
      • IT Pro Career Center
    • Microsoft Evaluation Center
    • Channel 9
    • No results
    Sign in
    Windows Dev Center Dashboard
    Windows desktopGet startedDesignDevelopTest & deploy
    • API reference
    • Downloads
    • Samples
    • Support
    Dashboard
    Security and Identity Cryptography API: Next Generation CNG Reference
    CNG Reference CNG Key Storage Functions
    CNG Key Storage Functions
    CNG Key Storage Functions
    CNG Constants
    CNG Cryptographic Configuration Functions
    CNG Cryptographic Primitive Functions
    CNG DPAPI Functions
    CNG Helper Functions
    CNG Key Storage Functions
    NCryptCreateClaim
    NCryptCreatePersistedKey
    NCryptDecrypt
    NCryptDeleteKey
    NCryptDeriveKey
    NCryptEncrypt
    NCryptEnumAlgorithms
    NCryptEnumKeys
    NCryptEnumStorageProviders
    NCryptExportKey
    NCryptFinalizeKey
    NCryptFreeBuffer
    NCryptFreeObject
    NCryptGetProperty
    NCryptImportKey
    NCryptIsAlgSupported
    NCryptIsKeyHandle
    NCryptKeyDerivation
    NCryptNotifyChangeKey
    NCryptOpenKey
    NCryptOpenStorageProvider
    NCryptSecretAgreement
    NCryptSetProperty
    NCryptSignHash
    NCryptTranslateHandle
    NCryptVerifyClaim
    NCryptVerifySignature
    CNG SSL Provider Functions
    CNG Token Binding Functions
    CNG Structures
    CNG Enumerations
    TOC
    Collapse the table of content
    Expand the table of content
    This documentation is archived and is not being maintained.
    This documentation is archived and is not being maintained.

    CNG Key Storage Functions

    Cryptography API: Next Generation (CNG) defines the following functions which are used to perform CNG key storage operations.

    • NCryptCreatePersistedKey
    • NCryptDecrypt
    • NCryptDeleteKey
    • NCryptDeriveKey
    • NCryptEncrypt
    • NCryptEnumAlgorithms
    • NCryptEnumKeys
    • NCryptEnumStorageProviders
    • NCryptExportKey
    • NCryptFinalizeKey
    • NCryptFreeBuffer
    • NCryptFreeObject
    • NCryptGetProperty
    • NCryptImportKey
    • NCryptIsAlgSupported
    • NCryptIsKeyHandle
    • NCryptNotifyChangeKey
    • NCryptOpenKey
    • NCryptOpenStorageProvider
    • NCryptSecretAgreement
    • NCryptSetProperty
    • NCryptSignHash
    • NCryptTranslateHandle
    • NCryptVerifySignature

     

     

    Show:
    Print Export (0)
    Print Share
    IN THIS ARTICLE
      Is this page helpful?
      Additional feedback?
      1500 characters remaining
      Thank you! We appreciate your feedback.
      What's new
      • New Surface Pro
      • Xbox One X
      • Xbox One S
      • Surface Laptop
      • Windows 10 apps
      • Office apps
      • Mixer
      Store & Support
      • Account profile
      • Download Center
      • Sales & support
      • Returns
      • Order tracking
      • Store locations
      • Support
      Education
      • Microsoft in education
      • Office for students
      • Office 365 for schools
      • Deals for students & educators
      • Microsoft Azure in education
      Enterprise
      • Microsoft Azure
      • Enterprise
      • Data platform
      • Find a solutions provider
      • Microsoft partner resources
      • Microsoft AppSource
      • Manufacturing & resources
      • Financial services
      Developer
      • Microsoft Visual Studio
      • Windows Dev Center
      • Microsoft Developer Network
      • TechNet
      • Microsoft Virtual Academy
      • Microsoft developer program
      • Channel 9
      • Office Dev Center
      Company
      • Careers
      • About Microsoft
      • Company news
      • Privacy at Microsoft
      • Investors
      • Diversity and inclusion
      • Accessibility
      • Security
      English (United States)
      • Sitemap
      • Contact us
      • Privacy & cookies
      • Terms of use
      • Trademarks
      • About our ads
      • © Microsoft 2017
      English
      Deutsch English Español Français
      Italiano 日本語 한국어 Português
      Pусский 简体中文 繁體中文
       
      © 2017 Microsoft