Win32 API 日本語リファレンス
ホームDevices.Bluetooth › BLUETOOTH_AUTHENTICATION_REQUIREMENTS

BLUETOOTH_AUTHENTICATION_REQUIREMENTS

列挙型
基底型i4

メンバー 7

名前10進16進説明
BLUETOOTH_MITM_ProtectionNotRequired00x0認証に「中間者 (Man in the Middle)」攻撃に対する保護は必要ありません。
BLUETOOTH_MITM_ProtectionRequired10x1認証に「中間者 (Man in the Middle)」攻撃に対する保護が必要です。
BLUETOOTH_MITM_ProtectionNotRequiredBonding20x2ボンディングに「中間者 (Man in the Middle)」攻撃に対する保護は必要ありません。
BLUETOOTH_MITM_ProtectionRequiredBonding30x3ボンディングに「中間者 (Man in the Middle)」攻撃に対する保護が必要です。
BLUETOOTH_MITM_ProtectionNotRequiredGeneralBonding40x4一般ボンディング (General Bonding) に「中間者 (Man in the Middle)」攻撃に対する保護は必要ありません。
BLUETOOTH_MITM_ProtectionRequiredGeneralBonding50x5一般ボンディング (General Bonding) に「中間者 (Man in the Middle)」攻撃に対する保護が必要です。
BLUETOOTH_MITM_ProtectionNotDefined2550xFF「中間者 (Man in the Middle)」攻撃に対する保護は定義されていません。

公式ドキュメント

BLUETOOTH_AUTHENTICATION_REQUIREMENTS 列挙型は、認証に必要な「中間者 (Man in the Middle)」攻撃に対する保護を指定します。

Note この列挙型は Windows Vista SP2 および Windows 7 でサポートされます。

解説(Remarks)

この API に関連するヘッダー ファイルは、Microsoft Connect の Windows Vista Feature Pack for Wireless Developers Supplement のダウンロードから入手できます。このリソースへのアクセスには、Microsoft Connect の Web サイトへの登録が必要です。このヘッダーは、Microsoft Connect の Windows Driver Kit (WDK)、Windows Logo Kit (WLK)、および Windows Driver Framework (WDF) Connections から入手できる包括的な開発者向けリソース パッケージにも含まれています。

出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)

各言語での定義

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

typedef enum BLUETOOTH_AUTHENTICATION_REQUIREMENTS : int {
    BLUETOOTH_MITM_ProtectionNotRequired = 0,
    BLUETOOTH_MITM_ProtectionRequired = 1,
    BLUETOOTH_MITM_ProtectionNotRequiredBonding = 2,
    BLUETOOTH_MITM_ProtectionRequiredBonding = 3,
    BLUETOOTH_MITM_ProtectionNotRequiredGeneralBonding = 4,
    BLUETOOTH_MITM_ProtectionRequiredGeneralBonding = 5,
    BLUETOOTH_MITM_ProtectionNotDefined = 255
} BLUETOOTH_AUTHENTICATION_REQUIREMENTS;
public enum BLUETOOTH_AUTHENTICATION_REQUIREMENTS : int
{
    BLUETOOTH_MITM_ProtectionNotRequired = 0,
    BLUETOOTH_MITM_ProtectionRequired = 1,
    BLUETOOTH_MITM_ProtectionNotRequiredBonding = 2,
    BLUETOOTH_MITM_ProtectionRequiredBonding = 3,
    BLUETOOTH_MITM_ProtectionNotRequiredGeneralBonding = 4,
    BLUETOOTH_MITM_ProtectionRequiredGeneralBonding = 5,
    BLUETOOTH_MITM_ProtectionNotDefined = 255,
}
Public Enum BLUETOOTH_AUTHENTICATION_REQUIREMENTS As Integer
    BLUETOOTH_MITM_ProtectionNotRequired = 0
    BLUETOOTH_MITM_ProtectionRequired = 1
    BLUETOOTH_MITM_ProtectionNotRequiredBonding = 2
    BLUETOOTH_MITM_ProtectionRequiredBonding = 3
    BLUETOOTH_MITM_ProtectionNotRequiredGeneralBonding = 4
    BLUETOOTH_MITM_ProtectionRequiredGeneralBonding = 5
    BLUETOOTH_MITM_ProtectionNotDefined = 255
End Enum
import enum

class BLUETOOTH_AUTHENTICATION_REQUIREMENTS(enum.IntEnum):
    BLUETOOTH_MITM_ProtectionNotRequired = 0
    BLUETOOTH_MITM_ProtectionRequired = 1
    BLUETOOTH_MITM_ProtectionNotRequiredBonding = 2
    BLUETOOTH_MITM_ProtectionRequiredBonding = 3
    BLUETOOTH_MITM_ProtectionNotRequiredGeneralBonding = 4
    BLUETOOTH_MITM_ProtectionRequiredGeneralBonding = 5
    BLUETOOTH_MITM_ProtectionNotDefined = 255
// BLUETOOTH_AUTHENTICATION_REQUIREMENTS
pub const BLUETOOTH_MITM_ProtectionNotRequired: i32 = 0;
pub const BLUETOOTH_MITM_ProtectionRequired: i32 = 1;
pub const BLUETOOTH_MITM_ProtectionNotRequiredBonding: i32 = 2;
pub const BLUETOOTH_MITM_ProtectionRequiredBonding: i32 = 3;
pub const BLUETOOTH_MITM_ProtectionNotRequiredGeneralBonding: i32 = 4;
pub const BLUETOOTH_MITM_ProtectionRequiredGeneralBonding: i32 = 5;
pub const BLUETOOTH_MITM_ProtectionNotDefined: i32 = 255;
// BLUETOOTH_AUTHENTICATION_REQUIREMENTS
const (
	BLUETOOTH_MITM_ProtectionNotRequired int32 = 0
	BLUETOOTH_MITM_ProtectionRequired int32 = 1
	BLUETOOTH_MITM_ProtectionNotRequiredBonding int32 = 2
	BLUETOOTH_MITM_ProtectionRequiredBonding int32 = 3
	BLUETOOTH_MITM_ProtectionNotRequiredGeneralBonding int32 = 4
	BLUETOOTH_MITM_ProtectionRequiredGeneralBonding int32 = 5
	BLUETOOTH_MITM_ProtectionNotDefined int32 = 255
)
const
  BLUETOOTH_MITM_ProtectionNotRequired = 0;
  BLUETOOTH_MITM_ProtectionRequired = 1;
  BLUETOOTH_MITM_ProtectionNotRequiredBonding = 2;
  BLUETOOTH_MITM_ProtectionRequiredBonding = 3;
  BLUETOOTH_MITM_ProtectionNotRequiredGeneralBonding = 4;
  BLUETOOTH_MITM_ProtectionRequiredGeneralBonding = 5;
  BLUETOOTH_MITM_ProtectionNotDefined = 255;
// BLUETOOTH_AUTHENTICATION_REQUIREMENTS
pub const BLUETOOTH_MITM_ProtectionNotRequired: i32 = 0;
pub const BLUETOOTH_MITM_ProtectionRequired: i32 = 1;
pub const BLUETOOTH_MITM_ProtectionNotRequiredBonding: i32 = 2;
pub const BLUETOOTH_MITM_ProtectionRequiredBonding: i32 = 3;
pub const BLUETOOTH_MITM_ProtectionNotRequiredGeneralBonding: i32 = 4;
pub const BLUETOOTH_MITM_ProtectionRequiredGeneralBonding: i32 = 5;
pub const BLUETOOTH_MITM_ProtectionNotDefined: i32 = 255;
const
  BLUETOOTH_MITM_ProtectionNotRequired* = 0
  BLUETOOTH_MITM_ProtectionRequired* = 1
  BLUETOOTH_MITM_ProtectionNotRequiredBonding* = 2
  BLUETOOTH_MITM_ProtectionRequiredBonding* = 3
  BLUETOOTH_MITM_ProtectionNotRequiredGeneralBonding* = 4
  BLUETOOTH_MITM_ProtectionRequiredGeneralBonding* = 5
  BLUETOOTH_MITM_ProtectionNotDefined* = 255
enum BLUETOOTH_AUTHENTICATION_REQUIREMENTS : int {
    BLUETOOTH_MITM_ProtectionNotRequired = 0,
    BLUETOOTH_MITM_ProtectionRequired = 1,
    BLUETOOTH_MITM_ProtectionNotRequiredBonding = 2,
    BLUETOOTH_MITM_ProtectionRequiredBonding = 3,
    BLUETOOTH_MITM_ProtectionNotRequiredGeneralBonding = 4,
    BLUETOOTH_MITM_ProtectionRequiredGeneralBonding = 5,
    BLUETOOTH_MITM_ProtectionNotDefined = 255,
}
#define global BLUETOOTH_MITM_ProtectionNotRequired               0x0
#define global BLUETOOTH_MITM_ProtectionRequired                  0x1
#define global BLUETOOTH_MITM_ProtectionNotRequiredBonding        0x2
#define global BLUETOOTH_MITM_ProtectionRequiredBonding           0x3
#define global BLUETOOTH_MITM_ProtectionNotRequiredGeneralBonding 0x4
#define global BLUETOOTH_MITM_ProtectionRequiredGeneralBonding    0x5
#define global BLUETOOTH_MITM_ProtectionNotDefined                0xFF