CryptographicPadding Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies a padding mode for asymmetric algorithm signature or encryption operations.
public enum class CryptographicPadding
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class CryptographicPadding
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum CryptographicPadding
var value = Windows.Security.Cryptography.Core.CryptographicPadding.none
Public Enum CryptographicPadding
- Inheritance
-
CryptographicPadding
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
Fields
Name | Value | Description |
---|---|---|
None | 0 | Do not use padding. |
RsaOaep | 1 | Use the Optimal Asymmetric Encryption Padding (OAEP) scheme. |
RsaPkcs1V15 | 2 | Use the standard padding scheme for public-key cryptography based on the RSA algorithm as defined in RFC 3447. |
RsaPss | 3 | Use the Probabilistic Signature Scheme (PSS) scheme. |