ramakrishnach04 / vt-middleware

Automatically exported from code.google.com/p/vt-middleware
0 stars 0 forks source link

vt-crypt: Add some additional functionality to CryptReader #124

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
- Allow all read methods to take a byte[]
- Support reading private/public keys given a file in DER, PEM, or PKCS8 format 
(i.e. the caller shouldn't need to know the format)
- Support reading in X.509 CRLs

Original issue reported on code.google.com by claj...@gmail.com on 6 Dec 2011 at 3:38

GoogleCodeExporter commented 8 years ago
This is an enhancement request.

Original comment by marvin.addison@gmail.com on 20 Dec 2011 at 3:16

GoogleCodeExporter commented 8 years ago
Regarding the request to support byte[] arguments, it's trivial to wrap a byte 
array in an InputStream and use the existing methods.  In fact that would be 
the implementation of the proposed overloaded methods you have requested.  I 
don't see the value.  Perhaps you could elaborate on your needs a bit to make a 
value proposition.

Original comment by marvin.addison@gmail.com on 20 Dec 2011 at 3:24

GoogleCodeExporter commented 8 years ago
Yes, it is trivial, which is why you should do it.  That way it happens in one 
place instead of having to sprinkle that wrapping all over the application code.

Original comment by claj...@gmail.com on 20 Dec 2011 at 5:06

GoogleCodeExporter commented 8 years ago

Original comment by marvin.addison@gmail.com on 5 Mar 2012 at 6:47

GoogleCodeExporter commented 8 years ago

Original comment by marvin.addison@gmail.com on 5 Mar 2012 at 6:48

GoogleCodeExporter commented 8 years ago
Added support for reading data from byte arrays and CRLs in r2309.

Original comment by marvin.addison@gmail.com on 7 Mar 2012 at 9:29

GoogleCodeExporter commented 8 years ago
Regarding the request for the following feature:

- Support reading private/public keys given a file in DER, PEM, or PKCS8 format 
(i.e. the caller shouldn't need to know the format)

This capability has been around since the completion of issue 91.

Original comment by marvin.addison@gmail.com on 7 Mar 2012 at 9:35

GoogleCodeExporter commented 8 years ago
All the features requested in this issue have been provided, or existed at the 
time of request.

Original comment by marvin.addison@gmail.com on 21 Mar 2012 at 3:18