KERB_SMARTCARD_CSP_INFO structure
来源:互联网 发布:windows激活密钥哪里有 编辑:程序博客网 时间:2024/05/19 01:30
from: http://msdn.microsoft.com/en-us/library/windows/desktop/bb545682%28v=vs.85%29.aspx 点击打开链接
The KERB_SMARTCARD_CSP_INFO structure contains information about a smart cardcryptographic service provider (CSP).
This structure is not declared in a public header.
Syntax
typedef struct _KERB_SMARTCARD_CSP_INFO { DWORD dwCspInfoLen; DWORD MessageType; union { PVOID ContextInformation; ULONG64 SpaceHolderForWow64; }; DWORD flags; DWORD KeySpec; ULONG nCardNameOffset; ULONG nReaderNameOffset; ULONG nContainerNameOffset; ULONG nCSPNameOffset; TCHAR bBuffer;} KERB_SMARTCARD_CSP_INFO, *PKERB_SMARTCARD_CSP_INFO;
Members
- dwCspInfoLen
The size, in bytes, of this structure, including any appended data.
- MessageType
The type of message being passed. This member must be set to 1.
- ContextInformation
Reserved.
- SpaceHolderForWow64
Reserved.
- flags
Reserved.
- KeySpec
The private key to use from the key container specified within the buffer bBuffer. The key can be one of the following values, defined in WinCrypt.h.
Value Meaning - AT_KEYEXCHANGE
- 1
The key is a key-exchange key.
- AT_SIGNATURE
- 2
The key is a signature key.
- nCardNameOffset
The number of characters in the bBuffer buffer that precede the name of the smart card in that buffer.
Important If the name of the smart card is not provided, the buffer must contain an empty string.
- nReaderNameOffset
The number of characters in the bBuffer buffer that precede the name of the smart card reader in that buffer.
Important If the name of the smart card reader is not provided, the buffer must contain an empty string.
- nContainerNameOffset
The number of characters in the bBuffer buffer that precede the name of the key container in that buffer. This string cannot be empty.
- nCSPNameOffset
The number of characters in the bBuffer buffer that precede the name of the CSP in that buffer.
- bBuffer
An array of characters initialized to a length of
sizeof(DWORD)
. This buffer contains the names referred to by thenCardNameOffset, nReaderNameOffset, nContainerNameOffset, andnCSPNameOffset members, as well as any additional data provided by the CSP.Any names that are not provided must be represented in this buffer by empty strings.
Remarks
When this structure is serialized, the structure members must be aligned to boundaries that are multiples of 2 bytes.
Requirements
Minimum supported client
Minimum supported server
See also
- KERB_CERTIFICATE_LOGON
Send comments about this topic to Microsoft
Build date: 9/5/2012
- KERB_SMARTCARD_CSP_INFO structure
- structure
- 结构 Structure
- QAForum Structure
- id3v2_4_0 structure
- File Structure
- Data Structure
- Structure Packing
- Controlfile Structure
- MPEGLAYER3WAVEFORMAT Structure
- WIN32_FIND_DATA Structure
- NMCUSTOMDRAW Structure
- Structure Packing
- Silverlight Structure
- Theme Structure
- MCI_PLAY_PARMS Structure
- MCI_STATUS_PARMS Structure
- WNDCLASSEX Structure
- 人教新课标 三年级语文上册 教学视频
- mongodb 2.2.0 bug —— can't create new thread, closing connection
- C# 两个基础知识
- spring的调度任务
- Button和ImageButton基础
- KERB_SMARTCARD_CSP_INFO structure
- ubuntu 12.04下安装adobe flash
- Python正则表达式操作指南
- 人教新课标 三年级语文下册 教学视频
- 批处理REG命令的使用
- 你点燃了我的思念,你残留了我的温柔
- win7下eclipse Classic版本搭建Android开发环境ADT插件出错的解决办法
- 转载的男人
- winfrom 小技巧