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

Pkcs10AllowedSignatureTypes

列挙型
基底型i4

メンバー 2

名前10進16進説明
AllowedKeySignature10x1暗号化キーを使用して生成された署名が許可されます。
AllowedNullSignature20x2null 署名が許可されます。null 署名は SHA-1 ハッシュです。

公式ドキュメント

Pkcs10AllowedSignatureTypes 列挙型は、証明書要求に署名するときに許可される署名の種類を指定します。この列挙型は、IX509CertificateRequestPkcs10 インターフェイスの CheckSignature メソッドが、署名が存在し有効であるかどうかを判断するために使用します。

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

各言語での定義

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

typedef enum Pkcs10AllowedSignatureTypes : int {
    AllowedKeySignature = 1,
    AllowedNullSignature = 2
} Pkcs10AllowedSignatureTypes;
public enum Pkcs10AllowedSignatureTypes : int
{
    AllowedKeySignature = 1,
    AllowedNullSignature = 2,
}
Public Enum Pkcs10AllowedSignatureTypes As Integer
    AllowedKeySignature = 1
    AllowedNullSignature = 2
End Enum
import enum

class Pkcs10AllowedSignatureTypes(enum.IntEnum):
    AllowedKeySignature = 1
    AllowedNullSignature = 2
// Pkcs10AllowedSignatureTypes
pub const AllowedKeySignature: i32 = 1;
pub const AllowedNullSignature: i32 = 2;
// Pkcs10AllowedSignatureTypes
const (
	AllowedKeySignature int32 = 1
	AllowedNullSignature int32 = 2
)
const
  AllowedKeySignature = 1;
  AllowedNullSignature = 2;
// Pkcs10AllowedSignatureTypes
pub const AllowedKeySignature: i32 = 1;
pub const AllowedNullSignature: i32 = 2;
const
  AllowedKeySignature* = 1
  AllowedNullSignature* = 2
enum Pkcs10AllowedSignatureTypes : int {
    AllowedKeySignature = 1,
    AllowedNullSignature = 2,
}
#define global AllowedKeySignature  0x1
#define global AllowedNullSignature 0x2