RSAEncryptionPaddingMode 列舉

定義

指定要用於 RSA 加密或解密作業的填補模式。Specifies the padding mode to use with RSA encryption or decryption operations.

public enum class RSAEncryptionPaddingMode
public enum RSAEncryptionPaddingMode
type RSAEncryptionPaddingMode = 
Public Enum RSAEncryptionPaddingMode
繼承
RSAEncryptionPaddingMode

欄位

Oaep 1

最佳非對稱加密填補。Optimal Asymmetric Encryption Padding. 建議新的應用程式使用此選項。It is recommended for new applications.

Pkcs1 0

PKCS #1 v1.5。PKCS #1 v1.5. 我們因為要與現有應用程式相容而支援它。It is supported for compatibility with existing applications.

備註

Oaep 模式對應于pkcs #1: Rsa 加密標準中所述的 RSAES-OEAP 加密配置,而 Pkcs1 模式則對應于PKCS #1: rsa 加密標準中所述的 RSAES-PKCS1-v1_5 加密配置。The Oaep mode corresponds to the RSAES-OEAP encryption scheme described in the PKCS #1: RSA Encryption Standard, and the Pkcs1 mode corresponds to the RSAES-PKCS1-v1_5 encryption scheme described in the PKCS #1: RSA Encryption Standard.

適用於