Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

CRYPT_KEY_PROV_INFO (Structures)
 
.
Summary
The CRYPT_KEY_PROV_INFO structure contains information about a key container within a cryptographic service provider (CSP).

C# Definition:

[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]

    public partial struct CRYPT_KEY_PROV_INFO
    {
        [MarshalAs(UnmanagedType.LPWStr)]
        public string pwszContainerName;
        [MarshalAs(UnmanagedType.LPWStr)]
        public string pwszProvName;
        public int dwProvType;
        public int dwFlags;
        public int cProvParam;
        public CRYPT_KEY_PROV_PARAM rgProvParam;
        public int dwKeySpec;
    }

VB Definition:

    <StructLayout(LayoutKind.Sequential, CharSet:=CharSet.Unicode)> _
    Public Structure CRYPT_KEY_PROV_INFO
    <MarshalAs(UnmanagedType.LPWStr)> _
    Public pwszContainerName As String
    <MarshalAs(UnmanagedType.LPWStr)> _
    Public pwszProvName As String
    Public dwProvType As Int32
    Public dwFlags As Int32
    Public cProvParam As Int32
    Public rgProvParam As CRYPT_KEY_PROV_PARAM
    Public dwKeySpec As Int32
    End Structure

User-Defined Field Types:

None.

VB Definition:

    <StructLayout(LayoutKind.Sequential, CharSet:=CharSet.Unicode)> _
    Public Structure CRYPT_KEY_PROV_INFO
    <MarshalAs(UnmanagedType.LPWStr)> _
    Public pwszContainerName As String
    <MarshalAs(UnmanagedType.LPWStr)> _
    Public pwszProvName As String
    Public dwProvType As Int32
    Public dwFlags As Int32
    Public cProvParam As Int32
    Public rgProvParam As CRYPT_KEY_PROV_PARAM
    Public dwKeySpec As Int32
    End Structure

Notes:

User-Defined Field Types:

None.

Notes:

None.

Documentation

Please edit this page!

Do you have...

  • helpful tips?
  • corrections to the existing content?
  • alternate definitions?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing any supporting types needed.

 
Access PInvoke.net directly from VS:
Terms of Use
Edit This Page
Find References
Show Printable Version
Revisions