Comments (2)
Hi,
This sounds like a great idea. The easiest would be to create a pull request and referencing this issue.
Disclaimer: I'm not aware of any formal process at the moment nor can I guarantee that the pull request will be accepted. We can take it from here.
Nico
from beanio.
Hi,
It turns out I'm in the exact same scenario. In my current project we have to generate flat files, and to be PCI-compliant we encrypt those with PGP, with the help of Bouncy GPG (which is a fancy API around Bouncy Castle).
IMO, generating a file and encrypting it are two separate concerns. I'm not sure it would a good idea to integrate this directly into BeanIO. What happens when someone needs to use another encryption mechanism? What happens when people are not interested in PGP encryption, and BeanIO pulls Bouncy Castle deps automatically in their project?
The Bouncy GPG API is used to create an OutputStream
. BeanIO's writer accepts a Writer
. It's very simple to plug those two together with an OutputStreamWriter
, no need to support it out of the box.
We could mention how to encrypt files in the docs though, or perhaps provide a sample project somewhere.
from beanio.
Related Issues (16)
- Release Candidate HOT 3
- https://code.google.com/archive/p/beanio/issues/131 HOT 2
- Using marshaller / unmarshaller are very buggy HOT 1
- BeanIo can't read special caracters HOT 3
- How BeanIO to fix length with read byte characters (LITTLE ENDIAN)
- Add support to LocalDate and LocalDateTime HOT 1
- Is this project still active? HOT 6
- Problema with record ID HOT 4
- SQL Date type handler
- Relative position (at = x)
- Ignore property by regex
- Can i define the precision of a field that does not have a decimal delimiter?
- CsvReader
- 👉👉👉 BeanIO is alive! A fork is available at beanio/beanio 👈👈👈 HOT 2
- Enable XML mapping file to identify and ignore Byte Order Mark (BOM)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from beanio.