// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== namespace System.Security.Cryptography { /// /// Specifies the padding mode to use with RSA encryption or decryption operations. /// public enum RSAEncryptionPaddingMode { /// /// PKCS #1 v1.5. /// /// /// This mode correpsonds to the RSAES-PKCS1-v1_5 encryption scheme described in the PKCS #1 RSA Encryption Standard. /// It is supported for compatibility with existing applications. /// Pkcs1, /// /// Optimal Asymmetric Encryption Padding. /// /// /// This mode corresponds to the RSAES-OEAP encryption scheme described in the PKCS #1 RSA Encryption Standard. /// It is recommended for new applications. /// Oaep, } }