ホーム › Security.Cryptography › BCRYPT_FLAGS
BCRYPT_FLAGS
列挙型フラグメンバー 5
| 名前 | 10進 | 16進 |
|---|---|---|
| BCRYPT_BLOCK_PADDING | 1 | 0x1 |
| BCRYPT_PAD_NONE | 1 | 0x1 |
| BCRYPT_PAD_OAEP | 4 | 0x4 |
| BCRYPT_PAD_PKCS1 | 2 | 0x2 |
| BCRYPT_PAD_PSS | 8 | 0x8 |
各言語での定義
列挙メンバーの定義。HSP タブは #define global(値は16進)。
typedef enum BCRYPT_FLAGS : unsigned int {
BCRYPT_BLOCK_PADDING = 1,
BCRYPT_PAD_NONE = 1,
BCRYPT_PAD_OAEP = 4,
BCRYPT_PAD_PKCS1 = 2,
BCRYPT_PAD_PSS = 8
} BCRYPT_FLAGS;[Flags]
public enum BCRYPT_FLAGS : uint
{
BCRYPT_BLOCK_PADDING = 1,
BCRYPT_PAD_NONE = 1,
BCRYPT_PAD_OAEP = 4,
BCRYPT_PAD_PKCS1 = 2,
BCRYPT_PAD_PSS = 8,
}<Flags>
Public Enum BCRYPT_FLAGS As UInteger
BCRYPT_BLOCK_PADDING = 1
BCRYPT_PAD_NONE = 1
BCRYPT_PAD_OAEP = 4
BCRYPT_PAD_PKCS1 = 2
BCRYPT_PAD_PSS = 8
End Enumimport enum
class BCRYPT_FLAGS(enum.IntFlag):
BCRYPT_BLOCK_PADDING = 1
BCRYPT_PAD_NONE = 1
BCRYPT_PAD_OAEP = 4
BCRYPT_PAD_PKCS1 = 2
BCRYPT_PAD_PSS = 8// BCRYPT_FLAGS (flags)
pub const BCRYPT_BLOCK_PADDING: u32 = 1;
pub const BCRYPT_PAD_NONE: u32 = 1;
pub const BCRYPT_PAD_OAEP: u32 = 4;
pub const BCRYPT_PAD_PKCS1: u32 = 2;
pub const BCRYPT_PAD_PSS: u32 = 8;// BCRYPT_FLAGS
const (
BCRYPT_BLOCK_PADDING uint32 = 1
BCRYPT_PAD_NONE uint32 = 1
BCRYPT_PAD_OAEP uint32 = 4
BCRYPT_PAD_PKCS1 uint32 = 2
BCRYPT_PAD_PSS uint32 = 8
)const
BCRYPT_BLOCK_PADDING = 1;
BCRYPT_PAD_NONE = 1;
BCRYPT_PAD_OAEP = 4;
BCRYPT_PAD_PKCS1 = 2;
BCRYPT_PAD_PSS = 8;// BCRYPT_FLAGS
pub const BCRYPT_BLOCK_PADDING: u32 = 1;
pub const BCRYPT_PAD_NONE: u32 = 1;
pub const BCRYPT_PAD_OAEP: u32 = 4;
pub const BCRYPT_PAD_PKCS1: u32 = 2;
pub const BCRYPT_PAD_PSS: u32 = 8;const
BCRYPT_BLOCK_PADDING* = 1
BCRYPT_PAD_NONE* = 1
BCRYPT_PAD_OAEP* = 4
BCRYPT_PAD_PKCS1* = 2
BCRYPT_PAD_PSS* = 8enum BCRYPT_FLAGS : uint {
BCRYPT_BLOCK_PADDING = 1,
BCRYPT_PAD_NONE = 1,
BCRYPT_PAD_OAEP = 4,
BCRYPT_PAD_PKCS1 = 2,
BCRYPT_PAD_PSS = 8,
}#define global BCRYPT_BLOCK_PADDING 0x1
#define global BCRYPT_PAD_NONE 0x1
#define global BCRYPT_PAD_OAEP 0x4
#define global BCRYPT_PAD_PKCS1 0x2
#define global BCRYPT_PAD_PSS 0x8
; ※フラグ列挙型。ビットORで組み合わせ可(例: FOO|BAR)。