CRYPT_KEY_PROV_INFO (Structures)
Last changed: -45.18.15.167

.
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.

Notes:

None.

Documentation