英語で読む

次の方法で共有


RSACertificateExtensions クラス

定義

X509Certificate2 の公開キーと秘密キーの RSA 実装を取得するための拡張メソッドを指定します。

C#
public static class RSACertificateExtensions
継承
RSACertificateExtensions

メソッド

CopyWithPrivateKey(X509Certificate2, RSA)

秘密キーと RSA 証明書の公開キーを組み合わせて、新しい RSA 証明書を生成します。

GetRSAPrivateKey(X509Certificate2)

X509Certificate2 から RSA 秘密キーを取得します。

GetRSAPublicKey(X509Certificate2)

X509Certificate2 から RSA 公開キーを取得します。

適用対象

製品 バージョン
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 1.3, 1.4, 1.6, 2.0, 2.1