Win32 API 日本語リファレンス
ホームSecurity.Cryptography › CertKeyType

CertKeyType

列挙型
基底型u4

メンバー 9

名前10進16進
KeyTypeOther00x0
KeyTypeVirtualSmartCard10x1
KeyTypePhysicalSmartCard20x2
KeyTypePassport30x3
KeyTypePassportRemote40x4
KeyTypePassportSmartCard50x5
KeyTypeHardware60x6
KeyTypeSoftware70x7
KeyTypeSelfSigned80x8

各言語での定義

列挙メンバーの定義。HSP タブは #define global(値は16進)。

typedef enum CertKeyType : unsigned int {
    KeyTypeOther = 0,
    KeyTypeVirtualSmartCard = 1,
    KeyTypePhysicalSmartCard = 2,
    KeyTypePassport = 3,
    KeyTypePassportRemote = 4,
    KeyTypePassportSmartCard = 5,
    KeyTypeHardware = 6,
    KeyTypeSoftware = 7,
    KeyTypeSelfSigned = 8
} CertKeyType;
public enum CertKeyType : uint
{
    KeyTypeOther = 0,
    KeyTypeVirtualSmartCard = 1,
    KeyTypePhysicalSmartCard = 2,
    KeyTypePassport = 3,
    KeyTypePassportRemote = 4,
    KeyTypePassportSmartCard = 5,
    KeyTypeHardware = 6,
    KeyTypeSoftware = 7,
    KeyTypeSelfSigned = 8,
}
Public Enum CertKeyType As UInteger
    KeyTypeOther = 0
    KeyTypeVirtualSmartCard = 1
    KeyTypePhysicalSmartCard = 2
    KeyTypePassport = 3
    KeyTypePassportRemote = 4
    KeyTypePassportSmartCard = 5
    KeyTypeHardware = 6
    KeyTypeSoftware = 7
    KeyTypeSelfSigned = 8
End Enum
import enum

class CertKeyType(enum.IntEnum):
    KeyTypeOther = 0
    KeyTypeVirtualSmartCard = 1
    KeyTypePhysicalSmartCard = 2
    KeyTypePassport = 3
    KeyTypePassportRemote = 4
    KeyTypePassportSmartCard = 5
    KeyTypeHardware = 6
    KeyTypeSoftware = 7
    KeyTypeSelfSigned = 8
// CertKeyType
pub const KeyTypeOther: u32 = 0;
pub const KeyTypeVirtualSmartCard: u32 = 1;
pub const KeyTypePhysicalSmartCard: u32 = 2;
pub const KeyTypePassport: u32 = 3;
pub const KeyTypePassportRemote: u32 = 4;
pub const KeyTypePassportSmartCard: u32 = 5;
pub const KeyTypeHardware: u32 = 6;
pub const KeyTypeSoftware: u32 = 7;
pub const KeyTypeSelfSigned: u32 = 8;
// CertKeyType
const (
	KeyTypeOther uint32 = 0
	KeyTypeVirtualSmartCard uint32 = 1
	KeyTypePhysicalSmartCard uint32 = 2
	KeyTypePassport uint32 = 3
	KeyTypePassportRemote uint32 = 4
	KeyTypePassportSmartCard uint32 = 5
	KeyTypeHardware uint32 = 6
	KeyTypeSoftware uint32 = 7
	KeyTypeSelfSigned uint32 = 8
)
const
  KeyTypeOther = 0;
  KeyTypeVirtualSmartCard = 1;
  KeyTypePhysicalSmartCard = 2;
  KeyTypePassport = 3;
  KeyTypePassportRemote = 4;
  KeyTypePassportSmartCard = 5;
  KeyTypeHardware = 6;
  KeyTypeSoftware = 7;
  KeyTypeSelfSigned = 8;
// CertKeyType
pub const KeyTypeOther: u32 = 0;
pub const KeyTypeVirtualSmartCard: u32 = 1;
pub const KeyTypePhysicalSmartCard: u32 = 2;
pub const KeyTypePassport: u32 = 3;
pub const KeyTypePassportRemote: u32 = 4;
pub const KeyTypePassportSmartCard: u32 = 5;
pub const KeyTypeHardware: u32 = 6;
pub const KeyTypeSoftware: u32 = 7;
pub const KeyTypeSelfSigned: u32 = 8;
const
  KeyTypeOther* = 0
  KeyTypeVirtualSmartCard* = 1
  KeyTypePhysicalSmartCard* = 2
  KeyTypePassport* = 3
  KeyTypePassportRemote* = 4
  KeyTypePassportSmartCard* = 5
  KeyTypeHardware* = 6
  KeyTypeSoftware* = 7
  KeyTypeSelfSigned* = 8
enum CertKeyType : uint {
    KeyTypeOther = 0,
    KeyTypeVirtualSmartCard = 1,
    KeyTypePhysicalSmartCard = 2,
    KeyTypePassport = 3,
    KeyTypePassportRemote = 4,
    KeyTypePassportSmartCard = 5,
    KeyTypeHardware = 6,
    KeyTypeSoftware = 7,
    KeyTypeSelfSigned = 8,
}
#define global KeyTypeOther             0x0
#define global KeyTypeVirtualSmartCard  0x1
#define global KeyTypePhysicalSmartCard 0x2
#define global KeyTypePassport          0x3
#define global KeyTypePassportRemote    0x4
#define global KeyTypePassportSmartCard 0x5
#define global KeyTypeHardware          0x6
#define global KeyTypeSoftware          0x7
#define global KeyTypeSelfSigned        0x8