[aerogear-dev] Android Crypto API sample
Christos Vasilakis
cvasilak at gmail.com
Fri Nov 8 11:12:19 EST 2013
Hi
thanks for the update!
some questions I have:
a) “PassPhraseCryptoConfig” and “PasswordProtectedKeystoreCryptoConfig” would be part of a public API (noticed it’s on an ‘impl’ package )
b) I guess the desired Cryptobox (as returned by the KeyManager) would be set as a parameter to the “StoreConfig” right?
Thanks,
Christos
On Nov 8, 2013, at 5:38 PM, Summers Pittman <supittma at redhat.com> wrote:
> Ok so I updated a little bit:
>
> So KeyService is now EncryptionService.
>
> https://github.com/secondsun/aerogear-android/blob/security/src/org/jboss/aerogear/android/security/EncryptionService.java
>
> Usages are here :
>
> https://gist.github.com/secondsun/c1fb32a4c49f9bb6bed2
>
> KeyManager is in Process.
>
> Here are links to the classes for my impls of EncryptionService
>
> https://github.com/secondsun/aerogear-android/blob/security/src/org/jboss/aerogear/android/impl/security/AbstractEncryptionService.java
>
> https://github.com/secondsun/aerogear-android/blob/security/src/org/jboss/aerogear/android/impl/security/PasswordKeyServices.java
>
> https://github.com/secondsun/aerogear-android/blob/security/src/org/jboss/aerogear/android/impl/security/PassPhraseKeyServices.java
>
>
> On 11/05/2013 03:00 PM, Summers Pittman wrote:
>> One of the things we briefly discussed on the chat was key generation
>> and secret storage.
>>
>> For Android we want to combine the two in an "easy" API which follows
>> the Object/Factory/Config patterns of our other systems (Pipeline,
>> Authentication, Push).
>>
>> Here is a high level code flavored example of what I am talking about.
>>
>> https://gist.github.com/secondsun/d602d19255b1fd085ac8
>>
>> Actual work is going forward here:
>> https://github.com/secondsun/aerogear-android/tree/security
>>
>> wdyt?
>> _______________________________________________
>> aerogear-dev mailing list
>> aerogear-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev
More information about the aerogear-dev
mailing list