CertificateRequest コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
CertificateRequest クラスの新しいインスタンスを初期化します。
オーバーロード
CertificateRequest(X500DistinguishedName, CompositeMLDsa)
指定したサブジェクト名と複合 ML-DSA キーの CertificateRequest を作成します。
public:
CertificateRequest(System::Security::Cryptography::X509Certificates::X500DistinguishedName ^ subjectName, System::Security::Cryptography::CompositeMLDsa ^ key);
[System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5006", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public CertificateRequest(System.Security.Cryptography.X509Certificates.X500DistinguishedName subjectName, System.Security.Cryptography.CompositeMLDsa key);
[<System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5006", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
new System.Security.Cryptography.X509Certificates.CertificateRequest : System.Security.Cryptography.X509Certificates.X500DistinguishedName * System.Security.Cryptography.CompositeMLDsa -> System.Security.Cryptography.X509Certificates.CertificateRequest
Public Sub New (subjectName As X500DistinguishedName, key As CompositeMLDsa)
パラメーター
- subjectName
- X500DistinguishedName
証明書または証明書要求のサブジェクト名の解析された表現。
- key
- CompositeMLDsa
証明書または証明書要求に公開キーマテリアルが含まれる複合 ML-DSA キー。
このキーは、 CreateSelfSigned(DateTimeOffset, DateTimeOffset) が呼び出された場合に秘密キーとして使用されます。
- 属性
例外
subjectName または key が null。
適用対象
CertificateRequest(X500DistinguishedName, MLDsa)
指定したサブジェクト名と ML-DSA キーの CertificateRequest を作成します。
public:
CertificateRequest(System::Security::Cryptography::X509Certificates::X500DistinguishedName ^ subjectName, System::Security::Cryptography::MLDsa ^ key);
[System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5006", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public CertificateRequest(System.Security.Cryptography.X509Certificates.X500DistinguishedName subjectName, System.Security.Cryptography.MLDsa key);
[<System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5006", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
new System.Security.Cryptography.X509Certificates.CertificateRequest : System.Security.Cryptography.X509Certificates.X500DistinguishedName * System.Security.Cryptography.MLDsa -> System.Security.Cryptography.X509Certificates.CertificateRequest
Public Sub New (subjectName As X500DistinguishedName, key As MLDsa)
パラメーター
- subjectName
- X500DistinguishedName
証明書または証明書要求のサブジェクト名の解析された表現。
- key
- MLDsa
証明書または証明書要求に公開キーマテリアルが含まれる ML-DSA キー。
このキーは、 CreateSelfSigned(DateTimeOffset, DateTimeOffset) が呼び出された場合に秘密キーとして使用されます。
- 属性
例外
subjectName または key が null。
適用対象
CertificateRequest(X500DistinguishedName, SlhDsa)
指定したサブジェクト名と SLH-DSA キーの CertificateRequest を作成します。
public:
CertificateRequest(System::Security::Cryptography::X509Certificates::X500DistinguishedName ^ subjectName, System::Security::Cryptography::SlhDsa ^ key);
[System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5006", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public CertificateRequest(System.Security.Cryptography.X509Certificates.X500DistinguishedName subjectName, System.Security.Cryptography.SlhDsa key);
[<System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5006", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
new System.Security.Cryptography.X509Certificates.CertificateRequest : System.Security.Cryptography.X509Certificates.X500DistinguishedName * System.Security.Cryptography.SlhDsa -> System.Security.Cryptography.X509Certificates.CertificateRequest
Public Sub New (subjectName As X500DistinguishedName, key As SlhDsa)
パラメーター
- subjectName
- X500DistinguishedName
証明書または証明書要求のサブジェクト名の解析された表現。
- key
- SlhDsa
証明書または証明書要求に公開キーマテリアルが含まれる SLH-DSA キー。
このキーは、 CreateSelfSigned(DateTimeOffset, DateTimeOffset) が呼び出された場合に秘密キーとして使用されます。
- 属性
例外
subjectName または key が null。
適用対象
CertificateRequest(String, CompositeMLDsa)
指定したサブジェクト名と複合 ML-DSA キーの CertificateRequest を作成します。
public:
CertificateRequest(System::String ^ subjectName, System::Security::Cryptography::CompositeMLDsa ^ key);
[System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5006", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public CertificateRequest(string subjectName, System.Security.Cryptography.CompositeMLDsa key);
[<System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5006", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
new System.Security.Cryptography.X509Certificates.CertificateRequest : string * System.Security.Cryptography.CompositeMLDsa -> System.Security.Cryptography.X509Certificates.CertificateRequest
Public Sub New (subjectName As String, key As CompositeMLDsa)
パラメーター
- subjectName
- String
証明書または証明書要求のサブジェクト名の解析された表現。
- key
- CompositeMLDsa
証明書または証明書要求に公開キーマテリアルが含まれる複合 ML-DSA キー。
このキーは、 CreateSelfSigned(DateTimeOffset, DateTimeOffset) が呼び出された場合に秘密キーとして使用されます。
- 属性
例外
subjectName または key が null。
適用対象
CertificateRequest(String, MLDsa)
指定したサブジェクト名と ML-DSA キーの CertificateRequest を作成します。
public:
CertificateRequest(System::String ^ subjectName, System::Security::Cryptography::MLDsa ^ key);
[System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5006", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public CertificateRequest(string subjectName, System.Security.Cryptography.MLDsa key);
[<System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5006", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
new System.Security.Cryptography.X509Certificates.CertificateRequest : string * System.Security.Cryptography.MLDsa -> System.Security.Cryptography.X509Certificates.CertificateRequest
Public Sub New (subjectName As String, key As MLDsa)
パラメーター
- subjectName
- String
証明書または証明書要求のサブジェクト名の解析された表現。
- key
- MLDsa
証明書または証明書要求に公開キーマテリアルが含まれる ML-DSA キー。
このキーは、 CreateSelfSigned(DateTimeOffset, DateTimeOffset) が呼び出された場合に秘密キーとして使用されます。
- 属性
例外
subjectName または key が null。
適用対象
CertificateRequest(String, SlhDsa)
指定したサブジェクト名と SLH-DSA キーの CertificateRequest を作成します。
public:
CertificateRequest(System::String ^ subjectName, System::Security::Cryptography::SlhDsa ^ key);
[System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5006", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public CertificateRequest(string subjectName, System.Security.Cryptography.SlhDsa key);
[<System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5006", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
new System.Security.Cryptography.X509Certificates.CertificateRequest : string * System.Security.Cryptography.SlhDsa -> System.Security.Cryptography.X509Certificates.CertificateRequest
Public Sub New (subjectName As String, key As SlhDsa)
パラメーター
- subjectName
- String
証明書または証明書要求のサブジェクト名の解析された表現。
- key
- SlhDsa
証明書または証明書要求に公開キーマテリアルが含まれる SLH-DSA キー。
このキーは、 CreateSelfSigned(DateTimeOffset, DateTimeOffset) が呼び出された場合に秘密キーとして使用されます。
- 属性
例外
subjectName または key が null。
適用対象
CertificateRequest(X500DistinguishedName, ECDsa, HashAlgorithmName)
指定したサブジェクト名、ECDSA キー、ハッシュ アルゴリズムを使用して、 CertificateRequest クラスの新しいインスタンスを初期化します。
public:
CertificateRequest(System::Security::Cryptography::X509Certificates::X500DistinguishedName ^ subjectName, System::Security::Cryptography::ECDsa ^ key, System::Security::Cryptography::HashAlgorithmName hashAlgorithm);
public CertificateRequest(System.Security.Cryptography.X509Certificates.X500DistinguishedName subjectName, System.Security.Cryptography.ECDsa key, System.Security.Cryptography.HashAlgorithmName hashAlgorithm);
new System.Security.Cryptography.X509Certificates.CertificateRequest : System.Security.Cryptography.X509Certificates.X500DistinguishedName * System.Security.Cryptography.ECDsa * System.Security.Cryptography.HashAlgorithmName -> System.Security.Cryptography.X509Certificates.CertificateRequest
Public Sub New (subjectName As X500DistinguishedName, key As ECDsa, hashAlgorithm As HashAlgorithmName)
パラメーター
- subjectName
- X500DistinguishedName
証明書または証明書要求のサブジェクト名の解析された表現。
- key
- ECDsa
公開キーマテリアルが証明書または証明書要求に含まれる ECDSA キー。 CreateSelfSigned(DateTimeOffset, DateTimeOffset) メソッドが呼び出された場合、このキーは秘密キーとして使用されます。
- hashAlgorithm
- HashAlgorithmName
証明書または証明書要求に署名するときに使用するハッシュ アルゴリズム。
例外
適用対象
CertificateRequest(X500DistinguishedName, PublicKey, HashAlgorithmName)
指定したサブジェクト名、エンコードされた公開キー、ハッシュ アルゴリズムを使用して、 CertificateRequest クラスの新しいインスタンスを初期化します。
public:
CertificateRequest(System::Security::Cryptography::X509Certificates::X500DistinguishedName ^ subjectName, System::Security::Cryptography::X509Certificates::PublicKey ^ publicKey, System::Security::Cryptography::HashAlgorithmName hashAlgorithm);
public CertificateRequest(System.Security.Cryptography.X509Certificates.X500DistinguishedName subjectName, System.Security.Cryptography.X509Certificates.PublicKey publicKey, System.Security.Cryptography.HashAlgorithmName hashAlgorithm);
new System.Security.Cryptography.X509Certificates.CertificateRequest : System.Security.Cryptography.X509Certificates.X500DistinguishedName * System.Security.Cryptography.X509Certificates.PublicKey * System.Security.Cryptography.HashAlgorithmName -> System.Security.Cryptography.X509Certificates.CertificateRequest
Public Sub New (subjectName As X500DistinguishedName, publicKey As PublicKey, hashAlgorithm As HashAlgorithmName)
パラメーター
- subjectName
- X500DistinguishedName
証明書または証明書要求のサブジェクト名の解析された表現。
- publicKey
- PublicKey
証明書または証明書要求に含める公開キーのエンコードされた表現。
- hashAlgorithm
- HashAlgorithmName
証明書または証明書要求に署名するときに使用するハッシュ アルゴリズム。
例外
適用対象
CertificateRequest(String, ECDsa, HashAlgorithmName)
指定したサブジェクト名、ECDSA キー、ハッシュ アルゴリズムを使用して、 CertificateRequest クラスの新しいインスタンスを初期化します。
public:
CertificateRequest(System::String ^ subjectName, System::Security::Cryptography::ECDsa ^ key, System::Security::Cryptography::HashAlgorithmName hashAlgorithm);
public CertificateRequest(string subjectName, System.Security.Cryptography.ECDsa key, System.Security.Cryptography.HashAlgorithmName hashAlgorithm);
new System.Security.Cryptography.X509Certificates.CertificateRequest : string * System.Security.Cryptography.ECDsa * System.Security.Cryptography.HashAlgorithmName -> System.Security.Cryptography.X509Certificates.CertificateRequest
Public Sub New (subjectName As String, key As ECDsa, hashAlgorithm As HashAlgorithmName)
パラメーター
- subjectName
- String
証明書または証明書要求のサブジェクト名の文字列表現。
- key
- ECDsa
公開キーマテリアルが証明書または証明書要求に含まれる ECDSA キー。 CreateSelfSigned(DateTimeOffset, DateTimeOffset) メソッドが呼び出された場合、このキーは秘密キーとして使用されます。
- hashAlgorithm
- HashAlgorithmName
証明書または証明書要求に署名するときに使用するハッシュ アルゴリズム。
例外
こちらもご覧ください
適用対象
CertificateRequest(X500DistinguishedName, RSA, HashAlgorithmName, RSASignaturePadding)
指定したサブジェクト名、RSA キー、ハッシュ アルゴリズムを使用して、 CertificateRequest クラスの新しいインスタンスを初期化します。
public:
CertificateRequest(System::Security::Cryptography::X509Certificates::X500DistinguishedName ^ subjectName, System::Security::Cryptography::RSA ^ key, System::Security::Cryptography::HashAlgorithmName hashAlgorithm, System::Security::Cryptography::RSASignaturePadding ^ padding);
public CertificateRequest(System.Security.Cryptography.X509Certificates.X500DistinguishedName subjectName, System.Security.Cryptography.RSA key, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding padding);
new System.Security.Cryptography.X509Certificates.CertificateRequest : System.Security.Cryptography.X509Certificates.X500DistinguishedName * System.Security.Cryptography.RSA * System.Security.Cryptography.HashAlgorithmName * System.Security.Cryptography.RSASignaturePadding -> System.Security.Cryptography.X509Certificates.CertificateRequest
Public Sub New (subjectName As X500DistinguishedName, key As RSA, hashAlgorithm As HashAlgorithmName, padding As RSASignaturePadding)
パラメーター
- subjectName
- X500DistinguishedName
証明書または証明書要求のサブジェクト名の解析された表現。
- key
- RSA
公開キーマテリアルが証明書または証明書要求に含まれる RSA キー。 CreateSelfSigned(DateTimeOffset, DateTimeOffset) メソッドが呼び出された場合、このキーは秘密キーとして使用されます。
- hashAlgorithm
- HashAlgorithmName
証明書または証明書要求に署名するときに使用するハッシュ アルゴリズム。
- padding
- RSASignaturePadding
自己署名または X509Certificate2で署名されている場合に適用する RSA 署名パディング。
例外
適用対象
CertificateRequest(X500DistinguishedName, PublicKey, HashAlgorithmName, RSASignaturePadding)
指定したサブジェクト名、エンコードされた公開キー、ハッシュ アルゴリズム、および RSA 署名パディングの CertificateRequest を作成します。
public CertificateRequest(System.Security.Cryptography.X509Certificates.X500DistinguishedName subjectName, System.Security.Cryptography.X509Certificates.PublicKey publicKey, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding? rsaSignaturePadding = default);
new System.Security.Cryptography.X509Certificates.CertificateRequest : System.Security.Cryptography.X509Certificates.X500DistinguishedName * System.Security.Cryptography.X509Certificates.PublicKey * System.Security.Cryptography.HashAlgorithmName * System.Security.Cryptography.RSASignaturePadding -> System.Security.Cryptography.X509Certificates.CertificateRequest
Public Sub New (subjectName As X500DistinguishedName, publicKey As PublicKey, hashAlgorithm As HashAlgorithmName, Optional rsaSignaturePadding As RSASignaturePadding = Nothing)
パラメーター
- subjectName
- X500DistinguishedName
証明書または証明書要求のサブジェクト名の解析された表現。
- publicKey
- PublicKey
証明書または証明書要求に含める公開キーのエンコードされた表現。
- hashAlgorithm
- HashAlgorithmName
証明書または証明書要求に署名するときに使用するハッシュ アルゴリズム。
- rsaSignaturePadding
- RSASignaturePadding
RSA 証明書を使用してこの要求に署名するときに使用する RSA 署名パディング。
適用対象
CertificateRequest(String, RSA, HashAlgorithmName, RSASignaturePadding)
指定したサブジェクト名、RSA キー、ハッシュ アルゴリズムを使用して、 CertificateRequest クラスの新しいインスタンスを初期化します。
public:
CertificateRequest(System::String ^ subjectName, System::Security::Cryptography::RSA ^ key, System::Security::Cryptography::HashAlgorithmName hashAlgorithm, System::Security::Cryptography::RSASignaturePadding ^ padding);
public CertificateRequest(string subjectName, System.Security.Cryptography.RSA key, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.RSASignaturePadding padding);
new System.Security.Cryptography.X509Certificates.CertificateRequest : string * System.Security.Cryptography.RSA * System.Security.Cryptography.HashAlgorithmName * System.Security.Cryptography.RSASignaturePadding -> System.Security.Cryptography.X509Certificates.CertificateRequest
Public Sub New (subjectName As String, key As RSA, hashAlgorithm As HashAlgorithmName, padding As RSASignaturePadding)
パラメーター
- subjectName
- String
証明書または証明書要求のサブジェクト名の文字列表現。
- key
- RSA
公開キーマテリアルが証明書または証明書要求に含まれる RSA キー。 CreateSelfSigned(DateTimeOffset, DateTimeOffset) メソッドが呼び出された場合、このキーは秘密キーとして使用されます。
- hashAlgorithm
- HashAlgorithmName
証明書または証明書要求に署名するときに使用するハッシュ アルゴリズム。
- padding
- RSASignaturePadding
自己署名または X509Certificate2で署名されている場合に適用する RSA 署名パディング。