ホーム › Security.Cryptography › CertKeyType
CertKeyType
列挙型メンバー 9
| 名前 | 10進 | 16進 |
|---|---|---|
| KeyTypeOther | 0 | 0x0 |
| KeyTypeVirtualSmartCard | 1 | 0x1 |
| KeyTypePhysicalSmartCard | 2 | 0x2 |
| KeyTypePassport | 3 | 0x3 |
| KeyTypePassportRemote | 4 | 0x4 |
| KeyTypePassportSmartCard | 5 | 0x5 |
| KeyTypeHardware | 6 | 0x6 |
| KeyTypeSoftware | 7 | 0x7 |
| KeyTypeSelfSigned | 8 | 0x8 |
各言語での定義
列挙メンバーの定義。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 Enumimport 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* = 8enum 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