CanEncrypt Property
Returns true if the crypto object can be used for encryption.
Syntax
ANSI (Cross Platform) int GetCanEncrypt(); Unicode (Windows) BOOL GetCanEncrypt();
@property (nonatomic,readonly,assign,getter=canEncrypt) BOOL canEncrypt; - (BOOL)canEncrypt;
#define PID_PUBLICKEYCRYPTO_CANENCRYPT 1 SECUREBLACKBOXLITE_EXTERNAL void* SECUREBLACKBOXLITE_CALL SecureBlackboxLite_PublicKeyCrypto_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
Default Value
FALSE
Remarks
This property returns true if the crypto object can be used for encryption and decryption. This capability depends on the cryptographic algorithm.
This property is read-only and not available at design time.
Data Type
Boolean