// Normally should be private, may need to be public for our purposes public IKey GetKey() { // Pull key and reform it into a key var jsonKey = _storageHelper.GetItem <byte[]>(_keyAlias); var key = new SecretKeySpec(jsonKey, 0, jsonKey.Length, TRANSFORMATION); return(key); }
private IKey GetKey() { // Reform key object var jsonKey = _storageHelper.GetItem <byte[]>(_keyAlias); var key = new SecretKeySpec(jsonKey, 0, jsonKey.Length, TRANSFORMATION); return(key); }