Unused variable
Inclusion of method to retrieve the SecretKey
Make spongycastle optional
Merge branch 'AGSEC-160'