jruby-openssl 0.6 → 0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. data/History.txt +45 -0
  2. data/Manifest.txt +19 -11
  3. data/README.txt +1 -12
  4. data/Rakefile +12 -5
  5. data/lib/bcmail-jdk15-144.jar +0 -0
  6. data/lib/bcprov-jdk15-144.jar +0 -0
  7. data/lib/jopenssl/version.rb +1 -1
  8. data/lib/jopenssl.jar +0 -0
  9. data/lib/openssl/bn.rb +5 -3
  10. data/lib/openssl/buffering.rb +2 -2
  11. data/lib/openssl/cipher.rb +27 -18
  12. data/lib/openssl/digest.rb +19 -4
  13. data/lib/openssl/dummy.rb +11 -11
  14. data/lib/openssl/dummyssl.rb +2 -1
  15. data/lib/openssl/pkcs7.rb +25 -0
  16. data/lib/openssl/ssl.rb +70 -26
  17. data/lib/openssl/x509.rb +2 -2
  18. data/lib/openssl.rb +47 -2
  19. data/test/fixture/ca-bundle.crt +2794 -0
  20. data/test/fixture/keypair.pem +27 -0
  21. data/test/fixture/selfcert.pem +23 -0
  22. data/test/{pkcs7_mime_enveloped.message → java/pkcs7_mime_enveloped.message} +0 -0
  23. data/test/{pkcs7_mime_signed.message → java/pkcs7_mime_signed.message} +0 -0
  24. data/test/{pkcs7_multipart_signed.message → java/pkcs7_multipart_signed.message} +0 -0
  25. data/test/{test_java_attribute.rb → java/test_java_attribute.rb} +2 -2
  26. data/test/{test_java_bio.rb → java/test_java_bio.rb} +0 -0
  27. data/test/{test_java_mime.rb → java/test_java_mime.rb} +0 -0
  28. data/test/{test_java_pkcs7.rb → java/test_java_pkcs7.rb} +35 -32
  29. data/test/{test_java_smime.rb → java/test_java_smime.rb} +0 -0
  30. data/test/openssl/test_asn1.rb +1 -3
  31. data/test/openssl/test_cipher.rb +7 -10
  32. data/test/openssl/test_ec.rb +113 -0
  33. data/test/openssl/test_pair.rb +3 -8
  34. data/test/openssl/test_pkcs7.rb +339 -11
  35. data/test/openssl/test_ssl.rb +728 -100
  36. data/test/openssl/test_x509cert.rb +5 -5
  37. data/test/openssl/test_x509crl.rb +1 -2
  38. data/test/openssl/test_x509ext.rb +3 -3
  39. data/test/openssl/test_x509name.rb +1 -0
  40. data/test/openssl/test_x509req.rb +5 -7
  41. data/test/openssl/test_x509store.rb +3 -2
  42. data/test/test_all.rb +1 -0
  43. data/test/{test_openssl_x509.rb → test_certificate.rb} +33 -3
  44. data/test/test_cipher.rb +85 -7
  45. data/test/test_integration.rb +7 -8
  46. data/test/test_java.rb +9 -9
  47. data/test/test_openssl.rb +3 -33
  48. data/test/test_parse_certificate.rb +8 -1
  49. data/test/test_pkcs7.rb +40 -0
  50. data/test/test_pkey.rb +165 -7
  51. data/test/test_x509store.rb +8 -7
  52. metadata +31 -30
  53. data/lib/bcmail-jdk14-139.jar +0 -0
  54. data/lib/bcprov-jdk14-139.jar +0 -0
metadata CHANGED
@@ -1,7 +1,11 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jruby-openssl
3
3
  version: !ruby/object:Gem::Version
4
- version: "0.6"
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 7
8
+ version: "0.7"
5
9
  platform: ruby
6
10
  authors:
7
11
  - Ola Bini and JRuby contributors
@@ -9,11 +13,11 @@ autorequire:
9
13
  bindir: bin
10
14
  cert_chain: []
11
15
 
12
- date: 2009-12-07 00:00:00 -06:00
16
+ date: 2010-04-27 00:00:00 -05:00
13
17
  default_executable:
14
18
  dependencies: []
15
19
 
16
- description: = JRuby-OpenSSL
20
+ description: JRuby-OpenSSL is an add-on gem for JRuby that emulates the Ruby OpenSSL native library.
17
21
  email: ola.bini@gmail.com
18
22
  executables: []
19
23
 
@@ -31,8 +35,8 @@ files:
31
35
  - README.txt
32
36
  - License.txt
33
37
  - lib/jopenssl.jar
34
- - lib/bcmail-jdk14-139.jar
35
- - lib/bcprov-jdk14-139.jar
38
+ - lib/bcmail-jdk15-144.jar
39
+ - lib/bcprov-jdk15-144.jar
36
40
  - lib/openssl.rb
37
41
  - lib/jopenssl/version.rb
38
42
  - lib/openssl/bn.rb
@@ -41,31 +45,29 @@ files:
41
45
  - lib/openssl/digest.rb
42
46
  - lib/openssl/dummy.rb
43
47
  - lib/openssl/dummyssl.rb
48
+ - lib/openssl/pkcs7.rb
44
49
  - lib/openssl/ssl.rb
45
50
  - lib/openssl/x509.rb
46
51
  - test/cert_with_ec_pk.cer
47
- - test/pkcs7_mime_enveloped.message
48
- - test/pkcs7_mime_signed.message
49
- - test/pkcs7_multipart_signed.message
52
+ - test/test_all.rb
53
+ - test/test_certificate.rb
50
54
  - test/test_cipher.rb
51
55
  - test/test_integration.rb
52
56
  - test/test_java.rb
53
- - test/test_java_attribute.rb
54
- - test/test_java_bio.rb
55
- - test/test_java_mime.rb
56
- - test/test_java_pkcs7.rb
57
- - test/test_java_smime.rb
58
57
  - test/test_openssl.rb
59
- - test/test_openssl_x509.rb
60
58
  - test/test_parse_certificate.rb
59
+ - test/test_pkcs7.rb
61
60
  - test/test_pkey.rb
62
61
  - test/test_x509store.rb
63
62
  - test/ut_eof.rb
63
+ - test/fixture/ca-bundle.crt
64
64
  - test/fixture/cacert.pem
65
65
  - test/fixture/cert_localhost.pem
66
66
  - test/fixture/common.pem
67
+ - test/fixture/keypair.pem
67
68
  - test/fixture/localhost_keypair.pem
68
69
  - test/fixture/max.pem
70
+ - test/fixture/selfcert.pem
69
71
  - test/fixture/verisign.pem
70
72
  - test/fixture/verisign_c3.pem
71
73
  - test/fixture/ca_path/72fa7371.0
@@ -90,10 +92,19 @@ files:
90
92
  - test/fixture/purpose/sslserver/csr.pem
91
93
  - test/fixture/purpose/sslserver/keypair.pem
92
94
  - test/fixture/purpose/sslserver/sslserver.pem
95
+ - test/java/pkcs7_mime_enveloped.message
96
+ - test/java/pkcs7_mime_signed.message
97
+ - test/java/pkcs7_multipart_signed.message
98
+ - test/java/test_java_attribute.rb
99
+ - test/java/test_java_bio.rb
100
+ - test/java/test_java_mime.rb
101
+ - test/java/test_java_pkcs7.rb
102
+ - test/java/test_java_smime.rb
93
103
  - test/openssl/ssl_server.rb
94
104
  - test/openssl/test_asn1.rb
95
105
  - test/openssl/test_cipher.rb
96
106
  - test/openssl/test_digest.rb
107
+ - test/openssl/test_ec.rb
97
108
  - test/openssl/test_hmac.rb
98
109
  - test/openssl/test_ns_spki.rb
99
110
  - test/openssl/test_pair.rb
@@ -125,32 +136,22 @@ required_ruby_version: !ruby/object:Gem::Requirement
125
136
  requirements:
126
137
  - - ">="
127
138
  - !ruby/object:Gem::Version
139
+ segments:
140
+ - 0
128
141
  version: "0"
129
- version:
130
142
  required_rubygems_version: !ruby/object:Gem::Requirement
131
143
  requirements:
132
144
  - - ">="
133
145
  - !ruby/object:Gem::Version
146
+ segments:
147
+ - 0
134
148
  version: "0"
135
- version:
136
149
  requirements: []
137
150
 
138
151
  rubyforge_project: jruby-extras
139
- rubygems_version: 1.3.5
152
+ rubygems_version: 1.3.6
140
153
  signing_key:
141
154
  specification_version: 3
142
155
  summary: OpenSSL add-on for JRuby
143
156
  test_files:
144
- - test/test_cipher.rb
145
- - test/test_integration.rb
146
- - test/test_java.rb
147
- - test/test_java_attribute.rb
148
- - test/test_java_bio.rb
149
- - test/test_java_mime.rb
150
- - test/test_java_pkcs7.rb
151
- - test/test_java_smime.rb
152
- - test/test_openssl.rb
153
- - test/test_openssl_x509.rb
154
- - test/test_parse_certificate.rb
155
- - test/test_pkey.rb
156
- - test/test_x509store.rb
157
+ - test/test_all.rb
Binary file
Binary file