UseOAEP Property
Whether to use Optimal Asymmetric Encryption Padding (OAEP).
Syntax
ANSI (Cross Platform) int GetUseOAEP();
int SetUseOAEP(int bUseOAEP); Unicode (Windows) BOOL GetUseOAEP();
INT SetUseOAEP(BOOL bUseOAEP);
@property (nonatomic,readwrite,assign,getter=useOAEP,setter=setUseOAEP:) BOOL useOAEP; - (BOOL)useOAEP; - (void)setUseOAEP:(BOOL)newUseOAEP;
#define PID_XMLENCRYPT_USEOAEP 23 IPWORKSENCRYPT_EXTERNAL void* IPWORKSENCRYPT_CALL IPWorksEncrypt_XMLEncrypt_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSENCRYPT_EXTERNAL int IPWORKSENCRYPT_CALL IPWorksEncrypt_XMLEncrypt_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
FALSE
Remarks
This setting specifies whether to use Optimal Asymmetric Encryption Padding (OAEP) when encrypting the SymmetricKey with the certificate specified by RecipientCert. It is only applicable when calling Encrypt and RecipientCert is specified.
By default this value is False and the class will use PKCS1.
Data Type
Boolean