Dela via


CryptographicPadding Enum

Definition

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.

Applies to