Re: Can't BER decode RSA public key with NDK Android

2016-10-18 Thread Jeffrey Walton
On Tuesday, October 18, 2016 at 11:17:09 PM UTC-4, Hoàng Hiệp wrote: > > I have problems using Crypto++ to save a RSA public key in string. When > decoding the key, I always get a BERDecodeErr exception. > > Code get public key and private key and is save to string > > KeyPairBase64

Can't BER decode RSA public key with NDK Android

2016-10-18 Thread Hoàng Hiệp
I have problems using Crypto++ to save a RSA public key in string. When decoding the key, I always get a BERDecodeErr exception. Code get public key and private key and is save to string KeyPairBase64 GenerateKeyPair::generateKeyPair(unsigned int aKeySize) { KeyPairBase64 keyPair =