jruby-openssl 0.11.0-java → 0.13.0-java

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. checksums.yaml +5 -5
  2. data/History.md +43 -0
  3. data/Mavenfile +21 -26
  4. data/README.md +3 -0
  5. data/Rakefile +21 -35
  6. data/lib/jopenssl/load.rb +49 -14
  7. data/lib/jopenssl/version.rb +2 -1
  8. data/lib/jopenssl.jar +0 -0
  9. data/lib/openssl/bn.rb +40 -9
  10. data/lib/openssl/buffering.rb +478 -9
  11. data/lib/openssl/cipher.rb +67 -9
  12. data/lib/openssl/config.rb +496 -12
  13. data/lib/openssl/digest.rb +73 -9
  14. data/lib/openssl/hmac.rb +13 -0
  15. data/lib/openssl/marshal.rb +30 -0
  16. data/lib/openssl/pkcs5.rb +3 -3
  17. data/lib/openssl/pkey.rb +42 -5
  18. data/lib/openssl/ssl.rb +543 -9
  19. data/lib/openssl/x509.rb +369 -9
  20. data/lib/openssl.rb +3 -1
  21. data/pom.xml +38 -129
  22. metadata +9 -44
  23. data/lib/jopenssl19/openssl/bn.rb +0 -29
  24. data/lib/jopenssl19/openssl/buffering.rb +0 -449
  25. data/lib/jopenssl19/openssl/cipher.rb +0 -28
  26. data/lib/jopenssl19/openssl/config.rb +0 -472
  27. data/lib/jopenssl19/openssl/digest.rb +0 -32
  28. data/lib/jopenssl19/openssl/ssl-internal.rb +0 -223
  29. data/lib/jopenssl19/openssl/ssl.rb +0 -2
  30. data/lib/jopenssl19/openssl/x509-internal.rb +0 -115
  31. data/lib/jopenssl19/openssl/x509.rb +0 -2
  32. data/lib/jopenssl19/openssl.rb +0 -22
  33. data/lib/jopenssl21/openssl/bn.rb +0 -28
  34. data/lib/jopenssl21/openssl/buffering.rb +0 -1
  35. data/lib/jopenssl21/openssl/cipher.rb +0 -1
  36. data/lib/jopenssl21/openssl/config.rb +0 -1
  37. data/lib/jopenssl21/openssl/digest.rb +0 -1
  38. data/lib/jopenssl21/openssl/ssl.rb +0 -1
  39. data/lib/jopenssl21/openssl/x509.rb +0 -119
  40. data/lib/jopenssl21/openssl.rb +0 -22
  41. data/lib/jopenssl22/openssl/bn.rb +0 -39
  42. data/lib/jopenssl22/openssl/buffering.rb +0 -456
  43. data/lib/jopenssl22/openssl/cipher.rb +0 -28
  44. data/lib/jopenssl22/openssl/config.rb +0 -313
  45. data/lib/jopenssl22/openssl/digest.rb +0 -54
  46. data/lib/jopenssl22/openssl/ssl.rb +0 -330
  47. data/lib/jopenssl22/openssl/x509.rb +0 -139
  48. data/lib/jopenssl22/openssl.rb +0 -22
  49. data/lib/jopenssl23/openssl/bn.rb +0 -38
  50. data/lib/jopenssl23/openssl/buffering.rb +0 -455
  51. data/lib/jopenssl23/openssl/cipher.rb +0 -25
  52. data/lib/jopenssl23/openssl/config.rb +0 -474
  53. data/lib/jopenssl23/openssl/digest.rb +0 -43
  54. data/lib/jopenssl23/openssl/pkey.rb +0 -25
  55. data/lib/jopenssl23/openssl/ssl.rb +0 -508
  56. data/lib/jopenssl23/openssl/x509.rb +0 -208
  57. data/lib/jopenssl23/openssl.rb +0 -19
  58. data/lib/openssl/ssl-internal.rb +0 -5
  59. data/lib/openssl/x509-internal.rb +0 -5
data/pom.xml CHANGED
@@ -2,7 +2,7 @@
2
2
  <!--
3
3
 
4
4
 
5
- DO NOT MODIFIY - GENERATED CODE
5
+ DO NOT MODIFY - GENERATED CODE
6
6
 
7
7
 
8
8
  -->
@@ -11,7 +11,7 @@ DO NOT MODIFIY - GENERATED CODE
11
11
  <modelVersion>4.0.0</modelVersion>
12
12
  <groupId>rubygems</groupId>
13
13
  <artifactId>jruby-openssl</artifactId>
14
- <version>0.11.0</version>
14
+ <version>0.13.0</version>
15
15
  <packaging>gem</packaging>
16
16
  <name>JRuby OpenSSL</name>
17
17
  <description>JRuby-OpenSSL is an add-on gem for JRuby that emulates the Ruby OpenSSL native library.</description>
@@ -63,10 +63,10 @@ DO NOT MODIFIY - GENERATED CODE
63
63
  <bc.versions>1.68</bc.versions>
64
64
  <invoker.skip>${maven.test.skip}</invoker.skip>
65
65
  <invoker.test>${bc.versions}</invoker.test>
66
- <jruby.plugins.version>1.1.8</jruby.plugins.version>
66
+ <jruby.plugins.version>2.0.1</jruby.plugins.version>
67
67
  <jruby.switches>-W0</jruby.switches>
68
- <jruby.version>9.1.17.0</jruby.version>
69
- <jruby.versions>9.1.17.0</jruby.versions>
68
+ <jruby.version>9.2.19.0</jruby.version>
69
+ <jruby.versions>9.2.19.0</jruby.versions>
70
70
  <mavengem-wagon.version>1.0.3</mavengem-wagon.version>
71
71
  <mavengem.wagon.version>1.0.3</mavengem.wagon.version>
72
72
  <polyglot.dump.pom>pom.xml</polyglot.dump.pom>
@@ -92,9 +92,15 @@ DO NOT MODIFIY - GENERATED CODE
92
92
  <dependency>
93
93
  <groupId>org.jruby</groupId>
94
94
  <artifactId>jruby-core</artifactId>
95
- <version>1.7.20</version>
95
+ <version>9.1.11.0</version>
96
96
  <scope>provided</scope>
97
97
  </dependency>
98
+ <dependency>
99
+ <groupId>javax.annotation</groupId>
100
+ <artifactId>javax.annotation-api</artifactId>
101
+ <version>1.3.1</version>
102
+ <scope>compile</scope>
103
+ </dependency>
98
104
  <dependency>
99
105
  <groupId>junit</groupId>
100
106
  <artifactId>junit</artifactId>
@@ -175,7 +181,7 @@ DO NOT MODIFIY - GENERATED CODE
175
181
  <version>${jruby.plugins.version}</version>
176
182
  <executions>
177
183
  <execution>
178
- <id>default-initialize</id>
184
+ <id>default-package</id>
179
185
  <configuration>
180
186
  <addProjectClasspath>false</addProjectClasspath>
181
187
  <libDirectory>something-which-does-not-exists</libDirectory>
@@ -209,7 +215,7 @@ DO NOT MODIFIY - GENERATED CODE
209
215
  <executable>java</executable>
210
216
  <classpathScope>compile</classpathScope>
211
217
  <arguments>
212
- <argument>-Djruby.bytecode.version=1.7</argument>
218
+ <argument>-Djruby.bytecode.version=1.8</argument>
213
219
  <argument>-classpath</argument>
214
220
  <classpath />
215
221
  <argument>org.jruby.anno.InvokerGenerator</argument>
@@ -240,7 +246,7 @@ DO NOT MODIFIY - GENERATED CODE
240
246
  </plugin>
241
247
  <plugin>
242
248
  <artifactId>maven-compiler-plugin</artifactId>
243
- <version>3.1</version>
249
+ <version>3.9.0</version>
244
250
  <executions>
245
251
  <execution>
246
252
  <id>compile-populators</id>
@@ -261,8 +267,9 @@ DO NOT MODIFIY - GENERATED CODE
261
267
  </execution>
262
268
  </executions>
263
269
  <configuration>
264
- <source>1.7</source>
265
- <target>1.7</target>
270
+ <source>1.8</source>
271
+ <target>1.8</target>
272
+ <release>8</release>
266
273
  <encoding>UTF-8</encoding>
267
274
  <debug>true</debug>
268
275
  <showWarnings>true</showWarnings>
@@ -356,67 +363,6 @@ DO NOT MODIFIY - GENERATED CODE
356
363
  </plugins>
357
364
  </build>
358
365
  <profiles>
359
- <profile>
360
- <id>module-info</id>
361
- <activation>
362
- <jdk>[9,)</jdk>
363
- </activation>
364
- <build>
365
- <plugins>
366
- <plugin>
367
- <artifactId>maven-compiler-plugin</artifactId>
368
- <version>3.8.1</version>
369
- <configuration>
370
- <source>9</source>
371
- <target>1.7</target>
372
- <release>9</release>
373
- <includes>
374
- <include>module-info.java</include>
375
- </includes>
376
- </configuration>
377
- </plugin>
378
- </plugins>
379
- </build>
380
- </profile>
381
- <profile>
382
- <id>test-9.0.5.0</id>
383
- <build>
384
- <plugins>
385
- <plugin>
386
- <artifactId>maven-invoker-plugin</artifactId>
387
- <version>1.8</version>
388
- <executions>
389
- <execution>
390
- <id>tests-with-different-bc-versions</id>
391
- <goals>
392
- <goal>install</goal>
393
- <goal>run</goal>
394
- </goals>
395
- <configuration>
396
- <projectsDirectory>integration</projectsDirectory>
397
- <pomIncludes>
398
- <pomInclude>*/pom.xml</pomInclude>
399
- </pomIncludes>
400
- <streamLogs>true</streamLogs>
401
- <properties>
402
- <jruby.versions>${jruby.versions}</jruby.versions>
403
- <jruby.modes>${jruby.modes}</jruby.modes>
404
- <jruby.openssl.version>${project.version}</jruby.openssl.version>
405
- <bc.versions>${bc.versions}</bc.versions>
406
- <runit.dir>${runit.dir}</runit.dir>
407
- </properties>
408
- </configuration>
409
- </execution>
410
- </executions>
411
- </plugin>
412
- </plugins>
413
- </build>
414
- <properties>
415
- <bc.versions>1.58,1.59,1.60,1.61,1.62,1.63,1.64,1.65</bc.versions>
416
- <jruby.version>9.0.5.0</jruby.version>
417
- <jruby.versions>9.0.5.0</jruby.versions>
418
- </properties>
419
- </profile>
420
366
  <profile>
421
367
  <id>test-9.1.2.0</id>
422
368
  <build>
@@ -426,6 +372,7 @@ DO NOT MODIFIY - GENERATED CODE
426
372
  <version>1.8</version>
427
373
  <executions>
428
374
  <execution>
375
+ <id>tests-with-different-bc-versions</id>
429
376
  <goals>
430
377
  <goal>install</goal>
431
378
  <goal>run</goal>
@@ -450,7 +397,7 @@ DO NOT MODIFIY - GENERATED CODE
450
397
  </plugins>
451
398
  </build>
452
399
  <properties>
453
- <bc.versions>1.58,1.59,1.60,1.61,1.62,1.63,1.64,1.65</bc.versions>
400
+ <bc.versions>1.60,1.61,1.62,1.63,1.64,1.65,1.66,1.67,1.68</bc.versions>
454
401
  <jruby.version>9.1.2.0</jruby.version>
455
402
  <jruby.versions>9.1.2.0</jruby.versions>
456
403
  </properties>
@@ -488,7 +435,7 @@ DO NOT MODIFIY - GENERATED CODE
488
435
  </plugins>
489
436
  </build>
490
437
  <properties>
491
- <bc.versions>1.58,1.59,1.60,1.61,1.62,1.63,1.64,1.65</bc.versions>
438
+ <bc.versions>1.60,1.61,1.62,1.63,1.64,1.65,1.66,1.67,1.68</bc.versions>
492
439
  <jruby.version>9.1.8.0</jruby.version>
493
440
  <jruby.versions>9.1.8.0</jruby.versions>
494
441
  </properties>
@@ -526,7 +473,7 @@ DO NOT MODIFIY - GENERATED CODE
526
473
  </plugins>
527
474
  </build>
528
475
  <properties>
529
- <bc.versions>1.58,1.59,1.60,1.61,1.62,1.63,1.64,1.65</bc.versions>
476
+ <bc.versions>1.60,1.61,1.62,1.63,1.64,1.65,1.66,1.67,1.68</bc.versions>
530
477
  <jruby.version>9.1.12.0</jruby.version>
531
478
  <jruby.versions>9.1.12.0</jruby.versions>
532
479
  </properties>
@@ -564,7 +511,7 @@ DO NOT MODIFIY - GENERATED CODE
564
511
  </plugins>
565
512
  </build>
566
513
  <properties>
567
- <bc.versions>1.58,1.59,1.60,1.61,1.62,1.63,1.64,1.65</bc.versions>
514
+ <bc.versions>1.60,1.61,1.62,1.63,1.64,1.65,1.66,1.67,1.68</bc.versions>
568
515
  <jruby.version>9.1.16.0</jruby.version>
569
516
  <jruby.versions>9.1.16.0</jruby.versions>
570
517
  </properties>
@@ -602,7 +549,7 @@ DO NOT MODIFIY - GENERATED CODE
602
549
  </plugins>
603
550
  </build>
604
551
  <properties>
605
- <bc.versions>1.58,1.59,1.60,1.61,1.62,1.63,1.64,1.65</bc.versions>
552
+ <bc.versions>1.60,1.61,1.62,1.63,1.64,1.65,1.66,1.67,1.68</bc.versions>
606
553
  <jruby.version>9.1.17.0</jruby.version>
607
554
  <jruby.versions>9.1.17.0</jruby.versions>
608
555
  </properties>
@@ -640,7 +587,7 @@ DO NOT MODIFIY - GENERATED CODE
640
587
  </plugins>
641
588
  </build>
642
589
  <properties>
643
- <bc.versions>1.58,1.59,1.60,1.61,1.62,1.63,1.64,1.65</bc.versions>
590
+ <bc.versions>1.60,1.61,1.62,1.63,1.64,1.65,1.66,1.67,1.68</bc.versions>
644
591
  <jruby.version>9.2.0.0</jruby.version>
645
592
  <jruby.versions>9.2.0.0</jruby.versions>
646
593
  </properties>
@@ -678,51 +625,13 @@ DO NOT MODIFIY - GENERATED CODE
678
625
  </plugins>
679
626
  </build>
680
627
  <properties>
681
- <bc.versions>1.58,1.59,1.60,1.61,1.62,1.63,1.64,1.65</bc.versions>
628
+ <bc.versions>1.60,1.61,1.62,1.63,1.64,1.65,1.66,1.67,1.68</bc.versions>
682
629
  <jruby.version>9.2.5.0</jruby.version>
683
630
  <jruby.versions>9.2.5.0</jruby.versions>
684
631
  </properties>
685
632
  </profile>
686
633
  <profile>
687
- <id>test-9.2.6.0</id>
688
- <build>
689
- <plugins>
690
- <plugin>
691
- <artifactId>maven-invoker-plugin</artifactId>
692
- <version>1.8</version>
693
- <executions>
694
- <execution>
695
- <goals>
696
- <goal>install</goal>
697
- <goal>run</goal>
698
- </goals>
699
- <configuration>
700
- <projectsDirectory>integration</projectsDirectory>
701
- <pomIncludes>
702
- <pomInclude>*/pom.xml</pomInclude>
703
- </pomIncludes>
704
- <streamLogs>true</streamLogs>
705
- <properties>
706
- <jruby.versions>${jruby.versions}</jruby.versions>
707
- <jruby.modes>${jruby.modes}</jruby.modes>
708
- <jruby.openssl.version>${project.version}</jruby.openssl.version>
709
- <bc.versions>${bc.versions}</bc.versions>
710
- <runit.dir>${runit.dir}</runit.dir>
711
- </properties>
712
- </configuration>
713
- </execution>
714
- </executions>
715
- </plugin>
716
- </plugins>
717
- </build>
718
- <properties>
719
- <bc.versions>1.58,1.59,1.60,1.61,1.62,1.63,1.64,1.65</bc.versions>
720
- <jruby.version>9.2.6.0</jruby.version>
721
- <jruby.versions>9.2.6.0</jruby.versions>
722
- </properties>
723
- </profile>
724
- <profile>
725
- <id>test-9.2.7.0</id>
634
+ <id>test-9.2.10.0</id>
726
635
  <build>
727
636
  <plugins>
728
637
  <plugin>
@@ -754,13 +663,13 @@ DO NOT MODIFIY - GENERATED CODE
754
663
  </plugins>
755
664
  </build>
756
665
  <properties>
757
- <bc.versions>1.58,1.59,1.60,1.61,1.62,1.63,1.64,1.65</bc.versions>
758
- <jruby.version>9.2.7.0</jruby.version>
759
- <jruby.versions>9.2.7.0</jruby.versions>
666
+ <bc.versions>1.60,1.61,1.62,1.63,1.64,1.65,1.66,1.67,1.68</bc.versions>
667
+ <jruby.version>9.2.10.0</jruby.version>
668
+ <jruby.versions>9.2.10.0</jruby.versions>
760
669
  </properties>
761
670
  </profile>
762
671
  <profile>
763
- <id>test-9.2.8.0</id>
672
+ <id>test-9.2.17.0</id>
764
673
  <build>
765
674
  <plugins>
766
675
  <plugin>
@@ -792,13 +701,13 @@ DO NOT MODIFIY - GENERATED CODE
792
701
  </plugins>
793
702
  </build>
794
703
  <properties>
795
- <bc.versions>1.58,1.59,1.60,1.61,1.62,1.63,1.64,1.65</bc.versions>
796
- <jruby.version>9.2.8.0</jruby.version>
797
- <jruby.versions>9.2.8.0</jruby.versions>
704
+ <bc.versions>1.60,1.61,1.62,1.63,1.64,1.65,1.66,1.67,1.68</bc.versions>
705
+ <jruby.version>9.2.17.0</jruby.version>
706
+ <jruby.versions>9.2.17.0</jruby.versions>
798
707
  </properties>
799
708
  </profile>
800
709
  <profile>
801
- <id>test-9.2.9.0</id>
710
+ <id>test-9.2.19.0</id>
802
711
  <build>
803
712
  <plugins>
804
713
  <plugin>
@@ -830,9 +739,9 @@ DO NOT MODIFIY - GENERATED CODE
830
739
  </plugins>
831
740
  </build>
832
741
  <properties>
833
- <bc.versions>1.58,1.59,1.60,1.61,1.62,1.63,1.64,1.65</bc.versions>
834
- <jruby.version>9.2.9.0</jruby.version>
835
- <jruby.versions>9.2.9.0</jruby.versions>
742
+ <bc.versions>1.60,1.61,1.62,1.63,1.64,1.65,1.66,1.67,1.68</bc.versions>
743
+ <jruby.version>9.2.19.0</jruby.version>
744
+ <jruby.versions>9.2.19.0</jruby.versions>
836
745
  </properties>
837
746
  </profile>
838
747
  <profile>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jruby-openssl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.13.0
5
5
  platform: java
6
6
  authors:
7
7
  - Karol Bucek
@@ -10,9 +10,10 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2021-10-25 00:00:00.000000000 Z
13
+ date: 2022-05-13 00:00:00.000000000 Z
14
14
  dependencies: []
15
- description: JRuby-OpenSSL is an add-on gem for JRuby that emulates the Ruby OpenSSL native library.
15
+ description: JRuby-OpenSSL is an add-on gem for JRuby that emulates the Ruby OpenSSL
16
+ native library.
16
17
  email: self+jruby-openssl@kares.org
17
18
  executables: []
18
19
  extensions: []
@@ -27,41 +28,6 @@ files:
27
28
  - lib/jopenssl/_compat23.rb
28
29
  - lib/jopenssl/load.rb
29
30
  - lib/jopenssl/version.rb
30
- - lib/jopenssl19/openssl.rb
31
- - lib/jopenssl19/openssl/bn.rb
32
- - lib/jopenssl19/openssl/buffering.rb
33
- - lib/jopenssl19/openssl/cipher.rb
34
- - lib/jopenssl19/openssl/config.rb
35
- - lib/jopenssl19/openssl/digest.rb
36
- - lib/jopenssl19/openssl/ssl-internal.rb
37
- - lib/jopenssl19/openssl/ssl.rb
38
- - lib/jopenssl19/openssl/x509-internal.rb
39
- - lib/jopenssl19/openssl/x509.rb
40
- - lib/jopenssl21/openssl.rb
41
- - lib/jopenssl21/openssl/bn.rb
42
- - lib/jopenssl21/openssl/buffering.rb
43
- - lib/jopenssl21/openssl/cipher.rb
44
- - lib/jopenssl21/openssl/config.rb
45
- - lib/jopenssl21/openssl/digest.rb
46
- - lib/jopenssl21/openssl/ssl.rb
47
- - lib/jopenssl21/openssl/x509.rb
48
- - lib/jopenssl22/openssl.rb
49
- - lib/jopenssl22/openssl/bn.rb
50
- - lib/jopenssl22/openssl/buffering.rb
51
- - lib/jopenssl22/openssl/cipher.rb
52
- - lib/jopenssl22/openssl/config.rb
53
- - lib/jopenssl22/openssl/digest.rb
54
- - lib/jopenssl22/openssl/ssl.rb
55
- - lib/jopenssl22/openssl/x509.rb
56
- - lib/jopenssl23/openssl.rb
57
- - lib/jopenssl23/openssl/bn.rb
58
- - lib/jopenssl23/openssl/buffering.rb
59
- - lib/jopenssl23/openssl/cipher.rb
60
- - lib/jopenssl23/openssl/config.rb
61
- - lib/jopenssl23/openssl/digest.rb
62
- - lib/jopenssl23/openssl/pkey.rb
63
- - lib/jopenssl23/openssl/ssl.rb
64
- - lib/jopenssl23/openssl/x509.rb
65
31
  - lib/jruby-openssl.rb
66
32
  - lib/openssl.rb
67
33
  - lib/openssl/bn.rb
@@ -69,12 +35,12 @@ files:
69
35
  - lib/openssl/cipher.rb
70
36
  - lib/openssl/config.rb
71
37
  - lib/openssl/digest.rb
38
+ - lib/openssl/hmac.rb
39
+ - lib/openssl/marshal.rb
72
40
  - lib/openssl/pkcs12.rb
73
41
  - lib/openssl/pkcs5.rb
74
42
  - lib/openssl/pkey.rb
75
- - lib/openssl/ssl-internal.rb
76
43
  - lib/openssl/ssl.rb
77
- - lib/openssl/x509-internal.rb
78
44
  - lib/openssl/x509.rb
79
45
  - lib/org/bouncycastle/bcpkix-jdk15on/1.68/bcpkix-jdk15on-1.68.jar
80
46
  - lib/org/bouncycastle/bcprov-jdk15on/1.68/bcprov-jdk15on-1.68.jar
@@ -94,18 +60,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
94
60
  requirements:
95
61
  - - ">="
96
62
  - !ruby/object:Gem::Version
97
- version: 1.9.3
63
+ version: 2.3.0
98
64
  required_rubygems_version: !ruby/object:Gem::Requirement
99
65
  requirements:
100
66
  - - ">="
101
67
  - !ruby/object:Gem::Version
102
- version: 2.4.8
68
+ version: '0'
103
69
  requirements:
104
70
  - jar org.bouncycastle:bcprov-jdk15on, 1.68
105
71
  - jar org.bouncycastle:bcpkix-jdk15on, 1.68
106
72
  - jar org.bouncycastle:bctls-jdk15on, 1.68
107
- rubyforge_project:
108
- rubygems_version: 2.6.14.1
73
+ rubygems_version: 3.1.6
109
74
  signing_key:
110
75
  specification_version: 4
111
76
  summary: JRuby OpenSSL
@@ -1,29 +0,0 @@
1
- #--
2
- #
3
- # $RCSfile$
4
- #
5
- # = Ruby-space definitions that completes C-space funcs for BN
6
- #
7
- # = Info
8
- # 'OpenSSL for Ruby 2' project
9
- # Copyright (C) 2002 Michal Rokos <m.rokos@sh.cvut.cz>
10
- # All rights reserved.
11
- #
12
- # = Licence
13
- # This program is licenced under the same licence as Ruby.
14
- # (See the file 'LICENCE'.)
15
- #
16
- # = Version
17
- # $Id$
18
- #
19
- #++
20
-
21
- ##
22
- # Add double dispatch to Integer
23
- #
24
- class Integer
25
- def to_bn
26
- OpenSSL::BN::new(self)
27
- end
28
- end # Integer
29
-