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 中所述的 RSAES-OAEP-ENCRYPT-OEAP 加密方案:RSA Encryption StandardPkcs1 模式对应于 PKCS #1 中所述的 RSAES-OAEP-ENCRYPT-PKCS1-v1_5 加密方案:RSA Encryption StandardThe 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.

适用于