I've unsigned char array data in objective-c .
I need the following:
1- Encrypt, decrypt this data with "RSA/ECB/PKCS1Padding",
2- Encrypt, decrypt this data with "AES256bit" with byte array key only (not IV),
3- Sign data with "SHA256withRSA".
Note:
I've certificate with public, and private key to sign.
I read some reference but I can't reach to the right one with example.
(RSA implementations in Objective C, Objective C AES256 Decryption, AES256 NSString Encryption in iOS,)
If you boost your reference with example, I'll be grateful to you.
Thank you in advance
Modification:
I need example to encrypt, decrypt data with "RSA/ECB/PKCS1Padding", where the certificate (or public and private keys ) are Base64.