@SuppressLint("GetInstance") public ObfuscatingSecretKeyWrapper(Context context,int saltIndex,SaltGenerator saltGenerator,String presharedSecret) throws NoSuchPaddingException, NoSuchAlgorithmException {
  mContext=context.getApplicationContext();
  mSaltIndex=saltIndex;
  mSaltGenerator=saltGenerator;
  mPresharedSecret=presharedSecret;
  mCipher=Cipher.getInstance(WRAPPED_KEY_TRANSFORMATION);
}

@ SuppressLint ( "GetInstance" ) public ObfuscatingSecretKeyWrapper ( Context context , int saltIndex , SaltGenerator saltGenerator , String presharedSecret ) throws NoSuchPaddingException , NoSuchAlgorithmException { mContext = context . getApplicationContext ( ) ; mSaltIndex = saltIndex ; mSaltGenerator = saltGenerator ; mPresharedSecret = presharedSecret ; mCipher = Cipher . getInstance ( WRAPPED_KEY_TRANSFORMATION ) ; }
create a new instance of an obfuscating secretkey wrapper .
