Offset 1, 2 lines modified | Offset 1, 2 lines modified | ||
1 | · | 1 | ·829c3818c107630652548ce96b9ea06b·1046812·ruby·optional·jruby-openssl_0.9.21-2_all.deb |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | -rw-r--r--···0········0········0········4·2019-02-26·10:26:24.000000·debian-binary | 1 | -rw-r--r--···0········0········0········4·2019-02-26·10:26:24.000000·debian-binary |
2 | -rw-r--r--···0········0········0·····2208·2019-02-26·10:26:24.000000·control.tar.xz | 2 | -rw-r--r--···0········0········0·····2208·2019-02-26·10:26:24.000000·control.tar.xz |
3 | -rw-r--r--···0········0········0··1044 | 3 | -rw-r--r--···0········0········0··1044412·2019-02-26·10:26:24.000000·data.tar.xz |
Offset 3, 15 lines modified | Offset 3, 15 lines modified | ||
3 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2019-02-26·10:26:24.000000·./usr/share/ | 3 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2019-02-26·10:26:24.000000·./usr/share/ |
4 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2019-02-26·10:26:24.000000·./usr/share/doc/ | 4 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2019-02-26·10:26:24.000000·./usr/share/doc/ |
5 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2019-02-26·10:26:24.000000·./usr/share/doc/jruby-openssl/ | 5 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2019-02-26·10:26:24.000000·./usr/share/doc/jruby-openssl/ |
6 | -rw-r--r--···0·root·········(0)·root·········(0)······685·2019-02-26·10:26:24.000000·./usr/share/doc/jruby-openssl/changelog.Debian.gz | 6 | -rw-r--r--···0·root·········(0)·root·········(0)······685·2019-02-26·10:26:24.000000·./usr/share/doc/jruby-openssl/changelog.Debian.gz |
7 | -rw-r--r--···0·root·········(0)·root·········(0)·····9867·2017-07-28·11:14:22.000000·./usr/share/doc/jruby-openssl/changelog.gz | 7 | -rw-r--r--···0·root·········(0)·root·········(0)·····9867·2017-07-28·11:14:22.000000·./usr/share/doc/jruby-openssl/changelog.gz |
8 | -rw-r--r--···0·root·········(0)·root·········(0)····18470·2019-02-26·10:26:24.000000·./usr/share/doc/jruby-openssl/copyright | 8 | -rw-r--r--···0·root·········(0)·root·········(0)····18470·2019-02-26·10:26:24.000000·./usr/share/doc/jruby-openssl/copyright |
9 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2019-02-26·10:26:24.000000·./usr/share/java/ | 9 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2019-02-26·10:26:24.000000·./usr/share/java/ |
10 | -rw-r--r--···0·root·········(0)·root·········(0)··11949 | 10 | -rw-r--r--···0·root·········(0)·root·········(0)··1194934·2019-02-26·10:26:24.000000·./usr/share/java/jopenssl.jar |
11 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2019-02-26·10:26:24.000000·./usr/share/jruby/ | 11 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2019-02-26·10:26:24.000000·./usr/share/jruby/ |
12 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2019-02-26·10:26:24.000000·./usr/share/jruby/lib/ | 12 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2019-02-26·10:26:24.000000·./usr/share/jruby/lib/ |
13 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2019-02-26·10:26:24.000000·./usr/share/jruby/lib/ruby/ | 13 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2019-02-26·10:26:24.000000·./usr/share/jruby/lib/ruby/ |
14 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2019-02-26·10:26:24.000000·./usr/share/jruby/lib/ruby/stdlib/ | 14 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2019-02-26·10:26:24.000000·./usr/share/jruby/lib/ruby/stdlib/ |
15 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2019-02-26·10:26:24.000000·./usr/share/jruby/lib/ruby/stdlib/jopenssl/ | 15 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2019-02-26·10:26:24.000000·./usr/share/jruby/lib/ruby/stdlib/jopenssl/ |
16 | -rw-r--r--···0·root·········(0)·root·········(0)·····1183·2019-02-26·10:26:24.000000·./usr/share/jruby/lib/ruby/stdlib/jopenssl/load.rb | 16 | -rw-r--r--···0·root·········(0)·root·········(0)·····1183·2019-02-26·10:26:24.000000·./usr/share/jruby/lib/ruby/stdlib/jopenssl/load.rb |
17 | -rw-r--r--···0·root·········(0)·root·········(0)······237·2019-02-26·10:26:24.000000·./usr/share/jruby/lib/ruby/stdlib/jopenssl/version.rb | 17 | -rw-r--r--···0·root·········(0)·root·········(0)······237·2019-02-26·10:26:24.000000·./usr/share/jruby/lib/ruby/stdlib/jopenssl/version.rb |
Offset 1, 8 lines modified | Offset 1, 8 lines modified | ||
1 | Zip·file·size:·11949 | 1 | Zip·file·size:·1194934·bytes,·number·of·entries:·912 |
2 | drwxr-xr-x··2.0·unx········0·b-·stor·19-Feb-26·10:26·META-INF/ | 2 | drwxr-xr-x··2.0·unx········0·b-·stor·19-Feb-26·10:26·META-INF/ |
3 | -rw-r--r--··2.0·unx·······76·b-·defN·19-Feb-26·10:26·META-INF/MANIFEST.MF | 3 | -rw-r--r--··2.0·unx·······76·b-·defN·19-Feb-26·10:26·META-INF/MANIFEST.MF |
4 | drwxr-xr-x··2.0·unx········0·b-·stor·19-Feb-26·10:26·META-INF/maven/ | 4 | drwxr-xr-x··2.0·unx········0·b-·stor·19-Feb-26·10:26·META-INF/maven/ |
5 | drwxr-xr-x··2.0·unx········0·b-·stor·19-Feb-26·10:26·META-INF/maven/rubygems/ | 5 | drwxr-xr-x··2.0·unx········0·b-·stor·19-Feb-26·10:26·META-INF/maven/rubygems/ |
6 | drwxr-xr-x··2.0·unx········0·b-·stor·19-Feb-26·10:26·META-INF/maven/rubygems/jruby-openssl/ | 6 | drwxr-xr-x··2.0·unx········0·b-·stor·19-Feb-26·10:26·META-INF/maven/rubygems/jruby-openssl/ |
7 | -rw-r--r--··2.0·unx·······88·b-·defN·19-Feb-26·10:26·META-INF/maven/rubygems/jruby-openssl/pom.properties | 7 | -rw-r--r--··2.0·unx·······88·b-·defN·19-Feb-26·10:26·META-INF/maven/rubygems/jruby-openssl/pom.properties |
8 | -rw-r--r--··2.0·unx····33058·b-·defN·19-Feb-26·10:26·META-INF/maven/rubygems/jruby-openssl/pom.xml | 8 | -rw-r--r--··2.0·unx····33058·b-·defN·19-Feb-26·10:26·META-INF/maven/rubygems/jruby-openssl/pom.xml |
Offset 907, 8 lines modified | Offset 907, 8 lines modified | ||
907 | -rw-r--r--··2.0·unx·····3605·b-·defN·19-Feb-26·10:26·org/jruby/gen/org$jruby$ext$openssl$X509Extension$POPULATOR.class | 907 | -rw-r--r--··2.0·unx·····3605·b-·defN·19-Feb-26·10:26·org/jruby/gen/org$jruby$ext$openssl$X509Extension$POPULATOR.class |
908 | -rw-r--r--··2.0·unx·····4619·b-·defN·19-Feb-26·10:26·org/jruby/gen/org$jruby$ext$openssl$X509ExtensionFactory$POPULATOR.class | 908 | -rw-r--r--··2.0·unx·····4619·b-·defN·19-Feb-26·10:26·org/jruby/gen/org$jruby$ext$openssl$X509ExtensionFactory$POPULATOR.class |
909 | -rw-r--r--··2.0·unx·····3049·b-·defN·19-Feb-26·10:26·org/jruby/gen/org$jruby$ext$openssl$X509Name$POPULATOR.class | 909 | -rw-r--r--··2.0·unx·····3049·b-·defN·19-Feb-26·10:26·org/jruby/gen/org$jruby$ext$openssl$X509Name$POPULATOR.class |
910 | -rw-r--r--··2.0·unx·····4411·b-·defN·19-Feb-26·10:26·org/jruby/gen/org$jruby$ext$openssl$X509Request$POPULATOR.class | 910 | -rw-r--r--··2.0·unx·····4411·b-·defN·19-Feb-26·10:26·org/jruby/gen/org$jruby$ext$openssl$X509Request$POPULATOR.class |
911 | -rw-r--r--··2.0·unx·····3081·b-·defN·19-Feb-26·10:26·org/jruby/gen/org$jruby$ext$openssl$X509Revoked$POPULATOR.class | 911 | -rw-r--r--··2.0·unx·····3081·b-·defN·19-Feb-26·10:26·org/jruby/gen/org$jruby$ext$openssl$X509Revoked$POPULATOR.class |
912 | -rw-r--r--··2.0·unx·····3758·b-·defN·19-Feb-26·10:26·org/jruby/gen/org$jruby$ext$openssl$X509Store$POPULATOR.class | 912 | -rw-r--r--··2.0·unx·····3758·b-·defN·19-Feb-26·10:26·org/jruby/gen/org$jruby$ext$openssl$X509Store$POPULATOR.class |
913 | -rw-r--r--··2.0·unx·····3972·b-·defN·19-Feb-26·10:26·org/jruby/gen/org$jruby$ext$openssl$X509StoreContext$POPULATOR.class | 913 | -rw-r--r--··2.0·unx·····3972·b-·defN·19-Feb-26·10:26·org/jruby/gen/org$jruby$ext$openssl$X509StoreContext$POPULATOR.class |
914 | 912·files,·2398275·bytes·uncompressed,·1023 | 914 | 912·files,·2398275·bytes·uncompressed,·1023202·bytes·compressed:··57.3% |
Offset 13, 15 lines modified | Offset 13, 15 lines modified | ||
13 | public·class·SSLSocket$INVOKER$i$connect_nonblock·extends·JavaMethod$JavaMethodZeroOrOne | 13 | public·class·SSLSocket$INVOKER$i$connect_nonblock·extends·JavaMethod$JavaMethodZeroOrOne |
14 | { | 14 | { |
15 | ····public·SSLSocket$INVOKER$i$connect_nonblock(final·RubyModule·rubyModule,·final·Visibility·visibility,·final·String·s)·{ | 15 | ····public·SSLSocket$INVOKER$i$connect_nonblock(final·RubyModule·rubyModule,·final·Visibility·visibility,·final·String·s)·{ |
16 | ········super(rubyModule,·visibility,·s); | 16 | ········super(rubyModule,·visibility,·s); |
17 | ········((JavaMethod)this).setParameterDesc("R"); | 17 | ········((JavaMethod)this).setParameterDesc("R"); |
18 | ····} | 18 | ····} |
19 | ···· | 19 | ···· |
20 | ····public·IRubyObject·call(final·ThreadContext·threadContext,·final·IRubyObject·rubyObject,·final·RubyModule·rubyModule,·final·String·s,·final·IRubyObject·rubyObject2)·{ | ||
21 | ········return·((SSLSocket)rubyObject).connect_nonblock(threadContext,·rubyObject2); | ||
22 | ····} | ||
23 | ···· | ||
24 | ····public·IRubyObject·call(final·ThreadContext·threadContext,·final·IRubyObject·rubyObject,·final·RubyModule·rubyModule,·final·String·s)·{ | 20 | ····public·IRubyObject·call(final·ThreadContext·threadContext,·final·IRubyObject·rubyObject,·final·RubyModule·rubyModule,·final·String·s)·{ |
25 | ········return·((SSLSocket)rubyObject).connect_nonblock(threadContext); | 21 | ········return·((SSLSocket)rubyObject).connect_nonblock(threadContext); |
26 | ····} | 22 | ····} |
23 | ···· | ||
24 | ····public·IRubyObject·call(final·ThreadContext·threadContext,·final·IRubyObject·rubyObject,·final·RubyModule·rubyModule,·final·String·s,·final·IRubyObject·rubyObject2)·{ | ||
25 | ········return·((SSLSocket)rubyObject).connect_nonblock(threadContext,·rubyObject2); | ||
26 | ····} | ||
27 | } | 27 | } |
Offset 13, 15 lines modified | Offset 13, 15 lines modified | ||
13 | public·class·SSLSocket$INVOKER$i$sysread·extends·JavaMethod$JavaMethodOneOrTwo | 13 | public·class·SSLSocket$INVOKER$i$sysread·extends·JavaMethod$JavaMethodOneOrTwo |
14 | { | 14 | { |
15 | ····public·SSLSocket$INVOKER$i$sysread(final·RubyModule·rubyModule,·final·Visibility·visibility,·final·String·s)·{ | 15 | ····public·SSLSocket$INVOKER$i$sysread(final·RubyModule·rubyModule,·final·Visibility·visibility,·final·String·s)·{ |
16 | ········super(rubyModule,·visibility,·s); | 16 | ········super(rubyModule,·visibility,·s); |
17 | ········((JavaMethod)this).setParameterDesc("R"); | 17 | ········((JavaMethod)this).setParameterDesc("R"); |
18 | ····} | 18 | ····} |
19 | ···· | 19 | ···· |
20 | ····public·IRubyObject·call(final·ThreadContext·threadContext,·final·IRubyObject·rubyObject,·final·RubyModule·rubyModule,·final·String·s,·final·IRubyObject·rubyObject2)·{ | ||
21 | ········return·((SSLSocket)rubyObject).sysread(threadContext,·rubyObject2); | ||
22 | ····} | ||
23 | ···· | ||
24 | ····public·IRubyObject·call(final·ThreadContext·threadContext,·final·IRubyObject·rubyObject,·final·RubyModule·rubyModule,·final·String·s,·final·IRubyObject·rubyObject2,·final·IRubyObject·rubyObject3)·{ | 20 | ····public·IRubyObject·call(final·ThreadContext·threadContext,·final·IRubyObject·rubyObject,·final·RubyModule·rubyModule,·final·String·s,·final·IRubyObject·rubyObject2,·final·IRubyObject·rubyObject3)·{ |
25 | ········return·((SSLSocket)rubyObject).sysread(threadContext,·rubyObject2,·rubyObject3); | 21 | ········return·((SSLSocket)rubyObject).sysread(threadContext,·rubyObject2,·rubyObject3); |
26 | ····} | 22 | ····} |
23 | ···· | ||
24 | ····public·IRubyObject·call(final·ThreadContext·threadContext,·final·IRubyObject·rubyObject,·final·RubyModule·rubyModule,·final·String·s,·final·IRubyObject·rubyObject2)·{ | ||
25 | ········return·((SSLSocket)rubyObject).sysread(threadContext,·rubyObject2); | ||
26 | ····} | ||
27 | } | 27 | } |
Offset 13, 19 lines modified | Offset 13, 19 lines modified | ||
13 | public·class·SSLSocket$INVOKER$i$sysread_nonblock·extends·JavaMethod$JavaMethodOneOrTwoOrThree | 13 | public·class·SSLSocket$INVOKER$i$sysread_nonblock·extends·JavaMethod$JavaMethodOneOrTwoOrThree |
14 | { | 14 | { |
15 | ····public·SSLSocket$INVOKER$i$sysread_nonblock(final·RubyModule·rubyModule,·final·Visibility·visibility,·final·String·s)·{ | 15 | ····public·SSLSocket$INVOKER$i$sysread_nonblock(final·RubyModule·rubyModule,·final·Visibility·visibility,·final·String·s)·{ |
16 | ········super(rubyModule,·visibility,·s); | 16 | ········super(rubyModule,·visibility,·s); |
17 | ········((JavaMethod)this).setParameterDesc("R"); | 17 | ········((JavaMethod)this).setParameterDesc("R"); |
18 | ····} | 18 | ····} |
19 | ···· | 19 | ···· |
20 | ····public·IRubyObject·call(final·ThreadContext·threadContext,·final·IRubyObject·rubyObject,·final·RubyModule·rubyModule,·final·String·s,·final·IRubyObject·rubyObject2 | 20 | ····public·IRubyObject·call(final·ThreadContext·threadContext,·final·IRubyObject·rubyObject,·final·RubyModule·rubyModule,·final·String·s,·final·IRubyObject·rubyObject2)·{ |
21 | ········return·((SSLSocket)rubyObject).sysread_nonblock(threadContext,·rubyObject2 | 21 | ········return·((SSLSocket)rubyObject).sysread_nonblock(threadContext,·rubyObject2); |
22 | ····} | 22 | ····} |
23 | ···· | 23 | ···· |
24 | ····public·IRubyObject·call(final·ThreadContext·threadContext,·final·IRubyObject·rubyObject,·final·RubyModule·rubyModule,·final·String·s,·final·IRubyObject·rubyObject2,·final·IRubyObject·rubyObject3)·{ | 24 | ····public·IRubyObject·call(final·ThreadContext·threadContext,·final·IRubyObject·rubyObject,·final·RubyModule·rubyModule,·final·String·s,·final·IRubyObject·rubyObject2,·final·IRubyObject·rubyObject3)·{ |
25 | ········return·((SSLSocket)rubyObject).sysread_nonblock(threadContext,·rubyObject2,·rubyObject3); | 25 | ········return·((SSLSocket)rubyObject).sysread_nonblock(threadContext,·rubyObject2,·rubyObject3); |
26 | ····} | 26 | ····} |
27 | ···· | 27 | ···· |
28 | ····public·IRubyObject·call(final·ThreadContext·threadContext,·final·IRubyObject·rubyObject,·final·RubyModule·rubyModule,·final·String·s,·final·IRubyObject·rubyObject2)·{ | 28 | ····public·IRubyObject·call(final·ThreadContext·threadContext,·final·IRubyObject·rubyObject,·final·RubyModule·rubyModule,·final·String·s,·final·IRubyObject·rubyObject2,·final·IRubyObject·rubyObject3,·final·IRubyObject·rubyObject4)·{ |
29 | ········return·((SSLSocket)rubyObject).sysread_nonblock(threadContext,·rubyObject2); | 29 | ········return·((SSLSocket)rubyObject).sysread_nonblock(threadContext,·rubyObject2,·rubyObject3,·rubyObject4); |
30 | ····} | 30 | ····} |
31 | } | 31 | } |
Offset 13, 15 lines modified | Offset 13, 15 lines modified | ||
13 | public·class·SSLSocket$INVOKER$i$syswrite_nonblock·extends·JavaMethod$JavaMethodOneOrTwo | 13 | public·class·SSLSocket$INVOKER$i$syswrite_nonblock·extends·JavaMethod$JavaMethodOneOrTwo |
14 | { | 14 | { |
15 | ····public·SSLSocket$INVOKER$i$syswrite_nonblock(final·RubyModule·rubyModule,·final·Visibility·visibility,·final·String·s)·{ | 15 | ····public·SSLSocket$INVOKER$i$syswrite_nonblock(final·RubyModule·rubyModule,·final·Visibility·visibility,·final·String·s)·{ |
16 | ········super(rubyModule,·visibility,·s); | 16 | ········super(rubyModule,·visibility,·s); |
17 | ········((JavaMethod)this).setParameterDesc("R"); | 17 | ········((JavaMethod)this).setParameterDesc("R"); |
18 | ····} | 18 | ····} |
19 | ···· | 19 | ···· |
20 | ····public·IRubyObject·call(final·ThreadContext·threadContext,·final·IRubyObject·rubyObject,·final·RubyModule·rubyModule,·final·String·s,·final·IRubyObject·rubyObject2,·final·IRubyObject·rubyObject3)·{ | ||
21 | ········return·((SSLSocket)rubyObject).syswrite_nonblock(threadContext,·rubyObject2,·rubyObject3); | ||
22 | ····} | ||
23 | ···· | ||
24 | ····public·IRubyObject·call(final·ThreadContext·threadContext,·final·IRubyObject·rubyObject,·final·RubyModule·rubyModule,·final·String·s,·final·IRubyObject·rubyObject2)·{ | 20 | ····public·IRubyObject·call(final·ThreadContext·threadContext,·final·IRubyObject·rubyObject,·final·RubyModule·rubyModule,·final·String·s,·final·IRubyObject·rubyObject2)·{ |
25 | ········return·((SSLSocket)rubyObject).syswrite_nonblock(threadContext,·rubyObject2); | 21 | ········return·((SSLSocket)rubyObject).syswrite_nonblock(threadContext,·rubyObject2); |
26 | ····} | 22 | ····} |
23 | ···· | ||
24 | ····public·IRubyObject·call(final·ThreadContext·threadContext,·final·IRubyObject·rubyObject,·final·RubyModule·rubyModule,·final·String·s,·final·IRubyObject·rubyObject2,·final·IRubyObject·rubyObject3)·{ | ||
25 | ········return·((SSLSocket)rubyObject).syswrite_nonblock(threadContext,·rubyObject2,·rubyObject3); | ||
26 | ····} | ||
27 | } | 27 | } |
Offset 1, 29 lines modified | Offset 1, 29 lines modified | ||
1 | package·org.jruby.gen; | 1 | package·org.jruby.gen; |
2 | import·org.jruby.internal.runtime.methods.JavaMethod; | 2 | import·org.jruby.internal.runtime.methods.JavaMethod; |
3 | import·org.jruby.Ruby; | 3 | import·org.jruby.Ruby; |
4 | import·org.jruby.ext.openssl.ASN1$ASN1Data$INVOKER$i$ | 4 | import·org.jruby.ext.openssl.ASN1$ASN1Data$INVOKER$i$0$0$to_der; |
5 | import·org.jruby.internal.runtime.methods.DynamicMethod; | 5 | import·org.jruby.internal.runtime.methods.DynamicMethod; |
6 | import·org.jruby.runtime.ThreadContext; | 6 | import·org.jruby.runtime.ThreadContext; |
7 | import·org.jruby.runtime.builtin.IRubyObject; | 7 | import·org.jruby.runtime.builtin.IRubyObject; |
8 | import·org.jruby.ext.openssl.ASN1; | 8 | import·org.jruby.ext.openssl.ASN1; |
9 | import·org.jruby.ext.openssl.ASN1$ASN1Data$INVOKER$i$ | 9 | import·org.jruby.ext.openssl.ASN1$ASN1Data$INVOKER$i$3$0$initialize; |
10 | import·org.jruby.runtime.Visibility; | 10 | import·org.jruby.runtime.Visibility; |
11 | import·org.jruby.RubyModule; | 11 | import·org.jruby.RubyModule; |
12 | import·org.jruby.anno.TypePopulator; | 12 | import·org.jruby.anno.TypePopulator; |
13 | public·class·org$jruby$ext$openssl$ASN1$ASN1Data$POPULATOR·extends·TypePopulator | 13 | public·class·org$jruby$ext$openssl$ASN1$ASN1Data$POPULATOR·extends·TypePopulator |
14 | { | 14 | { |
15 | ····public·void·populate(final·RubyModule·cls,·final·Class·clazz)·{ | 15 | ····public·void·populate(final·RubyModule·cls,·final·Class·clazz)·{ |
16 | ········final·Ruby·runtime·=·cls.getRuntime(); | 16 | ········final·Ruby·runtime·=·cls.getRuntime(); |
17 | ········JavaMethod·javaMethod·=·(JavaMethod)new·ASN1$ASN1Data$INVOKER$i$ | 17 | ········JavaMethod·javaMethod·=·(JavaMethod)new·ASN1$ASN1Data$INVOKER$i$3$0$initialize(cls,·Visibility.PRIVATE,·"initialize"); |
18 | ········populateMethod(javaMethod,·0,·"to_der",·false,·false,·(Class)ASN1.ASN1Data.class,·"to_der",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); | ||
19 | ········cls.addMethodAtBootTimeOnly("to_der",·(DynamicMethod)javaMethod); | ||
20 | ········javaMethod·=·(JavaMethod)new·ASN1$ASN1Data$INVOKER$i$3$0$initialize(cls,·Visibility.PRIVATE,·"initialize"); | ||
21 | ········populateMethod(javaMethod,·3,·"initialize",·false,·false,·(Class)ASN1.ASN1Data.class,·"initialize",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class,·IRubyObject.class,·IRubyObject.class·}); | 18 | ········populateMethod(javaMethod,·3,·"initialize",·false,·false,·(Class)ASN1.ASN1Data.class,·"initialize",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class,·IRubyObject.class,·IRubyObject.class·}); |
22 | ········cls.addMethodAtBootTimeOnly("initialize",·(DynamicMethod)javaMethod); | 19 | ········cls.addMethodAtBootTimeOnly("initialize",·(DynamicMethod)javaMethod); |
23 | ········ | 20 | ········javaMethod·=·(JavaMethod)new·ASN1$ASN1Data$INVOKER$i$0$0$to_der(cls,·Visibility.PUBLIC,·"to_der"); |
21 | ········populateMethod(javaMethod,·0,·"to_der",·false,·false,·(Class)ASN1.ASN1Data.class,·"to_der",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); | ||
22 | ········cls.addMethodAtBootTimeOnly("to_der",·(DynamicMethod)javaMethod); | ||
24 | ········runtime.addBoundMethod("org.jruby.ext.openssl.ASN1.ASN1Data",·"initialize",·"initialize"); | 23 | ········runtime.addBoundMethod("org.jruby.ext.openssl.ASN1.ASN1Data",·"initialize",·"initialize"); |
24 | ········runtime.addBoundMethod("org.jruby.ext.openssl.ASN1.ASN1Data",·"to_der",·"to_der"); | ||
25 | ····} | 25 | ····} |
26 | } | 26 | } |
Offset 1, 40 lines modified | Offset 1, 40 lines modified | ||
1 | package·org.jruby.gen; | 1 | package·org.jruby.gen; |
2 | import·org.jruby.internal.runtime.methods.JavaMethod; | 2 | import·org.jruby.internal.runtime.methods.JavaMethod; |
3 | import·org.jruby.Ruby; | 3 | import·org.jruby.Ruby; |
4 | import·org.jruby.ext.openssl.ASN1$Constructive$INVOKER$i$0$0$to_der; | ||
4 | import·org.jruby.runtime.Block; | 5 | import·org.jruby.runtime.Block; |
5 | import·org.jruby.ext.openssl.ASN1$Constructive$INVOKER$i$0$0$each; | 6 | import·org.jruby.ext.openssl.ASN1$Constructive$INVOKER$i$0$0$each; |
6 | import·org.jruby.ext.openssl.ASN1$Constructive$INVOKER$i$0$3$initialize; | 7 | import·org.jruby.ext.openssl.ASN1$Constructive$INVOKER$i$0$3$initialize; |
7 | import·org.jruby.ext.openssl.ASN1$Constructive$INVOKER$i$0$0$size; | ||
8 | import·org.jruby.internal.runtime.methods.DynamicMethod; | 8 | import·org.jruby.internal.runtime.methods.DynamicMethod; |
9 | import·org.jruby.runtime.ThreadContext; | 9 | import·org.jruby.runtime.ThreadContext; |
10 | import·org.jruby.runtime.builtin.IRubyObject; | 10 | import·org.jruby.runtime.builtin.IRubyObject; |
11 | import·org.jruby.ext.openssl.ASN1; | 11 | import·org.jruby.ext.openssl.ASN1; |
12 | import·org.jruby.ext.openssl.ASN1$Constructive$INVOKER$i$0$0$ | 12 | import·org.jruby.ext.openssl.ASN1$Constructive$INVOKER$i$0$0$size; |
13 | import·org.jruby.runtime.Visibility; | 13 | import·org.jruby.runtime.Visibility; |
14 | import·org.jruby.RubyModule; | 14 | import·org.jruby.RubyModule; |
15 | import·org.jruby.anno.TypePopulator; | 15 | import·org.jruby.anno.TypePopulator; |
16 | public·class·org$jruby$ext$openssl$ASN1$Constructive$POPULATOR·extends·TypePopulator | 16 | public·class·org$jruby$ext$openssl$ASN1$Constructive$POPULATOR·extends·TypePopulator |
17 | { | 17 | { |
18 | ····public·void·populate(final·RubyModule·cls,·final·Class·clazz)·{ | 18 | ····public·void·populate(final·RubyModule·cls,·final·Class·clazz)·{ |
19 | ········final·Ruby·runtime·=·cls.getRuntime(); | 19 | ········final·Ruby·runtime·=·cls.getRuntime(); |
20 | ········JavaMethod·javaMethod·=·(JavaMethod)new·ASN1$Constructive$INVOKER$i$0$0$ | 20 | ········JavaMethod·javaMethod·=·(JavaMethod)new·ASN1$Constructive$INVOKER$i$0$0$size(cls,·Visibility.PUBLIC,·"size"); |
21 | ········populateMethod(javaMethod,·0,·"to_der",·false,·false,·(Class)ASN1.Constructive.class,·"to_der",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); | ||
22 | ········cls.addMethodAtBootTimeOnly("to_der",·(DynamicMethod)javaMethod); | ||
23 | ········javaMethod·=·(JavaMethod)new·ASN1$Constructive$INVOKER$i$0$0$size(cls,·Visibility.PUBLIC,·"size"); | ||
24 | ········populateMethod(javaMethod,·0,·"size",·false,·false,·(Class)ASN1.Constructive.class,·"size",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); | 21 | ········populateMethod(javaMethod,·0,·"size",·false,·false,·(Class)ASN1.Constructive.class,·"size",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); |
25 | ········cls.addMethodAtBootTimeOnly("size",·(DynamicMethod)javaMethod); | 22 | ········cls.addMethodAtBootTimeOnly("size",·(DynamicMethod)javaMethod); |
26 | ········javaMethod·=·(JavaMethod)new·ASN1$Constructive$INVOKER$i$0$3$initialize(cls,·Visibility.PRIVATE,·"initialize"); | 23 | ········javaMethod·=·(JavaMethod)new·ASN1$Constructive$INVOKER$i$0$3$initialize(cls,·Visibility.PRIVATE,·"initialize"); |
27 | ········populateMethod(javaMethod,·-1,·"initialize",·false,·false,·(Class)ASN1.Constructive.class,·"initialize",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject[].class·}); | 24 | ········populateMethod(javaMethod,·-1,·"initialize",·false,·false,·(Class)ASN1.Constructive.class,·"initialize",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject[].class·}); |
28 | ········cls.addMethodAtBootTimeOnly("initialize",·(DynamicMethod)javaMethod); | 25 | ········cls.addMethodAtBootTimeOnly("initialize",·(DynamicMethod)javaMethod); |
29 | ········javaMethod·=·(JavaMethod)new·ASN1$Constructive$INVOKER$i$0$0$each(cls,·Visibility.PUBLIC,·"each"); | 26 | ········javaMethod·=·(JavaMethod)new·ASN1$Constructive$INVOKER$i$0$0$each(cls,·Visibility.PUBLIC,·"each"); |
30 | ········populateMethod(javaMethod,·0,·"each",·false,·false,·(Class)ASN1.Constructive.class,·"each",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·Block.class·}); | 27 | ········populateMethod(javaMethod,·0,·"each",·false,·false,·(Class)ASN1.Constructive.class,·"each",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·Block.class·}); |
31 | ········cls.addMethodAtBootTimeOnly("each",·(DynamicMethod)javaMethod); | 28 | ········cls.addMethodAtBootTimeOnly("each",·(DynamicMethod)javaMethod); |
32 | ········ | 29 | ········javaMethod·=·(JavaMethod)new·ASN1$Constructive$INVOKER$i$0$0$to_der(cls,·Visibility.PUBLIC,·"to_der"); |
30 | ········populateMethod(javaMethod,·0,·"to_der",·false,·false,·(Class)ASN1.Constructive.class,·"to_der",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); | ||
31 | ········cls.addMethodAtBootTimeOnly("to_der",·(DynamicMethod)javaMethod); | ||
33 | ········runtime.addBoundMethod("org.jruby.ext.openssl.ASN1.Constructive",·"size",·"size"); | 32 | ········runtime.addBoundMethod("org.jruby.ext.openssl.ASN1.Constructive",·"size",·"size"); |
34 | ········runtime.addBoundMethod("org.jruby.ext.openssl.ASN1.Constructive",·"initialize",·"initialize"); | 33 | ········runtime.addBoundMethod("org.jruby.ext.openssl.ASN1.Constructive",·"initialize",·"initialize"); |
35 | ········runtime.addBoundMethod("org.jruby.ext.openssl.ASN1.Constructive",·"each",·"each"); | 34 | ········runtime.addBoundMethod("org.jruby.ext.openssl.ASN1.Constructive",·"each",·"each"); |
35 | ········runtime.addBoundMethod("org.jruby.ext.openssl.ASN1.Constructive",·"to_der",·"to_der"); | ||
36 | ····} | 36 | ····} |
37 | } | 37 | } |
Offset 1, 29 lines modified | Offset 1, 29 lines modified | ||
1 | package·org.jruby.gen; | 1 | package·org.jruby.gen; |
2 | import·org.jruby.internal.runtime.methods.JavaMethod; | 2 | import·org.jruby.internal.runtime.methods.JavaMethod; |
3 | import·org.jruby.Ruby; | 3 | import·org.jruby.Ruby; |
4 | import·org.jruby.ext.openssl.ASN1$Primitive$INVOKER$i$0$ | 4 | import·org.jruby.ext.openssl.ASN1$Primitive$INVOKER$i$0$0$to_der; |
5 | import·org.jruby.internal.runtime.methods.DynamicMethod; | 5 | import·org.jruby.internal.runtime.methods.DynamicMethod; |
6 | import·org.jruby.runtime.ThreadContext; | 6 | import·org.jruby.runtime.ThreadContext; |
7 | import·org.jruby.runtime.builtin.IRubyObject; | 7 | import·org.jruby.runtime.builtin.IRubyObject; |
8 | import·org.jruby.ext.openssl.ASN1; | 8 | import·org.jruby.ext.openssl.ASN1; |
9 | import·org.jruby.ext.openssl.ASN1$Primitive$INVOKER$i$0$ | 9 | import·org.jruby.ext.openssl.ASN1$Primitive$INVOKER$i$0$4$initialize; |
10 | import·org.jruby.runtime.Visibility; | 10 | import·org.jruby.runtime.Visibility; |
11 | import·org.jruby.RubyModule; | 11 | import·org.jruby.RubyModule; |
12 | import·org.jruby.anno.TypePopulator; | 12 | import·org.jruby.anno.TypePopulator; |
13 | public·class·org$jruby$ext$openssl$ASN1$Primitive$POPULATOR·extends·TypePopulator | 13 | public·class·org$jruby$ext$openssl$ASN1$Primitive$POPULATOR·extends·TypePopulator |
14 | { | 14 | { |
15 | ····public·void·populate(final·RubyModule·cls,·final·Class·clazz)·{ | 15 | ····public·void·populate(final·RubyModule·cls,·final·Class·clazz)·{ |
16 | ········final·Ruby·runtime·=·cls.getRuntime(); | 16 | ········final·Ruby·runtime·=·cls.getRuntime(); |
17 | ········JavaMethod·javaMethod·=·(JavaMethod)new·ASN1$Primitive$INVOKER$i$0$ | 17 | ········JavaMethod·javaMethod·=·(JavaMethod)new·ASN1$Primitive$INVOKER$i$0$4$initialize(cls,·Visibility.PRIVATE,·"initialize"); |
18 | ········populateMethod(javaMethod,·0,·"to_der",·false,·false,·(Class)ASN1.Primitive.class,·"to_der",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); | ||
19 | ········cls.addMethodAtBootTimeOnly("to_der",·(DynamicMethod)javaMethod); | ||
20 | ········javaMethod·=·(JavaMethod)new·ASN1$Primitive$INVOKER$i$0$4$initialize(cls,·Visibility.PRIVATE,·"initialize"); | ||
21 | ········populateMethod(javaMethod,·-1,·"initialize",·false,·false,·(Class)ASN1.Primitive.class,·"initialize",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject[].class·}); | 18 | ········populateMethod(javaMethod,·-1,·"initialize",·false,·false,·(Class)ASN1.Primitive.class,·"initialize",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject[].class·}); |
22 | ········cls.addMethodAtBootTimeOnly("initialize",·(DynamicMethod)javaMethod); | 19 | ········cls.addMethodAtBootTimeOnly("initialize",·(DynamicMethod)javaMethod); |
23 | ········ | 20 | ········javaMethod·=·(JavaMethod)new·ASN1$Primitive$INVOKER$i$0$0$to_der(cls,·Visibility.PUBLIC,·"to_der"); |
21 | ········populateMethod(javaMethod,·0,·"to_der",·false,·false,·(Class)ASN1.Primitive.class,·"to_der",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); | ||
22 | ········cls.addMethodAtBootTimeOnly("to_der",·(DynamicMethod)javaMethod); | ||
24 | ········runtime.addBoundMethod("org.jruby.ext.openssl.ASN1.Primitive",·"initialize",·"initialize"); | 23 | ········runtime.addBoundMethod("org.jruby.ext.openssl.ASN1.Primitive",·"initialize",·"initialize"); |
24 | ········runtime.addBoundMethod("org.jruby.ext.openssl.ASN1.Primitive",·"to_der",·"to_der"); | ||
25 | ····} | 25 | ····} |
26 | } | 26 | } |
Offset 8, 32 lines modified | Offset 8, 32 lines modified | ||
8 | import·org.jruby.RubyString; | 8 | import·org.jruby.RubyString; |
9 | import·org.jruby.ext.openssl.Cipher$INVOKER$i$0$0$name; | 9 | import·org.jruby.ext.openssl.Cipher$INVOKER$i$0$0$name; |
10 | import·org.jruby.ext.openssl.Cipher$INVOKER$i$1$0$set_padding; | 10 | import·org.jruby.ext.openssl.Cipher$INVOKER$i$1$0$set_padding; |
11 | import·org.jruby.ext.openssl.Cipher$INVOKER$i$0$0$block_size; | 11 | import·org.jruby.ext.openssl.Cipher$INVOKER$i$0$0$block_size; |
12 | import·org.jruby.ext.openssl.Cipher$INVOKER$i$0$0$random_iv; | 12 | import·org.jruby.ext.openssl.Cipher$INVOKER$i$0$0$random_iv; |
13 | import·org.jruby.ext.openssl.Cipher$INVOKER$i$0$0$do_final; | 13 | import·org.jruby.ext.openssl.Cipher$INVOKER$i$0$0$do_final; |
14 | import·org.jruby.ext.openssl.Cipher$INVOKER$i$0$0$iv_len; | 14 | import·org.jruby.ext.openssl.Cipher$INVOKER$i$0$0$iv_len; |
15 | import·org.jruby.ext.openssl.Cipher$INVOKER$i$1$0$initialize_copy; | ||
15 | import·org.jruby.ext.openssl.Cipher$INVOKER$i$1$0$initialize; | 16 | import·org.jruby.ext.openssl.Cipher$INVOKER$i$1$0$initialize; |
16 | import·org.jruby.RubyBoolean; | 17 | import·org.jruby.RubyBoolean; |
17 | import·org.jruby.ext.openssl.Cipher$INVOKER$i$0$0$authenticated_p; | 18 | import·org.jruby.ext.openssl.Cipher$INVOKER$i$0$0$authenticated_p; |
18 | import·org.jruby.ext.openssl.Cipher$INVOKER$i$0$2$decrypt; | ||
19 | import·org.jruby.ext.openssl.Cipher$INVOKER$i$1$0$set_key_len; | 19 | import·org.jruby.ext.openssl.Cipher$INVOKER$i$1$0$set_key_len; |
20 | import·org.jruby.ext.openssl.Cipher$INVOKER$i$1$0$set_iv; | 20 | import·org.jruby.ext.openssl.Cipher$INVOKER$i$1$0$set_iv; |
21 | import·org.jruby.RubyInteger; | 21 | import·org.jruby.RubyInteger; |
22 | import·org.jruby.ext.openssl.Cipher$INVOKER$i$0$0$key_len; | 22 | import·org.jruby.ext.openssl.Cipher$INVOKER$i$0$0$key_len; |
23 | import·org.jruby.ext.openssl.Cipher$INVOKER$i$0$0$reset; | 23 | import·org.jruby.ext.openssl.Cipher$INVOKER$i$0$0$reset; |
24 | import·org.jruby.ext.openssl.Cipher$INVOKER$i$1$0$set_key; | 24 | import·org.jruby.ext.openssl.Cipher$INVOKER$i$1$0$set_key; |
25 | import·org.jruby.ext.openssl.Cipher$INVOKER$i$1$0$set_auth_data; | 25 | import·org.jruby.ext.openssl.Cipher$INVOKER$i$1$0$set_auth_data; |
26 | import·org.jruby.ext.openssl.Cipher$INVOKER$i$1$0$set_auth_tag; | 26 | import·org.jruby.ext.openssl.Cipher$INVOKER$i$1$0$set_auth_tag; |
27 | import·org.jruby.ext.openssl.Cipher$INVOKER$i$1$0$initialize_copy; | ||
28 | import·org.jruby.ext.openssl.Cipher$INVOKER$i$0$2$encrypt; | 27 | import·org.jruby.ext.openssl.Cipher$INVOKER$i$0$2$encrypt; |
29 | import·org.jruby.ext.openssl.Cipher$INVOKER$i$0$0$random_key; | 28 | import·org.jruby.ext.openssl.Cipher$INVOKER$i$0$0$random_key; |
30 | import·org.jruby.ext.openssl.Cipher$INVOKER$i$0$0$auth_tag; | 29 | import·org.jruby.ext.openssl.Cipher$INVOKER$i$0$0$auth_tag; |
31 | import·org.jruby.ext.openssl.Cipher$INVOKER$i$1$0$update_deprecated; | 30 | import·org.jruby.ext.openssl.Cipher$INVOKER$i$1$0$update_deprecated; |
32 | import·org.jruby.ext.openssl.Cipher$INVOKER$i$0$3$pkcs5_keyivgen; | 31 | import·org.jruby.ext.openssl.Cipher$INVOKER$i$0$3$pkcs5_keyivgen; |
32 | import·org.jruby.ext.openssl.Cipher$INVOKER$i$0$2$decrypt; | ||
33 | import·org.jruby.internal.runtime.methods.DynamicMethod; | 33 | import·org.jruby.internal.runtime.methods.DynamicMethod; |
34 | import·org.jruby.runtime.ThreadContext; | 34 | import·org.jruby.runtime.ThreadContext; |
35 | import·org.jruby.runtime.builtin.IRubyObject; | 35 | import·org.jruby.runtime.builtin.IRubyObject; |
36 | import·org.jruby.ext.openssl.Cipher; | 36 | import·org.jruby.ext.openssl.Cipher; |
37 | import·org.jruby.ext.openssl.Cipher$INVOKER$s$0$0$ciphers; | 37 | import·org.jruby.ext.openssl.Cipher$INVOKER$s$0$0$ciphers; |
38 | import·org.jruby.runtime.Visibility; | 38 | import·org.jruby.runtime.Visibility; |
39 | import·org.jruby.RubyModule; | 39 | import·org.jruby.RubyModule; |
Offset 44, 14 lines modified | Offset 44, 17 lines modified | ||
44 | ····public·void·populate(final·RubyModule·cls,·final·Class·clazz)·{ | 44 | ····public·void·populate(final·RubyModule·cls,·final·Class·clazz)·{ |
45 | ········final·RubyClass·singletonClass·=·cls.getSingletonClass(); | 45 | ········final·RubyClass·singletonClass·=·cls.getSingletonClass(); |
46 | ········final·Ruby·runtime·=·cls.getRuntime(); | 46 | ········final·Ruby·runtime·=·cls.getRuntime(); |
47 | ········JavaMethod·javaMethod·=·(JavaMethod)new·Cipher$INVOKER$s$0$0$ciphers((RubyModule)singletonClass,·Visibility.PUBLIC,·"ciphers"); | 47 | ········JavaMethod·javaMethod·=·(JavaMethod)new·Cipher$INVOKER$s$0$0$ciphers((RubyModule)singletonClass,·Visibility.PUBLIC,·"ciphers"); |
48 | ········populateMethod(javaMethod,·0,·"ciphers",·true,·false,·(Class)Cipher.class,·"ciphers",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); | 48 | ········populateMethod(javaMethod,·0,·"ciphers",·true,·false,·(Class)Cipher.class,·"ciphers",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); |
49 | ········singletonClass.addMethodAtBootTimeOnly("ciphers",·(DynamicMethod)javaMethod); | 49 | ········singletonClass.addMethodAtBootTimeOnly("ciphers",·(DynamicMethod)javaMethod); |
50 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Cipher",·"ciphers",·"ciphers"); | 50 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Cipher",·"ciphers",·"ciphers"); |
51 | ········javaMethod·=·(JavaMethod)new·Cipher$INVOKER$i$0$2$decrypt(cls,·Visibility.PUBLIC,·"decrypt"); | ||
52 | ········populateMethod(javaMethod,·-1,·"decrypt",·false,·false,·(Class)Cipher.class,·"decrypt",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject[].class·}); | ||
53 | ········cls.addMethodAtBootTimeOnly("decrypt",·(DynamicMethod)javaMethod); | ||
51 | ········javaMethod·=·(JavaMethod)new·Cipher$INVOKER$i$0$3$pkcs5_keyivgen(cls,·Visibility.PUBLIC,·"pkcs5_keyivgen"); | 54 | ········javaMethod·=·(JavaMethod)new·Cipher$INVOKER$i$0$3$pkcs5_keyivgen(cls,·Visibility.PUBLIC,·"pkcs5_keyivgen"); |
52 | ········populateMethod(javaMethod,·-1,·"pkcs5_keyivgen",·false,·false,·(Class)Cipher.class,·"pkcs5_keyivgen",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject[].class·}); | 55 | ········populateMethod(javaMethod,·-1,·"pkcs5_keyivgen",·false,·false,·(Class)Cipher.class,·"pkcs5_keyivgen",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject[].class·}); |
53 | ········cls.addMethodAtBootTimeOnly("pkcs5_keyivgen",·(DynamicMethod)javaMethod); | 56 | ········cls.addMethodAtBootTimeOnly("pkcs5_keyivgen",·(DynamicMethod)javaMethod); |
54 | ········javaMethod·=·(JavaMethod)new·Cipher$INVOKER$i$1$0$update_deprecated(cls,·Visibility.PUBLIC,·"<<"); | 57 | ········javaMethod·=·(JavaMethod)new·Cipher$INVOKER$i$1$0$update_deprecated(cls,·Visibility.PUBLIC,·"<<"); |
55 | ········populateMethod(javaMethod,·1,·"update_deprecated",·false,·false,·(Class)Cipher.class,·"update_deprecated",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); | 58 | ········populateMethod(javaMethod,·1,·"update_deprecated",·false,·false,·(Class)Cipher.class,·"update_deprecated",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); |
56 | ········cls.addMethodAtBootTimeOnly("<<",·(DynamicMethod)javaMethod); | 59 | ········cls.addMethodAtBootTimeOnly("<<",·(DynamicMethod)javaMethod); |
57 | ········javaMethod·=·(JavaMethod)new·Cipher$INVOKER$i$0$0$auth_tag(cls,·Visibility.PUBLIC,·"auth_tag"); | 60 | ········javaMethod·=·(JavaMethod)new·Cipher$INVOKER$i$0$0$auth_tag(cls,·Visibility.PUBLIC,·"auth_tag"); |
Offset 59, 17 lines modified | Offset 62, 14 lines modified | ||
59 | ········cls.addMethodAtBootTimeOnly("auth_tag",·(DynamicMethod)javaMethod); | 62 | ········cls.addMethodAtBootTimeOnly("auth_tag",·(DynamicMethod)javaMethod); |
60 | ········javaMethod·=·(JavaMethod)new·Cipher$INVOKER$i$0$0$random_key(cls,·Visibility.PUBLIC,·"random_key"); | 63 | ········javaMethod·=·(JavaMethod)new·Cipher$INVOKER$i$0$0$random_key(cls,·Visibility.PUBLIC,·"random_key"); |
61 | ········populateMethod(javaMethod,·0,·"random_key",·false,·false,·(Class)Cipher.class,·"random_key",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); | 64 | ········populateMethod(javaMethod,·0,·"random_key",·false,·false,·(Class)Cipher.class,·"random_key",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); |
62 | ········cls.addMethodAtBootTimeOnly("random_key",·(DynamicMethod)javaMethod); | 65 | ········cls.addMethodAtBootTimeOnly("random_key",·(DynamicMethod)javaMethod); |
63 | ········javaMethod·=·(JavaMethod)new·Cipher$INVOKER$i$0$2$encrypt(cls,·Visibility.PUBLIC,·"encrypt"); | 66 | ········javaMethod·=·(JavaMethod)new·Cipher$INVOKER$i$0$2$encrypt(cls,·Visibility.PUBLIC,·"encrypt"); |
64 | ········populateMethod(javaMethod,·-1,·"encrypt",·false,·false,·(Class)Cipher.class,·"encrypt",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject[].class·}); | 67 | ········populateMethod(javaMethod,·-1,·"encrypt",·false,·false,·(Class)Cipher.class,·"encrypt",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject[].class·}); |
65 | ········cls.addMethodAtBootTimeOnly("encrypt",·(DynamicMethod)javaMethod); | 68 | ········cls.addMethodAtBootTimeOnly("encrypt",·(DynamicMethod)javaMethod); |
66 | ········javaMethod·=·(JavaMethod)new·Cipher$INVOKER$i$1$0$initialize_copy(cls,·Visibility.PRIVATE,·"initialize_copy"); | ||
67 | ········populateMethod(javaMethod,·1,·"initialize_copy",·false,·false,·(Class)Cipher.class,·"initialize_copy",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); | ||
68 | ········cls.addMethodAtBootTimeOnly("initialize_copy",·(DynamicMethod)javaMethod); | ||
69 | ········javaMethod·=·(JavaMethod)new·Cipher$INVOKER$i$1$0$set_auth_tag(cls,·Visibility.PUBLIC,·"auth_tag="); | 69 | ········javaMethod·=·(JavaMethod)new·Cipher$INVOKER$i$1$0$set_auth_tag(cls,·Visibility.PUBLIC,·"auth_tag="); |
70 | ········populateMethod(javaMethod,·1,·"set_auth_tag",·false,·false,·(Class)Cipher.class,·"set_auth_tag",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); | 70 | ········populateMethod(javaMethod,·1,·"set_auth_tag",·false,·false,·(Class)Cipher.class,·"set_auth_tag",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); |
71 | ········cls.addMethodAtBootTimeOnly("auth_tag=",·(DynamicMethod)javaMethod); | 71 | ········cls.addMethodAtBootTimeOnly("auth_tag=",·(DynamicMethod)javaMethod); |
72 | ········javaMethod·=·(JavaMethod)new·Cipher$INVOKER$i$1$0$set_auth_data(cls,·Visibility.PUBLIC,·"auth_data="); | 72 | ········javaMethod·=·(JavaMethod)new·Cipher$INVOKER$i$1$0$set_auth_data(cls,·Visibility.PUBLIC,·"auth_data="); |
73 | ········populateMethod(javaMethod,·1,·"set_auth_data",·false,·false,·(Class)Cipher.class,·"set_auth_data",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); | 73 | ········populateMethod(javaMethod,·1,·"set_auth_data",·false,·false,·(Class)Cipher.class,·"set_auth_data",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); |
74 | ········cls.addMethodAtBootTimeOnly("auth_data=",·(DynamicMethod)javaMethod); | 74 | ········cls.addMethodAtBootTimeOnly("auth_data=",·(DynamicMethod)javaMethod); |
75 | ········javaMethod·=·(JavaMethod)new·Cipher$INVOKER$i$1$0$set_key(cls,·Visibility.PUBLIC,·"key="); | 75 | ········javaMethod·=·(JavaMethod)new·Cipher$INVOKER$i$1$0$set_key(cls,·Visibility.PUBLIC,·"key="); |
Offset 83, 23 lines modified | Offset 83, 23 lines modified | ||
83 | ········cls.addMethodAtBootTimeOnly("key_len",·(DynamicMethod)javaMethod); | 83 | ········cls.addMethodAtBootTimeOnly("key_len",·(DynamicMethod)javaMethod); |
84 | ········javaMethod·=·(JavaMethod)new·Cipher$INVOKER$i$1$0$set_iv(cls,·Visibility.PUBLIC,·"iv="); | 84 | ········javaMethod·=·(JavaMethod)new·Cipher$INVOKER$i$1$0$set_iv(cls,·Visibility.PUBLIC,·"iv="); |
85 | ········populateMethod(javaMethod,·1,·"set_iv",·false,·false,·(Class)Cipher.class,·"set_iv",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); | 85 | ········populateMethod(javaMethod,·1,·"set_iv",·false,·false,·(Class)Cipher.class,·"set_iv",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); |
86 | ········cls.addMethodAtBootTimeOnly("iv=",·(DynamicMethod)javaMethod); | 86 | ········cls.addMethodAtBootTimeOnly("iv=",·(DynamicMethod)javaMethod); |
87 | ········javaMethod·=·(JavaMethod)new·Cipher$INVOKER$i$1$0$set_key_len(cls,·Visibility.PUBLIC,·"key_len="); | 87 | ········javaMethod·=·(JavaMethod)new·Cipher$INVOKER$i$1$0$set_key_len(cls,·Visibility.PUBLIC,·"key_len="); |
88 | ········populateMethod(javaMethod,·1,·"set_key_len",·false,·false,·(Class)Cipher.class,·"set_key_len",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); | 88 | ········populateMethod(javaMethod,·1,·"set_key_len",·false,·false,·(Class)Cipher.class,·"set_key_len",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); |
89 | ········cls.addMethodAtBootTimeOnly("key_len=",·(DynamicMethod)javaMethod); | 89 | ········cls.addMethodAtBootTimeOnly("key_len=",·(DynamicMethod)javaMethod); |
90 | ········javaMethod·=·(JavaMethod)new·Cipher$INVOKER$i$0$2$decrypt(cls,·Visibility.PUBLIC,·"decrypt"); | ||
91 | ········populateMethod(javaMethod,·-1,·"decrypt",·false,·false,·(Class)Cipher.class,·"decrypt",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject[].class·}); | ||
92 | ········cls.addMethodAtBootTimeOnly("decrypt",·(DynamicMethod)javaMethod); | ||
93 | ········javaMethod·=·(JavaMethod)new·Cipher$INVOKER$i$0$0$authenticated_p(cls,·Visibility.PUBLIC,·"authenticated?"); | 90 | ········javaMethod·=·(JavaMethod)new·Cipher$INVOKER$i$0$0$authenticated_p(cls,·Visibility.PUBLIC,·"authenticated?"); |
94 | ········populateMethod(javaMethod,·0,·"authenticated_p",·false,·false,·(Class)Cipher.class,·"authenticated_p",·(Class)RubyBoolean.class,·new·Class[]·{·ThreadContext.class·}); | 91 | ········populateMethod(javaMethod,·0,·"authenticated_p",·false,·false,·(Class)Cipher.class,·"authenticated_p",·(Class)RubyBoolean.class,·new·Class[]·{·ThreadContext.class·}); |
95 | ········cls.addMethodAtBootTimeOnly("authenticated?",·(DynamicMethod)javaMethod); | 92 | ········cls.addMethodAtBootTimeOnly("authenticated?",·(DynamicMethod)javaMethod); |
96 | ········javaMethod·=·(JavaMethod)new·Cipher$INVOKER$i$1$0$initialize(cls,·Visibility.PRIVATE,·"initialize"); | 93 | ········javaMethod·=·(JavaMethod)new·Cipher$INVOKER$i$1$0$initialize(cls,·Visibility.PRIVATE,·"initialize"); |
97 | ········populateMethod(javaMethod,·1,·"initialize",·false,·false,·(Class)Cipher.class,·"initialize",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); | 94 | ········populateMethod(javaMethod,·1,·"initialize",·false,·false,·(Class)Cipher.class,·"initialize",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); |
98 | ········cls.addMethodAtBootTimeOnly("initialize",·(DynamicMethod)javaMethod); | 95 | ········cls.addMethodAtBootTimeOnly("initialize",·(DynamicMethod)javaMethod); |
96 | ········javaMethod·=·(JavaMethod)new·Cipher$INVOKER$i$1$0$initialize_copy(cls,·Visibility.PRIVATE,·"initialize_copy"); | ||
97 | ········populateMethod(javaMethod,·1,·"initialize_copy",·false,·false,·(Class)Cipher.class,·"initialize_copy",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); | ||
98 | ········cls.addMethodAtBootTimeOnly("initialize_copy",·(DynamicMethod)javaMethod); | ||
99 | ········javaMethod·=·(JavaMethod)new·Cipher$INVOKER$i$0$0$iv_len(cls,·Visibility.PUBLIC,·"iv_len"); | 99 | ········javaMethod·=·(JavaMethod)new·Cipher$INVOKER$i$0$0$iv_len(cls,·Visibility.PUBLIC,·"iv_len"); |
100 | ········populateMethod(javaMethod,·0,·"iv_len",·false,·false,·(Class)Cipher.class,·"iv_len",·(Class)RubyInteger.class,·new·Class[0]); | 100 | ········populateMethod(javaMethod,·0,·"iv_len",·false,·false,·(Class)Cipher.class,·"iv_len",·(Class)RubyInteger.class,·new·Class[0]); |
101 | ········cls.addMethodAtBootTimeOnly("iv_len",·(DynamicMethod)javaMethod); | 101 | ········cls.addMethodAtBootTimeOnly("iv_len",·(DynamicMethod)javaMethod); |
102 | ········javaMethod·=·(JavaMethod)new·Cipher$INVOKER$i$0$0$do_final(cls,·Visibility.PUBLIC,·"final"); | 102 | ········javaMethod·=·(JavaMethod)new·Cipher$INVOKER$i$0$0$do_final(cls,·Visibility.PUBLIC,·"final"); |
103 | ········populateMethod(javaMethod,·0,·"do_final",·false,·false,·(Class)Cipher.class,·"do_final",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); | 103 | ········populateMethod(javaMethod,·0,·"do_final",·false,·false,·(Class)Cipher.class,·"do_final",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); |
104 | ········cls.addMethodAtBootTimeOnly("final",·(DynamicMethod)javaMethod); | 104 | ········cls.addMethodAtBootTimeOnly("final",·(DynamicMethod)javaMethod); |
105 | ········javaMethod·=·(JavaMethod)new·Cipher$INVOKER$i$0$0$random_iv(cls,·Visibility.PUBLIC,·"random_iv"); | 105 | ········javaMethod·=·(JavaMethod)new·Cipher$INVOKER$i$0$0$random_iv(cls,·Visibility.PUBLIC,·"random_iv"); |
Offset 113, 30 lines modified | Offset 113, 30 lines modified | ||
113 | ········cls.addMethodAtBootTimeOnly("padding=",·(DynamicMethod)javaMethod); | 113 | ········cls.addMethodAtBootTimeOnly("padding=",·(DynamicMethod)javaMethod); |
114 | ········javaMethod·=·(JavaMethod)new·Cipher$INVOKER$i$0$0$name(cls,·Visibility.PUBLIC,·"name"); | 114 | ········javaMethod·=·(JavaMethod)new·Cipher$INVOKER$i$0$0$name(cls,·Visibility.PUBLIC,·"name"); |
115 | ········populateMethod(javaMethod,·0,·"name",·false,·false,·(Class)Cipher.class,·"name",·(Class)RubyString.class,·new·Class[0]); | 115 | ········populateMethod(javaMethod,·0,·"name",·false,·false,·(Class)Cipher.class,·"name",·(Class)RubyString.class,·new·Class[0]); |
116 | ········cls.addMethodAtBootTimeOnly("name",·(DynamicMethod)javaMethod); | 116 | ········cls.addMethodAtBootTimeOnly("name",·(DynamicMethod)javaMethod); |
117 | ········javaMethod·=·(JavaMethod)new·Cipher$INVOKER$i$1$0$update(cls,·Visibility.PUBLIC,·"update"); | 117 | ········javaMethod·=·(JavaMethod)new·Cipher$INVOKER$i$1$0$update(cls,·Visibility.PUBLIC,·"update"); |
118 | ········populateMethod(javaMethod,·1,·"update",·false,·false,·(Class)Cipher.class,·"update",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); | 118 | ········populateMethod(javaMethod,·1,·"update",·false,·false,·(Class)Cipher.class,·"update",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); |
119 | ········cls.addMethodAtBootTimeOnly("update",·(DynamicMethod)javaMethod); | 119 | ········cls.addMethodAtBootTimeOnly("update",·(DynamicMethod)javaMethod); |
120 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Cipher",·"decrypt",·"decrypt"); | ||
120 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Cipher",·"pkcs5_keyivgen",·"pkcs5_keyivgen"); | 121 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Cipher",·"pkcs5_keyivgen",·"pkcs5_keyivgen"); |
121 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Cipher",·"update_deprecated",·"<<"); | 122 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Cipher",·"update_deprecated",·"<<"); |
122 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Cipher",·"auth_tag",·"auth_tag"); | 123 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Cipher",·"auth_tag",·"auth_tag"); |
123 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Cipher",·"random_key",·"random_key"); | 124 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Cipher",·"random_key",·"random_key"); |
124 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Cipher",·"encrypt",·"encrypt"); | 125 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Cipher",·"encrypt",·"encrypt"); |
125 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Cipher",·"initialize_copy",·"initialize_copy"); | ||
126 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Cipher",·"set_auth_tag",·"auth_tag="); | 126 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Cipher",·"set_auth_tag",·"auth_tag="); |
127 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Cipher",·"set_auth_data",·"auth_data="); | 127 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Cipher",·"set_auth_data",·"auth_data="); |
128 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Cipher",·"set_key",·"key="); | 128 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Cipher",·"set_key",·"key="); |
129 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Cipher",·"reset",·"reset"); | 129 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Cipher",·"reset",·"reset"); |
130 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Cipher",·"key_len",·"key_len"); | 130 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Cipher",·"key_len",·"key_len"); |
131 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Cipher",·"set_iv",·"iv="); | 131 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Cipher",·"set_iv",·"iv="); |
132 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Cipher",·"set_key_len",·"key_len="); | 132 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Cipher",·"set_key_len",·"key_len="); |
133 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Cipher",·"decrypt",·"decrypt"); | ||
134 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Cipher",·"authenticated_p",·"authenticated?"); | 133 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Cipher",·"authenticated_p",·"authenticated?"); |
135 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Cipher",·"initialize",·"initialize"); | 134 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Cipher",·"initialize",·"initialize"); |
135 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Cipher",·"initialize_copy",·"initialize_copy"); | ||
136 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Cipher",·"iv_len",·"iv_len"); | 136 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Cipher",·"iv_len",·"iv_len"); |
137 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Cipher",·"do_final",·"final"); | 137 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Cipher",·"do_final",·"final"); |
138 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Cipher",·"random_iv",·"random_iv"); | 138 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Cipher",·"random_iv",·"random_iv"); |
139 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Cipher",·"block_size",·"block_size"); | 139 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Cipher",·"block_size",·"block_size"); |
Max diff block lines reached; 166/11970 bytes (1.39%) of diff not shown. |
Offset 1, 70 lines modified | Offset 1, 70 lines modified | ||
1 | package·org.jruby.gen; | 1 | package·org.jruby.gen; |
2 | import·org.jruby.internal.runtime.methods.JavaMethod; | 2 | import·org.jruby.internal.runtime.methods.JavaMethod; |
3 | import·org.jruby.Ruby; | 3 | import·org.jruby.Ruby; |
4 | import·org.jruby.ext.openssl.NetscapeSPKI$INVOKER$i$1$0$set_challenge; | 4 | import·org.jruby.ext.openssl.NetscapeSPKI$INVOKER$i$1$0$set_challenge; |
5 | import·org.jruby.ext.openssl.NetscapeSPKI$INVOKER$i$1$0$verify; | ||
5 | import·org.jruby.ext.openssl.NetscapeSPKI$INVOKER$i$1$0$set_public_key; | 6 | import·org.jruby.ext.openssl.NetscapeSPKI$INVOKER$i$1$0$set_public_key; |
6 | import·org.jruby.ext.openssl.NetscapeSPKI$INVOKER$i$0$0$to_pem; | 7 | import·org.jruby.ext.openssl.NetscapeSPKI$INVOKER$i$0$0$to_pem; |
7 | import·org.jruby.ext.openssl.NetscapeSPKI$INVOKER$i$0$0$to_text; | ||
8 | import·org.jruby.runtime.ThreadContext; | 8 | import·org.jruby.runtime.ThreadContext; |
9 | import·org.jruby.ext.openssl.NetscapeSPKI$INVOKER$i$0$0$initialize; | 9 | import·org.jruby.ext.openssl.NetscapeSPKI$INVOKER$i$0$0$initialize; |
10 | import·org.jruby.ext.openssl.NetscapeSPKI$INVOKER$i$1$0$verify; | ||
11 | import·org.jruby.ext.openssl.NetscapeSPKI$INVOKER$i$0$0$to_der; | 10 | import·org.jruby.ext.openssl.NetscapeSPKI$INVOKER$i$0$0$to_der; |
12 | import·org.jruby.ext.openssl.NetscapeSPKI$INVOKER$i$0$0$challenge; | 11 | import·org.jruby.ext.openssl.NetscapeSPKI$INVOKER$i$0$0$challenge; |
13 | import·org.jruby.ext.openssl.NetscapeSPKI$INVOKER$i$0$0$public_key; | 12 | import·org.jruby.ext.openssl.NetscapeSPKI$INVOKER$i$0$0$public_key; |
13 | import·org.jruby.ext.openssl.NetscapeSPKI$INVOKER$i$2$0$sign; | ||
14 | import·org.jruby.internal.runtime.methods.DynamicMethod; | 14 | import·org.jruby.internal.runtime.methods.DynamicMethod; |
15 | import·org.jruby.runtime.builtin.IRubyObject; | 15 | import·org.jruby.runtime.builtin.IRubyObject; |
16 | import·org.jruby.ext.openssl.NetscapeSPKI; | 16 | import·org.jruby.ext.openssl.NetscapeSPKI; |
17 | import·org.jruby.ext.openssl.NetscapeSPKI$INVOKER$i$ | 17 | import·org.jruby.ext.openssl.NetscapeSPKI$INVOKER$i$0$0$to_text; |
18 | import·org.jruby.runtime.Visibility; | 18 | import·org.jruby.runtime.Visibility; |
19 | import·org.jruby.RubyModule; | 19 | import·org.jruby.RubyModule; |
20 | import·org.jruby.anno.TypePopulator; | 20 | import·org.jruby.anno.TypePopulator; |
21 | public·class·org$jruby$ext$openssl$NetscapeSPKI$POPULATOR·extends·TypePopulator | 21 | public·class·org$jruby$ext$openssl$NetscapeSPKI$POPULATOR·extends·TypePopulator |
22 | { | 22 | { |
23 | ····public·void·populate(final·RubyModule·cls,·final·Class·clazz)·{ | 23 | ····public·void·populate(final·RubyModule·cls,·final·Class·clazz)·{ |
24 | ········final·Ruby·runtime·=·cls.getRuntime(); | 24 | ········final·Ruby·runtime·=·cls.getRuntime(); |
25 | ········JavaMethod·javaMethod·=·(JavaMethod)new·NetscapeSPKI$INVOKER$i$ | 25 | ········JavaMethod·javaMethod·=·(JavaMethod)new·NetscapeSPKI$INVOKER$i$0$0$to_text(cls,·Visibility.PUBLIC,·"to_text"); |
26 | ········populateMethod(javaMethod,·0,·"to_text",·false,·false,·(Class)NetscapeSPKI.class,·"to_text",·(Class)IRubyObject.class,·new·Class[0]); | ||
27 | ········cls.addMethodAtBootTimeOnly("to_text",·(DynamicMethod)javaMethod); | ||
28 | ········javaMethod·=·(JavaMethod)new·NetscapeSPKI$INVOKER$i$2$0$sign(cls,·Visibility.PUBLIC,·"sign"); | ||
26 | ········populateMethod(javaMethod,·2,·"sign",·false,·false,·(Class)NetscapeSPKI.class,·"sign",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class,·IRubyObject.class·}); | 29 | ········populateMethod(javaMethod,·2,·"sign",·false,·false,·(Class)NetscapeSPKI.class,·"sign",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class,·IRubyObject.class·}); |
27 | ········cls.addMethodAtBootTimeOnly("sign",·(DynamicMethod)javaMethod); | 30 | ········cls.addMethodAtBootTimeOnly("sign",·(DynamicMethod)javaMethod); |
28 | ········javaMethod·=·(JavaMethod)new·NetscapeSPKI$INVOKER$i$0$0$public_key(cls,·Visibility.PUBLIC,·"public_key"); | 31 | ········javaMethod·=·(JavaMethod)new·NetscapeSPKI$INVOKER$i$0$0$public_key(cls,·Visibility.PUBLIC,·"public_key"); |
29 | ········populateMethod(javaMethod,·0,·"public_key",·false,·false,·(Class)NetscapeSPKI.class,·"public_key",·(Class)IRubyObject.class,·new·Class[0]); | 32 | ········populateMethod(javaMethod,·0,·"public_key",·false,·false,·(Class)NetscapeSPKI.class,·"public_key",·(Class)IRubyObject.class,·new·Class[0]); |
30 | ········cls.addMethodAtBootTimeOnly("public_key",·(DynamicMethod)javaMethod); | 33 | ········cls.addMethodAtBootTimeOnly("public_key",·(DynamicMethod)javaMethod); |
31 | ········javaMethod·=·(JavaMethod)new·NetscapeSPKI$INVOKER$i$0$0$challenge(cls,·Visibility.PUBLIC,·"challenge"); | 34 | ········javaMethod·=·(JavaMethod)new·NetscapeSPKI$INVOKER$i$0$0$challenge(cls,·Visibility.PUBLIC,·"challenge"); |
32 | ········populateMethod(javaMethod,·0,·"challenge",·false,·false,·(Class)NetscapeSPKI.class,·"challenge",·(Class)IRubyObject.class,·new·Class[0]); | 35 | ········populateMethod(javaMethod,·0,·"challenge",·false,·false,·(Class)NetscapeSPKI.class,·"challenge",·(Class)IRubyObject.class,·new·Class[0]); |
33 | ········cls.addMethodAtBootTimeOnly("challenge",·(DynamicMethod)javaMethod); | 36 | ········cls.addMethodAtBootTimeOnly("challenge",·(DynamicMethod)javaMethod); |
34 | ········javaMethod·=·(JavaMethod)new·NetscapeSPKI$INVOKER$i$0$0$to_der(cls,·Visibility.PUBLIC,·"to_der"); | 37 | ········javaMethod·=·(JavaMethod)new·NetscapeSPKI$INVOKER$i$0$0$to_der(cls,·Visibility.PUBLIC,·"to_der"); |
35 | ········populateMethod(javaMethod,·0,·"to_der",·false,·false,·(Class)NetscapeSPKI.class,·"to_der",·(Class)IRubyObject.class,·new·Class[0]); | 38 | ········populateMethod(javaMethod,·0,·"to_der",·false,·false,·(Class)NetscapeSPKI.class,·"to_der",·(Class)IRubyObject.class,·new·Class[0]); |
36 | ········cls.addMethodAtBootTimeOnly("to_der",·(DynamicMethod)javaMethod); | 39 | ········cls.addMethodAtBootTimeOnly("to_der",·(DynamicMethod)javaMethod); |
37 | ········javaMethod·=·(JavaMethod)new·NetscapeSPKI$INVOKER$i$1$0$verify(cls,·Visibility.PUBLIC,·"verify"); | ||
38 | ········populateMethod(javaMethod,·1,·"verify",·false,·false,·(Class)NetscapeSPKI.class,·"verify",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); | ||
39 | ········cls.addMethodAtBootTimeOnly("verify",·(DynamicMethod)javaMethod); | ||
40 | ········javaMethod·=·(JavaMethod)new·NetscapeSPKI$INVOKER$i$0$0$initialize(cls,·Visibility.PRIVATE,·"initialize"); | 40 | ········javaMethod·=·(JavaMethod)new·NetscapeSPKI$INVOKER$i$0$0$initialize(cls,·Visibility.PRIVATE,·"initialize"); |
41 | ········populateMethod(javaMethod,·-1,·"initialize",·false,·false,·(Class)NetscapeSPKI.class,·"initialize",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject[].class·}); | 41 | ········populateMethod(javaMethod,·-1,·"initialize",·false,·false,·(Class)NetscapeSPKI.class,·"initialize",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject[].class·}); |
42 | ········cls.addMethodAtBootTimeOnly("initialize",·(DynamicMethod)javaMethod); | 42 | ········cls.addMethodAtBootTimeOnly("initialize",·(DynamicMethod)javaMethod); |
43 | ········javaMethod·=·(JavaMethod)new·NetscapeSPKI$INVOKER$i$0$0$to_text(cls,·Visibility.PUBLIC,·"to_text"); | ||
44 | ········populateMethod(javaMethod,·0,·"to_text",·false,·false,·(Class)NetscapeSPKI.class,·"to_text",·(Class)IRubyObject.class,·new·Class[0]); | ||
45 | ········cls.addMethodAtBootTimeOnly("to_text",·(DynamicMethod)javaMethod); | ||
46 | ········javaMethod·=·(JavaMethod)new·NetscapeSPKI$INVOKER$i$0$0$to_pem(cls,·Visibility.PUBLIC,·"to_pem"); | 43 | ········javaMethod·=·(JavaMethod)new·NetscapeSPKI$INVOKER$i$0$0$to_pem(cls,·Visibility.PUBLIC,·"to_pem"); |
47 | ········populateMethod(javaMethod,·0,·"to_pem",·false,·false,·(Class)NetscapeSPKI.class,·"to_pem",·(Class)IRubyObject.class,·new·Class[0]); | 44 | ········populateMethod(javaMethod,·0,·"to_pem",·false,·false,·(Class)NetscapeSPKI.class,·"to_pem",·(Class)IRubyObject.class,·new·Class[0]); |
48 | ········cls.addMethodAtBootTimeOnly("to_pem",·(DynamicMethod)javaMethod); | 45 | ········cls.addMethodAtBootTimeOnly("to_pem",·(DynamicMethod)javaMethod); |
49 | ········cls.addMethodAtBootTimeOnly("to_s",·(DynamicMethod)javaMethod); | 46 | ········cls.addMethodAtBootTimeOnly("to_s",·(DynamicMethod)javaMethod); |
50 | ········javaMethod·=·(JavaMethod)new·NetscapeSPKI$INVOKER$i$1$0$set_public_key(cls,·Visibility.PUBLIC,·"public_key="); | 47 | ········javaMethod·=·(JavaMethod)new·NetscapeSPKI$INVOKER$i$1$0$set_public_key(cls,·Visibility.PUBLIC,·"public_key="); |
51 | ········populateMethod(javaMethod,·1,·"set_public_key",·false,·false,·(Class)NetscapeSPKI.class,·"set_public_key",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); | 48 | ········populateMethod(javaMethod,·1,·"set_public_key",·false,·false,·(Class)NetscapeSPKI.class,·"set_public_key",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); |
52 | ········cls.addMethodAtBootTimeOnly("public_key=",·(DynamicMethod)javaMethod); | 49 | ········cls.addMethodAtBootTimeOnly("public_key=",·(DynamicMethod)javaMethod); |
50 | ········javaMethod·=·(JavaMethod)new·NetscapeSPKI$INVOKER$i$1$0$verify(cls,·Visibility.PUBLIC,·"verify"); | ||
51 | ········populateMethod(javaMethod,·1,·"verify",·false,·false,·(Class)NetscapeSPKI.class,·"verify",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); | ||
52 | ········cls.addMethodAtBootTimeOnly("verify",·(DynamicMethod)javaMethod); | ||
53 | ········javaMethod·=·(JavaMethod)new·NetscapeSPKI$INVOKER$i$1$0$set_challenge(cls,·Visibility.PUBLIC,·"challenge="); | 53 | ········javaMethod·=·(JavaMethod)new·NetscapeSPKI$INVOKER$i$1$0$set_challenge(cls,·Visibility.PUBLIC,·"challenge="); |
54 | ········populateMethod(javaMethod,·1,·"set_challenge",·false,·false,·(Class)NetscapeSPKI.class,·"set_challenge",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); | 54 | ········populateMethod(javaMethod,·1,·"set_challenge",·false,·false,·(Class)NetscapeSPKI.class,·"set_challenge",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); |
55 | ········cls.addMethodAtBootTimeOnly("challenge=",·(DynamicMethod)javaMethod); | 55 | ········cls.addMethodAtBootTimeOnly("challenge=",·(DynamicMethod)javaMethod); |
56 | ········runtime.addBoundMethod("org.jruby.ext.openssl.NetscapeSPKI",·"to_text",·"to_text"); | ||
56 | ········runtime.addBoundMethod("org.jruby.ext.openssl.NetscapeSPKI",·"sign",·"sign"); | 57 | ········runtime.addBoundMethod("org.jruby.ext.openssl.NetscapeSPKI",·"sign",·"sign"); |
57 | ········runtime.addBoundMethod("org.jruby.ext.openssl.NetscapeSPKI",·"public_key",·"public_key"); | 58 | ········runtime.addBoundMethod("org.jruby.ext.openssl.NetscapeSPKI",·"public_key",·"public_key"); |
58 | ········runtime.addBoundMethod("org.jruby.ext.openssl.NetscapeSPKI",·"challenge",·"challenge"); | 59 | ········runtime.addBoundMethod("org.jruby.ext.openssl.NetscapeSPKI",·"challenge",·"challenge"); |
59 | ········runtime.addBoundMethod("org.jruby.ext.openssl.NetscapeSPKI",·"to_der",·"to_der"); | 60 | ········runtime.addBoundMethod("org.jruby.ext.openssl.NetscapeSPKI",·"to_der",·"to_der"); |
60 | ········runtime.addBoundMethod("org.jruby.ext.openssl.NetscapeSPKI",·"verify",·"verify"); | ||
61 | ········runtime.addBoundMethod("org.jruby.ext.openssl.NetscapeSPKI",·"initialize",·"initialize"); | 61 | ········runtime.addBoundMethod("org.jruby.ext.openssl.NetscapeSPKI",·"initialize",·"initialize"); |
62 | ········runtime.addBoundMethod("org.jruby.ext.openssl.NetscapeSPKI",·"to_text",·"to_text"); | ||
63 | ········runtime.addBoundMethod("org.jruby.ext.openssl.NetscapeSPKI",·"to_pem",·"to_pem"); | 62 | ········runtime.addBoundMethod("org.jruby.ext.openssl.NetscapeSPKI",·"to_pem",·"to_pem"); |
64 | ········runtime.addBoundMethod("org.jruby.ext.openssl.NetscapeSPKI",·"set_public_key",·"public_key="); | 63 | ········runtime.addBoundMethod("org.jruby.ext.openssl.NetscapeSPKI",·"set_public_key",·"public_key="); |
64 | ········runtime.addBoundMethod("org.jruby.ext.openssl.NetscapeSPKI",·"verify",·"verify"); | ||
65 | ········runtime.addBoundMethod("org.jruby.ext.openssl.NetscapeSPKI",·"set_challenge",·"challenge="); | 65 | ········runtime.addBoundMethod("org.jruby.ext.openssl.NetscapeSPKI",·"set_challenge",·"challenge="); |
66 | ····} | 66 | ····} |
67 | } | 67 | } |
Offset 2, 16 lines modified | Offset 2, 16 lines modified | ||
2 | package·org.jruby.gen; | 2 | package·org.jruby.gen; |
3 | import·org.jruby.internal.runtime.methods.JavaMethod; | 3 | import·org.jruby.internal.runtime.methods.JavaMethod; |
4 | import·org.jruby.Ruby; | 4 | import·org.jruby.Ruby; |
5 | import·org.jruby.ext.openssl.OCSPRequest$INVOKER$i$1$0$check_nonce; | 5 | import·org.jruby.ext.openssl.OCSPRequest$INVOKER$i$1$0$check_nonce; |
6 | import·org.jruby.ext.openssl.OCSPRequest$INVOKER$i$0$0$certid; | 6 | import·org.jruby.ext.openssl.OCSPRequest$INVOKER$i$0$0$certid; |
7 | import·org.jruby.ext.openssl.OCSPRequest$INVOKER$i$0$0$initialize; | 7 | import·org.jruby.ext.openssl.OCSPRequest$INVOKER$i$0$0$initialize; |
8 | import·org.jruby.ext.openssl.OCSPRequest$INVOKER$i$1$0$initialize_copy; | ||
9 | import·org.jruby.ext.openssl.OCSPRequest$INVOKER$i$0$0$verify; | 8 | import·org.jruby.ext.openssl.OCSPRequest$INVOKER$i$0$0$verify; |
9 | import·org.jruby.ext.openssl.OCSPRequest$INVOKER$i$1$0$initialize_copy; | ||
10 | import·org.jruby.runtime.ThreadContext; | 10 | import·org.jruby.runtime.ThreadContext; |
11 | import·org.jruby.ext.openssl.OCSPRequest$INVOKER$i$0$0$sign; | 11 | import·org.jruby.ext.openssl.OCSPRequest$INVOKER$i$0$0$sign; |
12 | import·org.jruby.ext.openssl.OCSPRequest$INVOKER$i$0$0$to_der; | 12 | import·org.jruby.ext.openssl.OCSPRequest$INVOKER$i$0$0$to_der; |
13 | import·org.jruby.ext.openssl.OCSPRequest$INVOKER$i$1$0$add_certid; | 13 | import·org.jruby.ext.openssl.OCSPRequest$INVOKER$i$1$0$add_certid; |
14 | import·org.jruby.internal.runtime.methods.DynamicMethod; | 14 | import·org.jruby.internal.runtime.methods.DynamicMethod; |
15 | import·org.jruby.runtime.builtin.IRubyObject; | 15 | import·org.jruby.runtime.builtin.IRubyObject; |
16 | import·org.jruby.ext.openssl.OCSPRequest; | 16 | import·org.jruby.ext.openssl.OCSPRequest; |
Offset 32, 33 lines modified | Offset 32, 33 lines modified | ||
32 | ········cls.addMethodAtBootTimeOnly("add_certid",·(DynamicMethod)javaMethod); | 32 | ········cls.addMethodAtBootTimeOnly("add_certid",·(DynamicMethod)javaMethod); |
33 | ········javaMethod·=·(JavaMethod)new·OCSPRequest$INVOKER$i$0$0$to_der(cls,·Visibility.PUBLIC,·"to_der"); | 33 | ········javaMethod·=·(JavaMethod)new·OCSPRequest$INVOKER$i$0$0$to_der(cls,·Visibility.PUBLIC,·"to_der"); |
34 | ········populateMethod(javaMethod,·0,·"to_der",·false,·false,·(Class)OCSPRequest.class,·"to_der",·(Class)IRubyObject.class,·new·Class[0]); | 34 | ········populateMethod(javaMethod,·0,·"to_der",·false,·false,·(Class)OCSPRequest.class,·"to_der",·(Class)IRubyObject.class,·new·Class[0]); |
35 | ········cls.addMethodAtBootTimeOnly("to_der",·(DynamicMethod)javaMethod); | 35 | ········cls.addMethodAtBootTimeOnly("to_der",·(DynamicMethod)javaMethod); |
36 | ········javaMethod·=·(JavaMethod)new·OCSPRequest$INVOKER$i$0$0$sign(cls,·Visibility.PUBLIC,·"sign"); | 36 | ········javaMethod·=·(JavaMethod)new·OCSPRequest$INVOKER$i$0$0$sign(cls,·Visibility.PUBLIC,·"sign"); |
37 | ········populateMethod(javaMethod,·-1,·"sign",·false,·false,·(Class)OCSPRequest.class,·"sign",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject[].class·}); | 37 | ········populateMethod(javaMethod,·-1,·"sign",·false,·false,·(Class)OCSPRequest.class,·"sign",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject[].class·}); |
38 | ········cls.addMethodAtBootTimeOnly("sign",·(DynamicMethod)javaMethod); | 38 | ········cls.addMethodAtBootTimeOnly("sign",·(DynamicMethod)javaMethod); |
39 | ········javaMethod·=·(JavaMethod)new·OCSPRequest$INVOKER$i$0$0$verify(cls,·Visibility.PUBLIC,·"verify"); | ||
40 | ········populateMethod(javaMethod,·-1,·"verify",·false,·false,·(Class)OCSPRequest.class,·"verify",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject[].class·}); | ||
41 | ········cls.addMethodAtBootTimeOnly("verify",·(DynamicMethod)javaMethod); | ||
42 | ········javaMethod·=·(JavaMethod)new·OCSPRequest$INVOKER$i$1$0$initialize_copy(cls,·Visibility.PRIVATE,·"initialize_copy"); | 39 | ········javaMethod·=·(JavaMethod)new·OCSPRequest$INVOKER$i$1$0$initialize_copy(cls,·Visibility.PRIVATE,·"initialize_copy"); |
43 | ········populateMethod(javaMethod,·1,·"initialize_copy",·false,·false,·(Class)OCSPRequest.class,·"initialize_copy",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); | 40 | ········populateMethod(javaMethod,·1,·"initialize_copy",·false,·false,·(Class)OCSPRequest.class,·"initialize_copy",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); |
44 | ········cls.addMethodAtBootTimeOnly("initialize_copy",·(DynamicMethod)javaMethod); | 41 | ········cls.addMethodAtBootTimeOnly("initialize_copy",·(DynamicMethod)javaMethod); |
42 | ········javaMethod·=·(JavaMethod)new·OCSPRequest$INVOKER$i$0$0$verify(cls,·Visibility.PUBLIC,·"verify"); | ||
43 | ········populateMethod(javaMethod,·-1,·"verify",·false,·false,·(Class)OCSPRequest.class,·"verify",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject[].class·}); | ||
44 | ········cls.addMethodAtBootTimeOnly("verify",·(DynamicMethod)javaMethod); | ||
45 | ········javaMethod·=·(JavaMethod)new·OCSPRequest$INVOKER$i$0$0$initialize(cls,·Visibility.PRIVATE,·"initialize"); | 45 | ········javaMethod·=·(JavaMethod)new·OCSPRequest$INVOKER$i$0$0$initialize(cls,·Visibility.PRIVATE,·"initialize"); |
46 | ········populateMethod(javaMethod,·-1,·"initialize",·false,·false,·(Class)OCSPRequest.class,·"initialize",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject[].class·}); | 46 | ········populateMethod(javaMethod,·-1,·"initialize",·false,·false,·(Class)OCSPRequest.class,·"initialize",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject[].class·}); |
47 | ········cls.addMethodAtBootTimeOnly("initialize",·(DynamicMethod)javaMethod); | 47 | ········cls.addMethodAtBootTimeOnly("initialize",·(DynamicMethod)javaMethod); |
48 | ········javaMethod·=·(JavaMethod)new·OCSPRequest$INVOKER$i$0$0$certid(cls,·Visibility.PUBLIC,·"certid"); | 48 | ········javaMethod·=·(JavaMethod)new·OCSPRequest$INVOKER$i$0$0$certid(cls,·Visibility.PUBLIC,·"certid"); |
49 | ········populateMethod(javaMethod,·0,·"certid",·false,·false,·(Class)OCSPRequest.class,·"certid",·(Class)IRubyObject.class,·new·Class[0]); | 49 | ········populateMethod(javaMethod,·0,·"certid",·false,·false,·(Class)OCSPRequest.class,·"certid",·(Class)IRubyObject.class,·new·Class[0]); |
50 | ········cls.addMethodAtBootTimeOnly("certid",·(DynamicMethod)javaMethod); | 50 | ········cls.addMethodAtBootTimeOnly("certid",·(DynamicMethod)javaMethod); |
51 | ········javaMethod·=·(JavaMethod)new·OCSPRequest$INVOKER$i$1$0$check_nonce(cls,·Visibility.PUBLIC,·"check_nonce"); | 51 | ········javaMethod·=·(JavaMethod)new·OCSPRequest$INVOKER$i$1$0$check_nonce(cls,·Visibility.PUBLIC,·"check_nonce"); |
52 | ········populateMethod(javaMethod,·1,·"check_nonce",·false,·false,·(Class)OCSPRequest.class,·"check_nonce",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); | 52 | ········populateMethod(javaMethod,·1,·"check_nonce",·false,·false,·(Class)OCSPRequest.class,·"check_nonce",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); |
53 | ········cls.addMethodAtBootTimeOnly("check_nonce",·(DynamicMethod)javaMethod); | 53 | ········cls.addMethodAtBootTimeOnly("check_nonce",·(DynamicMethod)javaMethod); |
54 | ········runtime.addBoundMethod("org.jruby.ext.openssl.OCSPRequest",·"add_nonce",·"add_nonce"); | 54 | ········runtime.addBoundMethod("org.jruby.ext.openssl.OCSPRequest",·"add_nonce",·"add_nonce"); |
55 | ········runtime.addBoundMethod("org.jruby.ext.openssl.OCSPRequest",·"add_certid",·"add_certid"); | 55 | ········runtime.addBoundMethod("org.jruby.ext.openssl.OCSPRequest",·"add_certid",·"add_certid"); |
56 | ········runtime.addBoundMethod("org.jruby.ext.openssl.OCSPRequest",·"to_der",·"to_der"); | 56 | ········runtime.addBoundMethod("org.jruby.ext.openssl.OCSPRequest",·"to_der",·"to_der"); |
57 | ········runtime.addBoundMethod("org.jruby.ext.openssl.OCSPRequest",·"sign",·"sign"); | 57 | ········runtime.addBoundMethod("org.jruby.ext.openssl.OCSPRequest",·"sign",·"sign"); |
58 | ········runtime.addBoundMethod("org.jruby.ext.openssl.OCSPRequest",·"verify",·"verify"); | ||
59 | ········runtime.addBoundMethod("org.jruby.ext.openssl.OCSPRequest",·"initialize_copy",·"initialize_copy"); | 58 | ········runtime.addBoundMethod("org.jruby.ext.openssl.OCSPRequest",·"initialize_copy",·"initialize_copy"); |
59 | ········runtime.addBoundMethod("org.jruby.ext.openssl.OCSPRequest",·"verify",·"verify"); | ||
60 | ········runtime.addBoundMethod("org.jruby.ext.openssl.OCSPRequest",·"initialize",·"initialize"); | 60 | ········runtime.addBoundMethod("org.jruby.ext.openssl.OCSPRequest",·"initialize",·"initialize"); |
61 | ········runtime.addBoundMethod("org.jruby.ext.openssl.OCSPRequest",·"certid",·"certid"); | 61 | ········runtime.addBoundMethod("org.jruby.ext.openssl.OCSPRequest",·"certid",·"certid"); |
62 | ········runtime.addBoundMethod("org.jruby.ext.openssl.OCSPRequest",·"check_nonce",·"check_nonce"); | 62 | ········runtime.addBoundMethod("org.jruby.ext.openssl.OCSPRequest",·"check_nonce",·"check_nonce"); |
63 | ····} | 63 | ····} |
64 | } | 64 | } |
Offset 2, 36 lines modified | Offset 2, 36 lines modified | ||
2 | package·org.jruby.gen; | 2 | package·org.jruby.gen; |
3 | import·org.jruby.internal.runtime.methods.JavaMethod; | 3 | import·org.jruby.internal.runtime.methods.JavaMethod; |
4 | import·org.jruby.Ruby; | 4 | import·org.jruby.Ruby; |
5 | import·org.jruby.RubyClass; | 5 | import·org.jruby.RubyClass; |
6 | import·org.jruby.runtime.ThreadContext; | 6 | import·org.jruby.runtime.ThreadContext; |
7 | import·org.jruby.ext.openssl.PKCS7$INVOKER$i$0$0$initialize; | 7 | import·org.jruby.ext.openssl.PKCS7$INVOKER$i$0$0$initialize; |
8 | import·org.jruby.ext.openssl.PKCS7$INVOKER$i$0$0$to_der; | ||
8 | import·org.jruby.ext.openssl.PKCS7$INVOKER$i$1$0$add_certificate; | 9 | import·org.jruby.ext.openssl.PKCS7$INVOKER$i$1$0$add_certificate; |
9 | import·org.jruby.ext.openssl.PKCS7$INVOKER$i$1$0$set_type; | 10 | import·org.jruby.ext.openssl.PKCS7$INVOKER$i$1$0$set_type; |
10 | import·org.jruby.ext.openssl.PKCS7$INVOKER$i$ | 11 | import·org.jruby.ext.openssl.PKCS7$INVOKER$i$1$0$initialize_copy; |
11 | import·org.jruby.ext.openssl.PKCS7$INVOKER$i$1$0$add_signer; | 12 | import·org.jruby.ext.openssl.PKCS7$INVOKER$i$1$0$add_signer; |
12 | import·org.jruby.ext.openssl.PKCS7$INVOKER$i$1$0$set_certificates; | 13 | import·org.jruby.ext.openssl.PKCS7$INVOKER$i$1$0$set_certificates; |
13 | import·org.jruby.ext.openssl.PKCS7$INVOKER$i$0$0$signers; | ||
14 | import·org.jruby.ext.openssl.PKCS7$INVOKER$i$0$0$detached; | 14 | import·org.jruby.ext.openssl.PKCS7$INVOKER$i$0$0$detached; |
15 | import·org.jruby.ext.openssl.PKCS7$INVOKER$i$0$0$to_pem; | 15 | import·org.jruby.ext.openssl.PKCS7$INVOKER$i$0$0$to_pem; |
16 | import·org.jruby.ext.openssl.PKCS7$INVOKER$i$0$0$verify; | ||
16 | import·org.jruby.ext.openssl.PKCS7$INVOKER$i$1$0$set_crls; | 17 | import·org.jruby.ext.openssl.PKCS7$INVOKER$i$1$0$set_crls; |
17 | import·org.jruby.ext.openssl.PKCS7$INVOKER$i$0$0$recipients; | 18 | import·org.jruby.ext.openssl.PKCS7$INVOKER$i$0$0$recipients; |
19 | import·org.jruby.ext.openssl.PKCS7$INVOKER$i$0$0$signers; | ||
18 | import·org.jruby.ext.openssl.PKCS7$INVOKER$i$0$0$crls; | 20 | import·org.jruby.ext.openssl.PKCS7$INVOKER$i$0$0$crls; |
19 | import·org.jruby.ext.openssl.PKCS7$INVOKER$i$0$0$get_type; | 21 | import·org.jruby.ext.openssl.PKCS7$INVOKER$i$0$0$get_type; |
20 | import·org.jruby.ext.openssl.PKCS7$INVOKER$i$1$0$add_recipient; | 22 | import·org.jruby.ext.openssl.PKCS7$INVOKER$i$1$0$add_recipient; |
21 | import·org.jruby.ext.openssl.PKCS7$INVOKER$i$1$0$initialize_copy; | ||
22 | import·org.jruby.ext.openssl.PKCS7$INVOKER$i$0$0$verify; | ||
23 | import·org.jruby.ext.openssl.PKCS7$INVOKER$i$1$0$add_crl; | 23 | import·org.jruby.ext.openssl.PKCS7$INVOKER$i$1$0$add_crl; |
24 | import·org.jruby.ext.openssl.PKCS7$INVOKER$i$0$0$to_der; | ||
25 | import·org.jruby.ext.openssl.PKCS7$INVOKER$i$1$0$add_data; | 24 | import·org.jruby.ext.openssl.PKCS7$INVOKER$i$1$0$add_data; |
26 | import·org.jruby.ext.openssl.PKCS7$INVOKER$i$1$0$set_detached; | 25 | import·org.jruby.ext.openssl.PKCS7$INVOKER$i$1$0$set_detached; |
27 | import·org.jruby.ext.openssl.PKCS7$INVOKER$i$0$0$detached_p; | 26 | import·org.jruby.ext.openssl.PKCS7$INVOKER$i$0$0$detached_p; |
28 | import·org.jruby.ext.openssl.PKCS7$INVOKER$i$1$0$set_cipher; | 27 | import·org.jruby.ext.openssl.PKCS7$INVOKER$i$1$0$set_cipher; |
29 | import·org.jruby.ext.openssl.PKCS7$INVOKER$i$0$0$certificates; | 28 | import·org.jruby.ext.openssl.PKCS7$INVOKER$i$0$0$certificates; |
29 | import·org.jruby.ext.openssl.PKCS7$INVOKER$i$0$0$decrypt; | ||
30 | import·org.jruby.ext.openssl.PKCS7$INVOKER$s$1$0$read_smime; | 30 | import·org.jruby.ext.openssl.PKCS7$INVOKER$s$1$0$read_smime; |
31 | import·org.jruby.ext.openssl.PKCS7$INVOKER$s$0$0$encrypt; | 31 | import·org.jruby.ext.openssl.PKCS7$INVOKER$s$0$0$encrypt; |
32 | import·org.jruby.ext.openssl.PKCS7$INVOKER$s$0$0$write_smime; | 32 | import·org.jruby.ext.openssl.PKCS7$INVOKER$s$0$0$write_smime; |
33 | import·org.jruby.internal.runtime.methods.DynamicMethod; | 33 | import·org.jruby.internal.runtime.methods.DynamicMethod; |
34 | import·org.jruby.runtime.builtin.IRubyObject; | 34 | import·org.jruby.runtime.builtin.IRubyObject; |
35 | import·org.jruby.ext.openssl.PKCS7; | 35 | import·org.jruby.ext.openssl.PKCS7; |
36 | import·org.jruby.ext.openssl.PKCS7$INVOKER$s$0$0$sign; | 36 | import·org.jruby.ext.openssl.PKCS7$INVOKER$s$0$0$sign; |
Offset 56, 14 lines modified | Offset 56, 17 lines modified | ||
56 | ········javaMethod·=·(JavaMethod)new·PKCS7$INVOKER$s$1$0$read_smime((RubyModule)singletonClass,·Visibility.PUBLIC,·"read_smime"); | 56 | ········javaMethod·=·(JavaMethod)new·PKCS7$INVOKER$s$1$0$read_smime((RubyModule)singletonClass,·Visibility.PUBLIC,·"read_smime"); |
57 | ········populateMethod(javaMethod,·1,·"read_smime",·true,·false,·(Class)PKCS7.class,·"read_smime",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class,·IRubyObject.class·}); | 57 | ········populateMethod(javaMethod,·1,·"read_smime",·true,·false,·(Class)PKCS7.class,·"read_smime",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class,·IRubyObject.class·}); |
58 | ········singletonClass.addMethodAtBootTimeOnly("read_smime",·(DynamicMethod)javaMethod); | 58 | ········singletonClass.addMethodAtBootTimeOnly("read_smime",·(DynamicMethod)javaMethod); |
59 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKCS7",·"sign",·"sign"); | 59 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKCS7",·"sign",·"sign"); |
60 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKCS7",·"write_smime",·"write_smime"); | 60 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKCS7",·"write_smime",·"write_smime"); |
61 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKCS7",·"encrypt",·"encrypt"); | 61 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKCS7",·"encrypt",·"encrypt"); |
62 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKCS7",·"read_smime",·"read_smime"); | 62 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKCS7",·"read_smime",·"read_smime"); |
63 | ········javaMethod·=·(JavaMethod)new·PKCS7$INVOKER$i$0$0$decrypt(cls,·Visibility.PUBLIC,·"decrypt"); | ||
64 | ········populateMethod(javaMethod,·-1,·"decrypt",·false,·false,·(Class)PKCS7.class,·"decrypt",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject[].class·}); | ||
65 | ········cls.addMethodAtBootTimeOnly("decrypt",·(DynamicMethod)javaMethod); | ||
63 | ········javaMethod·=·(JavaMethod)new·PKCS7$INVOKER$i$0$0$certificates(cls,·Visibility.PUBLIC,·"certificates"); | 66 | ········javaMethod·=·(JavaMethod)new·PKCS7$INVOKER$i$0$0$certificates(cls,·Visibility.PUBLIC,·"certificates"); |
64 | ········populateMethod(javaMethod,·0,·"certificates",·false,·false,·(Class)PKCS7.class,·"certificates",·(Class)IRubyObject.class,·new·Class[0]); | 67 | ········populateMethod(javaMethod,·0,·"certificates",·false,·false,·(Class)PKCS7.class,·"certificates",·(Class)IRubyObject.class,·new·Class[0]); |
65 | ········cls.addMethodAtBootTimeOnly("certificates",·(DynamicMethod)javaMethod); | 68 | ········cls.addMethodAtBootTimeOnly("certificates",·(DynamicMethod)javaMethod); |
66 | ········javaMethod·=·(JavaMethod)new·PKCS7$INVOKER$i$1$0$set_cipher(cls,·Visibility.PUBLIC,·"cipher="); | 69 | ········javaMethod·=·(JavaMethod)new·PKCS7$INVOKER$i$1$0$set_cipher(cls,·Visibility.PUBLIC,·"cipher="); |
67 | ········populateMethod(javaMethod,·1,·"set_cipher",·false,·false,·(Class)PKCS7.class,·"set_cipher",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); | 70 | ········populateMethod(javaMethod,·1,·"set_cipher",·false,·false,·(Class)PKCS7.class,·"set_cipher",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); |
68 | ········cls.addMethodAtBootTimeOnly("cipher=",·(DynamicMethod)javaMethod); | 71 | ········cls.addMethodAtBootTimeOnly("cipher=",·(DynamicMethod)javaMethod); |
69 | ········javaMethod·=·(JavaMethod)new·PKCS7$INVOKER$i$0$0$detached_p(cls,·Visibility.PUBLIC,·"detached?"); | 72 | ········javaMethod·=·(JavaMethod)new·PKCS7$INVOKER$i$0$0$detached_p(cls,·Visibility.PUBLIC,·"detached?"); |
Offset 72, 87 lines modified | Offset 75, 84 lines modified | ||
72 | ········javaMethod·=·(JavaMethod)new·PKCS7$INVOKER$i$1$0$set_detached(cls,·Visibility.PUBLIC,·"detached="); | 75 | ········javaMethod·=·(JavaMethod)new·PKCS7$INVOKER$i$1$0$set_detached(cls,·Visibility.PUBLIC,·"detached="); |
73 | ········populateMethod(javaMethod,·1,·"set_detached",·false,·false,·(Class)PKCS7.class,·"set_detached",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); | 76 | ········populateMethod(javaMethod,·1,·"set_detached",·false,·false,·(Class)PKCS7.class,·"set_detached",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); |
74 | ········cls.addMethodAtBootTimeOnly("detached=",·(DynamicMethod)javaMethod); | 77 | ········cls.addMethodAtBootTimeOnly("detached=",·(DynamicMethod)javaMethod); |
75 | ········javaMethod·=·(JavaMethod)new·PKCS7$INVOKER$i$1$0$add_data(cls,·Visibility.PUBLIC,·"add_data"); | 78 | ········javaMethod·=·(JavaMethod)new·PKCS7$INVOKER$i$1$0$add_data(cls,·Visibility.PUBLIC,·"add_data"); |
76 | ········populateMethod(javaMethod,·1,·"add_data",·false,·false,·(Class)PKCS7.class,·"add_data",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); | 79 | ········populateMethod(javaMethod,·1,·"add_data",·false,·false,·(Class)PKCS7.class,·"add_data",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); |
77 | ········cls.addMethodAtBootTimeOnly("add_data",·(DynamicMethod)javaMethod); | 80 | ········cls.addMethodAtBootTimeOnly("add_data",·(DynamicMethod)javaMethod); |
78 | ········cls.addMethodAtBootTimeOnly("data=",·(DynamicMethod)javaMethod); | 81 | ········cls.addMethodAtBootTimeOnly("data=",·(DynamicMethod)javaMethod); |
79 | ········javaMethod·=·(JavaMethod)new·PKCS7$INVOKER$i$0$0$to_der(cls,·Visibility.PUBLIC,·"to_der"); | ||
80 | ········populateMethod(javaMethod,·0,·"to_der",·false,·false,·(Class)PKCS7.class,·"to_der",·(Class)IRubyObject.class,·new·Class[0]); | ||
81 | ········cls.addMethodAtBootTimeOnly("to_der",·(DynamicMethod)javaMethod); | ||
82 | ········javaMethod·=·(JavaMethod)new·PKCS7$INVOKER$i$1$0$add_crl(cls,·Visibility.PUBLIC,·"add_crl"); | 82 | ········javaMethod·=·(JavaMethod)new·PKCS7$INVOKER$i$1$0$add_crl(cls,·Visibility.PUBLIC,·"add_crl"); |
83 | ········populateMethod(javaMethod,·1,·"add_crl",·false,·false,·(Class)PKCS7.class,·"add_crl",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); | 83 | ········populateMethod(javaMethod,·1,·"add_crl",·false,·false,·(Class)PKCS7.class,·"add_crl",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); |
84 | ········cls.addMethodAtBootTimeOnly("add_crl",·(DynamicMethod)javaMethod); | 84 | ········cls.addMethodAtBootTimeOnly("add_crl",·(DynamicMethod)javaMethod); |
85 | ········javaMethod·=·(JavaMethod)new·PKCS7$INVOKER$i$0$0$verify(cls,·Visibility.PUBLIC,·"verify"); | ||
86 | ········populateMethod(javaMethod,·-1,·"verify",·false,·false,·(Class)PKCS7.class,·"verify",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject[].class·}); | ||
87 | ········cls.addMethodAtBootTimeOnly("verify",·(DynamicMethod)javaMethod); | ||
88 | ········javaMethod·=·(JavaMethod)new·PKCS7$INVOKER$i$1$0$initialize_copy(cls,·Visibility.PRIVATE,·"initialize_copy"); | ||
89 | ········populateMethod(javaMethod,·1,·"initialize_copy",·false,·false,·(Class)PKCS7.class,·"initialize_copy",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); | ||
90 | ········cls.addMethodAtBootTimeOnly("initialize_copy",·(DynamicMethod)javaMethod); | ||
91 | ········javaMethod·=·(JavaMethod)new·PKCS7$INVOKER$i$1$0$add_recipient(cls,·Visibility.PUBLIC,·"add_recipient"); | 85 | ········javaMethod·=·(JavaMethod)new·PKCS7$INVOKER$i$1$0$add_recipient(cls,·Visibility.PUBLIC,·"add_recipient"); |
92 | ········populateMethod(javaMethod,·1,·"add_recipient",·false,·false,·(Class)PKCS7.class,·"add_recipient",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); | 86 | ········populateMethod(javaMethod,·1,·"add_recipient",·false,·false,·(Class)PKCS7.class,·"add_recipient",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); |
93 | ········cls.addMethodAtBootTimeOnly("add_recipient",·(DynamicMethod)javaMethod); | 87 | ········cls.addMethodAtBootTimeOnly("add_recipient",·(DynamicMethod)javaMethod); |
94 | ········javaMethod·=·(JavaMethod)new·PKCS7$INVOKER$i$0$0$get_type(cls,·Visibility.PUBLIC,·"type"); | 88 | ········javaMethod·=·(JavaMethod)new·PKCS7$INVOKER$i$0$0$get_type(cls,·Visibility.PUBLIC,·"type"); |
95 | ········populateMethod(javaMethod,·0,·"get_type",·false,·false,·(Class)PKCS7.class,·"get_type",·(Class)IRubyObject.class,·new·Class[0]); | 89 | ········populateMethod(javaMethod,·0,·"get_type",·false,·false,·(Class)PKCS7.class,·"get_type",·(Class)IRubyObject.class,·new·Class[0]); |
96 | ········cls.addMethodAtBootTimeOnly("type",·(DynamicMethod)javaMethod); | 90 | ········cls.addMethodAtBootTimeOnly("type",·(DynamicMethod)javaMethod); |
97 | ········javaMethod·=·(JavaMethod)new·PKCS7$INVOKER$i$0$0$crls(cls,·Visibility.PUBLIC,·"crls"); | 91 | ········javaMethod·=·(JavaMethod)new·PKCS7$INVOKER$i$0$0$crls(cls,·Visibility.PUBLIC,·"crls"); |
98 | ········populateMethod(javaMethod,·0,·"crls",·false,·false,·(Class)PKCS7.class,·"crls",·(Class)IRubyObject.class,·new·Class[0]); | 92 | ········populateMethod(javaMethod,·0,·"crls",·false,·false,·(Class)PKCS7.class,·"crls",·(Class)IRubyObject.class,·new·Class[0]); |
99 | ········cls.addMethodAtBootTimeOnly("crls",·(DynamicMethod)javaMethod); | 93 | ········cls.addMethodAtBootTimeOnly("crls",·(DynamicMethod)javaMethod); |
94 | ········javaMethod·=·(JavaMethod)new·PKCS7$INVOKER$i$0$0$signers(cls,·Visibility.PUBLIC,·"signers"); | ||
95 | ········populateMethod(javaMethod,·0,·"signers",·false,·false,·(Class)PKCS7.class,·"signers",·(Class)IRubyObject.class,·new·Class[0]); | ||
96 | ········cls.addMethodAtBootTimeOnly("signers",·(DynamicMethod)javaMethod); | ||
100 | ········javaMethod·=·(JavaMethod)new·PKCS7$INVOKER$i$0$0$recipients(cls,·Visibility.PUBLIC,·"recipients"); | 97 | ········javaMethod·=·(JavaMethod)new·PKCS7$INVOKER$i$0$0$recipients(cls,·Visibility.PUBLIC,·"recipients"); |
101 | ········populateMethod(javaMethod,·0,·"recipients",·false,·false,·(Class)PKCS7.class,·"recipients",·(Class)IRubyObject.class,·new·Class[0]); | 98 | ········populateMethod(javaMethod,·0,·"recipients",·false,·false,·(Class)PKCS7.class,·"recipients",·(Class)IRubyObject.class,·new·Class[0]); |
102 | ········cls.addMethodAtBootTimeOnly("recipients",·(DynamicMethod)javaMethod); | 99 | ········cls.addMethodAtBootTimeOnly("recipients",·(DynamicMethod)javaMethod); |
103 | ········javaMethod·=·(JavaMethod)new·PKCS7$INVOKER$i$1$0$set_crls(cls,·Visibility.PUBLIC,·"crls="); | 100 | ········javaMethod·=·(JavaMethod)new·PKCS7$INVOKER$i$1$0$set_crls(cls,·Visibility.PUBLIC,·"crls="); |
104 | ········populateMethod(javaMethod,·1,·"set_crls",·false,·false,·(Class)PKCS7.class,·"set_crls",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); | 101 | ········populateMethod(javaMethod,·1,·"set_crls",·false,·false,·(Class)PKCS7.class,·"set_crls",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); |
105 | ········cls.addMethodAtBootTimeOnly("crls=",·(DynamicMethod)javaMethod); | 102 | ········cls.addMethodAtBootTimeOnly("crls=",·(DynamicMethod)javaMethod); |
103 | ········javaMethod·=·(JavaMethod)new·PKCS7$INVOKER$i$0$0$verify(cls,·Visibility.PUBLIC,·"verify"); | ||
104 | ········populateMethod(javaMethod,·-1,·"verify",·false,·false,·(Class)PKCS7.class,·"verify",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject[].class·}); | ||
105 | ········cls.addMethodAtBootTimeOnly("verify",·(DynamicMethod)javaMethod); | ||
106 | ········javaMethod·=·(JavaMethod)new·PKCS7$INVOKER$i$0$0$to_pem(cls,·Visibility.PUBLIC,·"to_pem"); | 106 | ········javaMethod·=·(JavaMethod)new·PKCS7$INVOKER$i$0$0$to_pem(cls,·Visibility.PUBLIC,·"to_pem"); |
107 | ········populateMethod(javaMethod,·0,·"to_pem",·false,·false,·(Class)PKCS7.class,·"to_pem",·(Class)IRubyObject.class,·new·Class[0]); | 107 | ········populateMethod(javaMethod,·0,·"to_pem",·false,·false,·(Class)PKCS7.class,·"to_pem",·(Class)IRubyObject.class,·new·Class[0]); |
108 | ········cls.addMethodAtBootTimeOnly("to_pem",·(DynamicMethod)javaMethod); | 108 | ········cls.addMethodAtBootTimeOnly("to_pem",·(DynamicMethod)javaMethod); |
109 | ········cls.addMethodAtBootTimeOnly("to_s",·(DynamicMethod)javaMethod); | 109 | ········cls.addMethodAtBootTimeOnly("to_s",·(DynamicMethod)javaMethod); |
110 | ········javaMethod·=·(JavaMethod)new·PKCS7$INVOKER$i$0$0$detached(cls,·Visibility.PUBLIC,·"detached"); | 110 | ········javaMethod·=·(JavaMethod)new·PKCS7$INVOKER$i$0$0$detached(cls,·Visibility.PUBLIC,·"detached"); |
111 | ········populateMethod(javaMethod,·0,·"detached",·false,·false,·(Class)PKCS7.class,·"detached",·(Class)IRubyObject.class,·new·Class[0]); | 111 | ········populateMethod(javaMethod,·0,·"detached",·false,·false,·(Class)PKCS7.class,·"detached",·(Class)IRubyObject.class,·new·Class[0]); |
112 | ········cls.addMethodAtBootTimeOnly("detached",·(DynamicMethod)javaMethod); | 112 | ········cls.addMethodAtBootTimeOnly("detached",·(DynamicMethod)javaMethod); |
113 | ········javaMethod·=·(JavaMethod)new·PKCS7$INVOKER$i$0$0$signers(cls,·Visibility.PUBLIC,·"signers"); | ||
114 | ········populateMethod(javaMethod,·0,·"signers",·false,·false,·(Class)PKCS7.class,·"signers",·(Class)IRubyObject.class,·new·Class[0]); | ||
115 | ········cls.addMethodAtBootTimeOnly("signers",·(DynamicMethod)javaMethod); | ||
116 | ········javaMethod·=·(JavaMethod)new·PKCS7$INVOKER$i$1$0$set_certificates(cls,·Visibility.PUBLIC,·"certificates="); | 113 | ········javaMethod·=·(JavaMethod)new·PKCS7$INVOKER$i$1$0$set_certificates(cls,·Visibility.PUBLIC,·"certificates="); |
117 | ········populateMethod(javaMethod,·1,·"set_certificates",·false,·false,·(Class)PKCS7.class,·"set_certificates",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); | 114 | ········populateMethod(javaMethod,·1,·"set_certificates",·false,·false,·(Class)PKCS7.class,·"set_certificates",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); |
118 | ········cls.addMethodAtBootTimeOnly("certificates=",·(DynamicMethod)javaMethod); | 115 | ········cls.addMethodAtBootTimeOnly("certificates=",·(DynamicMethod)javaMethod); |
119 | ········javaMethod·=·(JavaMethod)new·PKCS7$INVOKER$i$1$0$add_signer(cls,·Visibility.PUBLIC,·"add_signer"); | 116 | ········javaMethod·=·(JavaMethod)new·PKCS7$INVOKER$i$1$0$add_signer(cls,·Visibility.PUBLIC,·"add_signer"); |
120 | ········populateMethod(javaMethod,·1,·"add_signer",·false,·false,·(Class)PKCS7.class,·"add_signer",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); | 117 | ········populateMethod(javaMethod,·1,·"add_signer",·false,·false,·(Class)PKCS7.class,·"add_signer",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); |
121 | ········cls.addMethodAtBootTimeOnly("add_signer",·(DynamicMethod)javaMethod); | 118 | ········cls.addMethodAtBootTimeOnly("add_signer",·(DynamicMethod)javaMethod); |
122 | ········javaMethod·=·(JavaMethod)new·PKCS7$INVOKER$i$ | 119 | ········javaMethod·=·(JavaMethod)new·PKCS7$INVOKER$i$1$0$initialize_copy(cls,·Visibility.PRIVATE,·"initialize_copy"); |
123 | ········populateMethod(javaMethod,· | 120 | ········populateMethod(javaMethod,·1,·"initialize_copy",·false,·false,·(Class)PKCS7.class,·"initialize_copy",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); |
124 | ········cls.addMethodAtBootTimeOnly(" | 121 | ········cls.addMethodAtBootTimeOnly("initialize_copy",·(DynamicMethod)javaMethod); |
125 | ········javaMethod·=·(JavaMethod)new·PKCS7$INVOKER$i$1$0$set_type(cls,·Visibility.PUBLIC,·"type="); | 122 | ········javaMethod·=·(JavaMethod)new·PKCS7$INVOKER$i$1$0$set_type(cls,·Visibility.PUBLIC,·"type="); |
126 | ········populateMethod(javaMethod,·1,·"set_type",·false,·false,·(Class)PKCS7.class,·"set_type",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); | 123 | ········populateMethod(javaMethod,·1,·"set_type",·false,·false,·(Class)PKCS7.class,·"set_type",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); |
127 | ········cls.addMethodAtBootTimeOnly("type=",·(DynamicMethod)javaMethod); | 124 | ········cls.addMethodAtBootTimeOnly("type=",·(DynamicMethod)javaMethod); |
128 | ········javaMethod·=·(JavaMethod)new·PKCS7$INVOKER$i$1$0$add_certificate(cls,·Visibility.PUBLIC,·"add_certificate"); | 125 | ········javaMethod·=·(JavaMethod)new·PKCS7$INVOKER$i$1$0$add_certificate(cls,·Visibility.PUBLIC,·"add_certificate"); |
129 | ········populateMethod(javaMethod,·1,·"add_certificate",·false,·false,·(Class)PKCS7.class,·"add_certificate",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); | 126 | ········populateMethod(javaMethod,·1,·"add_certificate",·false,·false,·(Class)PKCS7.class,·"add_certificate",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); |
130 | ········cls.addMethodAtBootTimeOnly("add_certificate",·(DynamicMethod)javaMethod); | 127 | ········cls.addMethodAtBootTimeOnly("add_certificate",·(DynamicMethod)javaMethod); |
128 | ········javaMethod·=·(JavaMethod)new·PKCS7$INVOKER$i$0$0$to_der(cls,·Visibility.PUBLIC,·"to_der"); | ||
129 | ········populateMethod(javaMethod,·0,·"to_der",·false,·false,·(Class)PKCS7.class,·"to_der",·(Class)IRubyObject.class,·new·Class[0]); | ||
130 | ········cls.addMethodAtBootTimeOnly("to_der",·(DynamicMethod)javaMethod); | ||
Max diff block lines reached; 2786/14982 bytes (18.60%) of diff not shown. |
Offset 13, 23 lines modified | Offset 13, 23 lines modified | ||
13 | import·org.jruby.ext.openssl.PKeyDSA$INVOKER$i$0$0$get_p; | 13 | import·org.jruby.ext.openssl.PKeyDSA$INVOKER$i$0$0$get_p; |
14 | import·org.jruby.ext.openssl.PKeyDSA$INVOKER$i$0$0$get_pub_key; | 14 | import·org.jruby.ext.openssl.PKeyDSA$INVOKER$i$0$0$get_pub_key; |
15 | import·org.jruby.ext.openssl.PKeyDSA$INVOKER$i$0$0$to_pem; | 15 | import·org.jruby.ext.openssl.PKeyDSA$INVOKER$i$0$0$to_pem; |
16 | import·org.jruby.RubyBoolean; | 16 | import·org.jruby.RubyBoolean; |
17 | import·org.jruby.ext.openssl.PKeyDSA$INVOKER$i$0$0$public_p; | 17 | import·org.jruby.ext.openssl.PKeyDSA$INVOKER$i$0$0$public_p; |
18 | import·org.jruby.ext.openssl.PKeyDSA$INVOKER$i$0$0$get_priv_key; | 18 | import·org.jruby.ext.openssl.PKeyDSA$INVOKER$i$0$0$get_priv_key; |
19 | import·org.jruby.ext.openssl.PKeyDSA$INVOKER$i$1$0$set_p; | 19 | import·org.jruby.ext.openssl.PKeyDSA$INVOKER$i$1$0$set_p; |
20 | import·org.jruby.RubyString; | ||
21 | import·org.jruby.ext.openssl.PKeyDSA$INVOKER$i$0$0$to_text; | ||
22 | import·org.jruby.ext.openssl.PKeyDSA$INVOKER$i$1$0$set_q; | 20 | import·org.jruby.ext.openssl.PKeyDSA$INVOKER$i$1$0$set_q; |
23 | import·org.jruby.ext.openssl.PKeyDSA$INVOKER$i$2$0$sysverify; | 21 | import·org.jruby.ext.openssl.PKeyDSA$INVOKER$i$2$0$sysverify; |
24 | import·org.jruby.ext.openssl.PKeyDSA$INVOKER$i$0$0$get_g; | 22 | import·org.jruby.ext.openssl.PKeyDSA$INVOKER$i$0$0$get_g; |
25 | import·org.jruby.ext.openssl.PKeyDSA$INVOKER$i$1$0$set_pub_key; | 23 | import·org.jruby.ext.openssl.PKeyDSA$INVOKER$i$1$0$set_pub_key; |
26 | import·org.jruby.ext.openssl.PKeyDSA$INVOKER$i$1$0$set_priv_key; | 24 | import·org.jruby.ext.openssl.PKeyDSA$INVOKER$i$1$0$set_priv_key; |
27 | import·org.jruby.ext.openssl.PKeyDSA$INVOKER$i$1$0$syssign; | 25 | import·org.jruby.ext.openssl.PKeyDSA$INVOKER$i$1$0$syssign; |
28 | import·org.jruby.ext.openssl.PKeyDSA$INVOKER$i$0$0$public_key; | 26 | import·org.jruby.ext.openssl.PKeyDSA$INVOKER$i$0$0$public_key; |
27 | import·org.jruby.RubyString; | ||
28 | import·org.jruby.ext.openssl.PKeyDSA$INVOKER$i$0$0$to_text; | ||
29 | import·org.jruby.internal.runtime.methods.DynamicMethod; | 29 | import·org.jruby.internal.runtime.methods.DynamicMethod; |
30 | import·org.jruby.runtime.builtin.IRubyObject; | 30 | import·org.jruby.runtime.builtin.IRubyObject; |
31 | import·org.jruby.ext.openssl.PKeyDSA; | 31 | import·org.jruby.ext.openssl.PKeyDSA; |
32 | import·org.jruby.ext.openssl.PKeyDSA$INVOKER$s$1$0$generate; | 32 | import·org.jruby.ext.openssl.PKeyDSA$INVOKER$s$1$0$generate; |
33 | import·org.jruby.runtime.Visibility; | 33 | import·org.jruby.runtime.Visibility; |
34 | import·org.jruby.RubyModule; | 34 | import·org.jruby.RubyModule; |
35 | import·org.jruby.anno.TypePopulator; | 35 | import·org.jruby.anno.TypePopulator; |
Offset 39, 14 lines modified | Offset 39, 17 lines modified | ||
39 | ····public·void·populate(final·RubyModule·cls,·final·Class·clazz)·{ | 39 | ····public·void·populate(final·RubyModule·cls,·final·Class·clazz)·{ |
40 | ········final·RubyClass·singletonClass·=·cls.getSingletonClass(); | 40 | ········final·RubyClass·singletonClass·=·cls.getSingletonClass(); |
41 | ········final·Ruby·runtime·=·cls.getRuntime(); | 41 | ········final·Ruby·runtime·=·cls.getRuntime(); |
42 | ········JavaMethod·javaMethod·=·(JavaMethod)new·PKeyDSA$INVOKER$s$1$0$generate((RubyModule)singletonClass,·Visibility.PUBLIC,·"generate"); | 42 | ········JavaMethod·javaMethod·=·(JavaMethod)new·PKeyDSA$INVOKER$s$1$0$generate((RubyModule)singletonClass,·Visibility.PUBLIC,·"generate"); |
43 | ········populateMethod(javaMethod,·1,·"generate",·true,·false,·(Class)PKeyDSA.class,·"generate",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class,·IRubyObject.class·}); | 43 | ········populateMethod(javaMethod,·1,·"generate",·true,·false,·(Class)PKeyDSA.class,·"generate",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class,·IRubyObject.class·}); |
44 | ········singletonClass.addMethodAtBootTimeOnly("generate",·(DynamicMethod)javaMethod); | 44 | ········singletonClass.addMethodAtBootTimeOnly("generate",·(DynamicMethod)javaMethod); |
45 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyDSA",·"generate",·"generate"); | 45 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyDSA",·"generate",·"generate"); |
46 | ········javaMethod·=·(JavaMethod)new·PKeyDSA$INVOKER$i$0$0$to_text(cls,·Visibility.PUBLIC,·"to_text"); | ||
47 | ········populateMethod(javaMethod,·0,·"to_text",·false,·false,·(Class)PKeyDSA.class,·"to_text",·(Class)RubyString.class,·new·Class[0]); | ||
48 | ········cls.addMethodAtBootTimeOnly("to_text",·(DynamicMethod)javaMethod); | ||
46 | ········javaMethod·=·(JavaMethod)new·PKeyDSA$INVOKER$i$0$0$public_key(cls,·Visibility.PUBLIC,·"public_key"); | 49 | ········javaMethod·=·(JavaMethod)new·PKeyDSA$INVOKER$i$0$0$public_key(cls,·Visibility.PUBLIC,·"public_key"); |
47 | ········populateMethod(javaMethod,·0,·"public_key",·false,·false,·(Class)PKeyDSA.class,·"public_key",·(Class)PKeyDSA.class,·new·Class[0]); | 50 | ········populateMethod(javaMethod,·0,·"public_key",·false,·false,·(Class)PKeyDSA.class,·"public_key",·(Class)PKeyDSA.class,·new·Class[0]); |
48 | ········cls.addMethodAtBootTimeOnly("public_key",·(DynamicMethod)javaMethod); | 51 | ········cls.addMethodAtBootTimeOnly("public_key",·(DynamicMethod)javaMethod); |
49 | ········javaMethod·=·(JavaMethod)new·PKeyDSA$INVOKER$i$1$0$syssign(cls,·Visibility.PUBLIC,·"syssign"); | 52 | ········javaMethod·=·(JavaMethod)new·PKeyDSA$INVOKER$i$1$0$syssign(cls,·Visibility.PUBLIC,·"syssign"); |
50 | ········populateMethod(javaMethod,·1,·"syssign",·false,·false,·(Class)PKeyDSA.class,·"syssign",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); | 53 | ········populateMethod(javaMethod,·1,·"syssign",·false,·false,·(Class)PKeyDSA.class,·"syssign",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); |
51 | ········cls.addMethodAtBootTimeOnly("syssign",·(DynamicMethod)javaMethod); | 54 | ········cls.addMethodAtBootTimeOnly("syssign",·(DynamicMethod)javaMethod); |
52 | ········javaMethod·=·(JavaMethod)new·PKeyDSA$INVOKER$i$1$0$set_priv_key(cls,·Visibility.PUBLIC,·"priv_key="); | 55 | ········javaMethod·=·(JavaMethod)new·PKeyDSA$INVOKER$i$1$0$set_priv_key(cls,·Visibility.PUBLIC,·"priv_key="); |
Offset 60, 17 lines modified | Offset 63, 14 lines modified | ||
60 | ········cls.addMethodAtBootTimeOnly("g",·(DynamicMethod)javaMethod); | 63 | ········cls.addMethodAtBootTimeOnly("g",·(DynamicMethod)javaMethod); |
61 | ········javaMethod·=·(JavaMethod)new·PKeyDSA$INVOKER$i$2$0$sysverify(cls,·Visibility.PUBLIC,·"sysverify"); | 64 | ········javaMethod·=·(JavaMethod)new·PKeyDSA$INVOKER$i$2$0$sysverify(cls,·Visibility.PUBLIC,·"sysverify"); |
62 | ········populateMethod(javaMethod,·2,·"sysverify",·false,·false,·(Class)PKeyDSA.class,·"sysverify",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class,·IRubyObject.class·}); | 65 | ········populateMethod(javaMethod,·2,·"sysverify",·false,·false,·(Class)PKeyDSA.class,·"sysverify",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class,·IRubyObject.class·}); |
63 | ········cls.addMethodAtBootTimeOnly("sysverify",·(DynamicMethod)javaMethod); | 66 | ········cls.addMethodAtBootTimeOnly("sysverify",·(DynamicMethod)javaMethod); |
64 | ········javaMethod·=·(JavaMethod)new·PKeyDSA$INVOKER$i$1$0$set_q(cls,·Visibility.PUBLIC,·"q="); | 67 | ········javaMethod·=·(JavaMethod)new·PKeyDSA$INVOKER$i$1$0$set_q(cls,·Visibility.PUBLIC,·"q="); |
65 | ········populateMethod(javaMethod,·1,·"set_q",·false,·false,·(Class)PKeyDSA.class,·"set_q",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); | 68 | ········populateMethod(javaMethod,·1,·"set_q",·false,·false,·(Class)PKeyDSA.class,·"set_q",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); |
66 | ········cls.addMethodAtBootTimeOnly("q=",·(DynamicMethod)javaMethod); | 69 | ········cls.addMethodAtBootTimeOnly("q=",·(DynamicMethod)javaMethod); |
67 | ········javaMethod·=·(JavaMethod)new·PKeyDSA$INVOKER$i$0$0$to_text(cls,·Visibility.PUBLIC,·"to_text"); | ||
68 | ········populateMethod(javaMethod,·0,·"to_text",·false,·false,·(Class)PKeyDSA.class,·"to_text",·(Class)RubyString.class,·new·Class[0]); | ||
69 | ········cls.addMethodAtBootTimeOnly("to_text",·(DynamicMethod)javaMethod); | ||
70 | ········javaMethod·=·(JavaMethod)new·PKeyDSA$INVOKER$i$1$0$set_p(cls,·Visibility.PUBLIC,·"p="); | 70 | ········javaMethod·=·(JavaMethod)new·PKeyDSA$INVOKER$i$1$0$set_p(cls,·Visibility.PUBLIC,·"p="); |
71 | ········populateMethod(javaMethod,·1,·"set_p",·false,·false,·(Class)PKeyDSA.class,·"set_p",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); | 71 | ········populateMethod(javaMethod,·1,·"set_p",·false,·false,·(Class)PKeyDSA.class,·"set_p",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); |
72 | ········cls.addMethodAtBootTimeOnly("p=",·(DynamicMethod)javaMethod); | 72 | ········cls.addMethodAtBootTimeOnly("p=",·(DynamicMethod)javaMethod); |
73 | ········javaMethod·=·(JavaMethod)new·PKeyDSA$INVOKER$i$0$0$get_priv_key(cls,·Visibility.PUBLIC,·"priv_key"); | 73 | ········javaMethod·=·(JavaMethod)new·PKeyDSA$INVOKER$i$0$0$get_priv_key(cls,·Visibility.PUBLIC,·"priv_key"); |
74 | ········populateMethod(javaMethod,·0,·"get_priv_key",·false,·false,·(Class)PKeyDSA.class,·"get_priv_key",·(Class)IRubyObject.class,·new·Class[0]); | 74 | ········populateMethod(javaMethod,·0,·"get_priv_key",·false,·false,·(Class)PKeyDSA.class,·"get_priv_key",·(Class)IRubyObject.class,·new·Class[0]); |
75 | ········cls.addMethodAtBootTimeOnly("priv_key",·(DynamicMethod)javaMethod); | 75 | ········cls.addMethodAtBootTimeOnly("priv_key",·(DynamicMethod)javaMethod); |
76 | ········javaMethod·=·(JavaMethod)new·PKeyDSA$INVOKER$i$0$0$public_p(cls,·Visibility.PUBLIC,·"public?"); | 76 | ········javaMethod·=·(JavaMethod)new·PKeyDSA$INVOKER$i$0$0$public_p(cls,·Visibility.PUBLIC,·"public?"); |
Offset 98, 22 lines modified | Offset 98, 22 lines modified | ||
98 | ········cls.addMethodAtBootTimeOnly("g=",·(DynamicMethod)javaMethod); | 98 | ········cls.addMethodAtBootTimeOnly("g=",·(DynamicMethod)javaMethod); |
99 | ········javaMethod·=·(JavaMethod)new·PKeyDSA$INVOKER$i$0$0$initialize(cls,·Visibility.PRIVATE,·"initialize"); | 99 | ········javaMethod·=·(JavaMethod)new·PKeyDSA$INVOKER$i$0$0$initialize(cls,·Visibility.PRIVATE,·"initialize"); |
100 | ········populateMethod(javaMethod,·-1,·"initialize",·false,·false,·(Class)PKeyDSA.class,·"initialize",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject[].class·}); | 100 | ········populateMethod(javaMethod,·-1,·"initialize",·false,·false,·(Class)PKeyDSA.class,·"initialize",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject[].class·}); |
101 | ········cls.addMethodAtBootTimeOnly("initialize",·(DynamicMethod)javaMethod); | 101 | ········cls.addMethodAtBootTimeOnly("initialize",·(DynamicMethod)javaMethod); |
102 | ········javaMethod·=·(JavaMethod)new·PKeyDSA$INVOKER$i$0$0$private_p(cls,·Visibility.PUBLIC,·"private?"); | 102 | ········javaMethod·=·(JavaMethod)new·PKeyDSA$INVOKER$i$0$0$private_p(cls,·Visibility.PUBLIC,·"private?"); |
103 | ········populateMethod(javaMethod,·0,·"private_p",·false,·false,·(Class)PKeyDSA.class,·"private_p",·(Class)RubyBoolean.class,·new·Class[0]); | 103 | ········populateMethod(javaMethod,·0,·"private_p",·false,·false,·(Class)PKeyDSA.class,·"private_p",·(Class)RubyBoolean.class,·new·Class[0]); |
104 | ········cls.addMethodAtBootTimeOnly("private?",·(DynamicMethod)javaMethod); | 104 | ········cls.addMethodAtBootTimeOnly("private?",·(DynamicMethod)javaMethod); |
105 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyDSA",·"to_text",·"to_text"); | ||
105 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyDSA",·"public_key",·"public_key"); | 106 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyDSA",·"public_key",·"public_key"); |
106 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyDSA",·"syssign",·"syssign"); | 107 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyDSA",·"syssign",·"syssign"); |
107 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyDSA",·"set_priv_key",·"priv_key="); | 108 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyDSA",·"set_priv_key",·"priv_key="); |
108 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyDSA",·"set_pub_key",·"pub_key="); | 109 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyDSA",·"set_pub_key",·"pub_key="); |
109 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyDSA",·"get_g",·"g"); | 110 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyDSA",·"get_g",·"g"); |
110 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyDSA",·"sysverify",·"sysverify"); | 111 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyDSA",·"sysverify",·"sysverify"); |
111 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyDSA",·"set_q",·"q="); | 112 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyDSA",·"set_q",·"q="); |
112 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyDSA",·"to_text",·"to_text"); | ||
113 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyDSA",·"set_p",·"p="); | 113 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyDSA",·"set_p",·"p="); |
114 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyDSA",·"get_priv_key",·"priv_key"); | 114 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyDSA",·"get_priv_key",·"priv_key"); |
115 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyDSA",·"public_p",·"public?"); | 115 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyDSA",·"public_p",·"public?"); |
116 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyDSA",·"to_pem",·"to_pem"); | 116 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyDSA",·"to_pem",·"to_pem"); |
117 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyDSA",·"get_pub_key",·"pub_key"); | 117 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyDSA",·"get_pub_key",·"pub_key"); |
118 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyDSA",·"get_p",·"p"); | 118 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyDSA",·"get_p",·"p"); |
119 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyDSA",·"get_q",·"q"); | 119 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyDSA",·"get_q",·"q"); |
Offset 1, 21 lines modified | Offset 1, 21 lines modified | ||
1 | package·org.jruby.gen; | 1 | package·org.jruby.gen; |
2 | import·org.jruby.internal.runtime.methods.JavaMethod; | 2 | import·org.jruby.internal.runtime.methods.JavaMethod; |
3 | import·org.jruby.Ruby; | 3 | import·org.jruby.Ruby; |
4 | import·org.jruby.RubyString; | 4 | import·org.jruby.RubyString; |
5 | import·org.jruby.ext.openssl.PKeyEC$Group$INVOKER$i$0$0$to_pem; | 5 | import·org.jruby.ext.openssl.PKeyEC$Group$INVOKER$i$0$0$to_pem; |
6 | import·org.jruby.ext.openssl.PKeyEC$Group$INVOKER$i$0$0$order; | ||
7 | import·org.jruby.ext.openssl.PKeyEC$Group$INVOKER$i$0$0$degree; | ||
8 | import·org.jruby.ext.openssl.PKeyEC$Group$INVOKER$i$0$0$initialize; | ||
9 | import·org.jruby.ext.openssl.PKeyEC$Group$INVOKER$i$0$0$generator; | 6 | import·org.jruby.ext.openssl.PKeyEC$Group$INVOKER$i$0$0$generator; |
10 | import·org.jruby.ext.openssl.PKeyEC$Group$INVOKER$i$0$0$seed; | ||
11 | import·org.jruby.ext.openssl.PKeyEC$Group$INVOKER$i$0$0$cofactor; | 7 | import·org.jruby.ext.openssl.PKeyEC$Group$INVOKER$i$0$0$cofactor; |
12 | import·org.jruby.ext.openssl.PKeyEC$Group$INVOKER$i$0$0$curve_name; | 8 | import·org.jruby.ext.openssl.PKeyEC$Group$INVOKER$i$0$0$curve_name; |
9 | import·org.jruby.ext.openssl.PKeyEC$Group$INVOKER$i$0$0$order; | ||
10 | import·org.jruby.ext.openssl.PKeyEC$Group$INVOKER$i$0$0$initialize; | ||
11 | import·org.jruby.ext.openssl.PKeyEC$Group$INVOKER$i$0$0$degree; | ||
12 | import·org.jruby.ext.openssl.PKeyEC$Group$INVOKER$i$0$0$seed; | ||
13 | import·org.jruby.internal.runtime.methods.DynamicMethod; | 13 | import·org.jruby.internal.runtime.methods.DynamicMethod; |
14 | import·org.jruby.runtime.ThreadContext; | 14 | import·org.jruby.runtime.ThreadContext; |
15 | import·org.jruby.runtime.builtin.IRubyObject; | 15 | import·org.jruby.runtime.builtin.IRubyObject; |
16 | import·org.jruby.ext.openssl.PKeyEC; | 16 | import·org.jruby.ext.openssl.PKeyEC; |
17 | import·org.jruby.ext.openssl.PKeyEC$Group$INVOKER$i$1$0$op_equal; | 17 | import·org.jruby.ext.openssl.PKeyEC$Group$INVOKER$i$1$0$op_equal; |
18 | import·org.jruby.runtime.Visibility; | 18 | import·org.jruby.runtime.Visibility; |
19 | import·org.jruby.RubyModule; | 19 | import·org.jruby.RubyModule; |
Offset 25, 43 lines modified | Offset 25, 43 lines modified | ||
25 | { | 25 | { |
26 | ····public·void·populate(final·RubyModule·cls,·final·Class·clazz)·{ | 26 | ····public·void·populate(final·RubyModule·cls,·final·Class·clazz)·{ |
27 | ········final·Ruby·runtime·=·cls.getRuntime(); | 27 | ········final·Ruby·runtime·=·cls.getRuntime(); |
28 | ········JavaMethod·javaMethod·=·(JavaMethod)new·PKeyEC$Group$INVOKER$i$1$0$op_equal(cls,·Visibility.PUBLIC,·"=="); | 28 | ········JavaMethod·javaMethod·=·(JavaMethod)new·PKeyEC$Group$INVOKER$i$1$0$op_equal(cls,·Visibility.PUBLIC,·"=="); |
29 | ········populateMethod(javaMethod,·1,·"op_equal",·false,·false,·(Class)PKeyEC.Group.class,·"op_equal",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); | 29 | ········populateMethod(javaMethod,·1,·"op_equal",·false,·false,·(Class)PKeyEC.Group.class,·"op_equal",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); |
30 | ········cls.addMethodAtBootTimeOnly("==",·(DynamicMethod)javaMethod); | 30 | ········cls.addMethodAtBootTimeOnly("==",·(DynamicMethod)javaMethod); |
31 | ········cls.addMethodAtBootTimeOnly("eql?",·(DynamicMethod)javaMethod); | 31 | ········cls.addMethodAtBootTimeOnly("eql?",·(DynamicMethod)javaMethod); |
32 | ········javaMethod·=·(JavaMethod)new·PKeyEC$Group$INVOKER$i$0$0$curve_name(cls,·Visibility.PUBLIC,·"curve_name"); | ||
33 | ········populateMethod(javaMethod,·0,·"curve_name",·false,·false,·(Class)PKeyEC.Group.class,·"curve_name",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); | ||
34 | ········cls.addMethodAtBootTimeOnly("curve_name",·(DynamicMethod)javaMethod); | ||
35 | ········javaMethod·=·(JavaMethod)new·PKeyEC$Group$INVOKER$i$0$0$cofactor(cls,·Visibility.PUBLIC,·"cofactor"); | ||
36 | ········populateMethod(javaMethod,·0,·"cofactor",·false,·false,·(Class)PKeyEC.Group.class,·"cofactor",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); | ||
37 | ········cls.addMethodAtBootTimeOnly("cofactor",·(DynamicMethod)javaMethod); | ||
38 | ········javaMethod·=·(JavaMethod)new·PKeyEC$Group$INVOKER$i$0$0$seed(cls,·Visibility.PUBLIC,·"seed"); | 32 | ········javaMethod·=·(JavaMethod)new·PKeyEC$Group$INVOKER$i$0$0$seed(cls,·Visibility.PUBLIC,·"seed"); |
39 | ········populateMethod(javaMethod,·0,·"seed",·false,·false,·(Class)PKeyEC.Group.class,·"seed",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); | 33 | ········populateMethod(javaMethod,·0,·"seed",·false,·false,·(Class)PKeyEC.Group.class,·"seed",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); |
40 | ········cls.addMethodAtBootTimeOnly("seed",·(DynamicMethod)javaMethod); | 34 | ········cls.addMethodAtBootTimeOnly("seed",·(DynamicMethod)javaMethod); |
41 | ········javaMethod·=·(JavaMethod)new·PKeyEC$Group$INVOKER$i$0$0$generator(cls,·Visibility.PUBLIC,·"generator"); | ||
42 | ········populateMethod(javaMethod,·0,·"generator",·false,·false,·(Class)PKeyEC.Group.class,·"generator",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); | ||
43 | ········cls.addMethodAtBootTimeOnly("generator",·(DynamicMethod)javaMethod); | ||
44 | ········javaMethod·=·(JavaMethod)new·PKeyEC$Group$INVOKER$i$0$0$initialize(cls,·Visibility.PRIVATE,·"initialize"); | ||
45 | ········populateMethod(javaMethod,·-1,·"initialize",·false,·false,·(Class)PKeyEC.Group.class,·"initialize",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject[].class·}); | ||
46 | ········cls.addMethodAtBootTimeOnly("initialize",·(DynamicMethod)javaMethod); | ||
47 | ········javaMethod·=·(JavaMethod)new·PKeyEC$Group$INVOKER$i$0$0$degree(cls,·Visibility.PUBLIC,·"degree"); | 35 | ········javaMethod·=·(JavaMethod)new·PKeyEC$Group$INVOKER$i$0$0$degree(cls,·Visibility.PUBLIC,·"degree"); |
48 | ········populateMethod(javaMethod,·0,·"degree",·false,·false,·(Class)PKeyEC.Group.class,·"degree",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); | 36 | ········populateMethod(javaMethod,·0,·"degree",·false,·false,·(Class)PKeyEC.Group.class,·"degree",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); |
49 | ········cls.addMethodAtBootTimeOnly("degree",·(DynamicMethod)javaMethod); | 37 | ········cls.addMethodAtBootTimeOnly("degree",·(DynamicMethod)javaMethod); |
38 | ········javaMethod·=·(JavaMethod)new·PKeyEC$Group$INVOKER$i$0$0$initialize(cls,·Visibility.PRIVATE,·"initialize"); | ||
39 | ········populateMethod(javaMethod,·-1,·"initialize",·false,·false,·(Class)PKeyEC.Group.class,·"initialize",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject[].class·}); | ||
40 | ········cls.addMethodAtBootTimeOnly("initialize",·(DynamicMethod)javaMethod); | ||
50 | ········javaMethod·=·(JavaMethod)new·PKeyEC$Group$INVOKER$i$0$0$order(cls,·Visibility.PUBLIC,·"order"); | 41 | ········javaMethod·=·(JavaMethod)new·PKeyEC$Group$INVOKER$i$0$0$order(cls,·Visibility.PUBLIC,·"order"); |
51 | ········populateMethod(javaMethod,·0,·"order",·false,·false,·(Class)PKeyEC.Group.class,·"order",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); | 42 | ········populateMethod(javaMethod,·0,·"order",·false,·false,·(Class)PKeyEC.Group.class,·"order",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); |
52 | ········cls.addMethodAtBootTimeOnly("order",·(DynamicMethod)javaMethod); | 43 | ········cls.addMethodAtBootTimeOnly("order",·(DynamicMethod)javaMethod); |
44 | ········javaMethod·=·(JavaMethod)new·PKeyEC$Group$INVOKER$i$0$0$curve_name(cls,·Visibility.PUBLIC,·"curve_name"); | ||
45 | ········populateMethod(javaMethod,·0,·"curve_name",·false,·false,·(Class)PKeyEC.Group.class,·"curve_name",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); | ||
46 | ········cls.addMethodAtBootTimeOnly("curve_name",·(DynamicMethod)javaMethod); | ||
47 | ········javaMethod·=·(JavaMethod)new·PKeyEC$Group$INVOKER$i$0$0$cofactor(cls,·Visibility.PUBLIC,·"cofactor"); | ||
48 | ········populateMethod(javaMethod,·0,·"cofactor",·false,·false,·(Class)PKeyEC.Group.class,·"cofactor",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); | ||
49 | ········cls.addMethodAtBootTimeOnly("cofactor",·(DynamicMethod)javaMethod); | ||
50 | ········javaMethod·=·(JavaMethod)new·PKeyEC$Group$INVOKER$i$0$0$generator(cls,·Visibility.PUBLIC,·"generator"); | ||
51 | ········populateMethod(javaMethod,·0,·"generator",·false,·false,·(Class)PKeyEC.Group.class,·"generator",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); | ||
52 | ········cls.addMethodAtBootTimeOnly("generator",·(DynamicMethod)javaMethod); | ||
53 | ········javaMethod·=·(JavaMethod)new·PKeyEC$Group$INVOKER$i$0$0$to_pem(cls,·Visibility.PUBLIC,·"to_pem"); | 53 | ········javaMethod·=·(JavaMethod)new·PKeyEC$Group$INVOKER$i$0$0$to_pem(cls,·Visibility.PUBLIC,·"to_pem"); |
54 | ········populateMethod(javaMethod,·-1,·"to_pem",·false,·false,·(Class)PKeyEC.Group.class,·"to_pem",·(Class)RubyString.class,·new·Class[]·{·ThreadContext.class,·IRubyObject[].class·}); | 54 | ········populateMethod(javaMethod,·-1,·"to_pem",·false,·false,·(Class)PKeyEC.Group.class,·"to_pem",·(Class)RubyString.class,·new·Class[]·{·ThreadContext.class,·IRubyObject[].class·}); |
55 | ········cls.addMethodAtBootTimeOnly("to_pem",·(DynamicMethod)javaMethod); | 55 | ········cls.addMethodAtBootTimeOnly("to_pem",·(DynamicMethod)javaMethod); |
56 | ········cls.defineAlias("export",·"to_pem"); | 56 | ········cls.defineAlias("export",·"to_pem"); |
57 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC.Group",·"op_equal",·"=="); | 57 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC.Group",·"op_equal",·"=="); |
58 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC.Group",·"curve_name",·"curve_name"); | ||
59 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC.Group",·"cofactor",·"cofactor"); | ||
60 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC.Group",·"seed",·"seed"); | 58 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC.Group",·"seed",·"seed"); |
61 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC.Group",·"generator",·"generator"); | ||
62 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC.Group",·"initialize",·"initialize"); | ||
63 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC.Group",·"degree",·"degree"); | 59 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC.Group",·"degree",·"degree"); |
60 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC.Group",·"initialize",·"initialize"); | ||
64 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC.Group",·"order",·"order"); | 61 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC.Group",·"order",·"order"); |
62 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC.Group",·"curve_name",·"curve_name"); | ||
63 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC.Group",·"cofactor",·"cofactor"); | ||
64 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC.Group",·"generator",·"generator"); | ||
65 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC.Group",·"to_pem",·"to_pem"); | 65 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC.Group",·"to_pem",·"to_pem"); |
66 | ····} | 66 | ····} |
67 | } | 67 | } |
Offset 1, 28 lines modified | Offset 1, 28 lines modified | ||
1 | package·org.jruby.gen; | 1 | package·org.jruby.gen; |
2 | import·org.jruby.internal.runtime.methods.JavaMethod; | 2 | import·org.jruby.internal.runtime.methods.JavaMethod; |
3 | import·org.jruby.Ruby; | 3 | import·org.jruby.Ruby; |
4 | import·org.jruby.RubyClass; | 4 | import·org.jruby.RubyClass; |
5 | import·org.jruby.ext.openssl.PKeyEC$INVOKER$i$1$0$set_private_key; | 5 | import·org.jruby.ext.openssl.PKeyEC$INVOKER$i$1$0$set_private_key; |
6 | import·org.jruby.ext.openssl.PKeyEC$INVOKER$i$0$0$group; | ||
6 | import·org.jruby.ext.openssl.PKeyEC$INVOKER$i$1$0$dh_compute_key; | 7 | import·org.jruby.ext.openssl.PKeyEC$INVOKER$i$1$0$dh_compute_key; |
7 | import·org.jruby.ext.openssl.PKeyEC$INVOKER$i$0$0$check_key; | ||
8 | import·org.jruby.ext.openssl.PKeyEC$INVOKER$i$0$0$private_p; | 8 | import·org.jruby.ext.openssl.PKeyEC$INVOKER$i$0$0$private_p; |
9 | import·org.jruby.ext.openssl.PKeyEC$INVOKER$i$0$0$check_key; | ||
9 | import·org.jruby.ext.openssl.PKeyEC$INVOKER$i$0$0$initialize; | 10 | import·org.jruby.ext.openssl.PKeyEC$INVOKER$i$0$0$initialize; |
10 | import·org.jruby.ext.openssl.PKeyEC$INVOKER$i$1$0$dsa_sign_asn1; | 11 | import·org.jruby.ext.openssl.PKeyEC$INVOKER$i$1$0$dsa_sign_asn1; |
11 | import·org.jruby.ext.openssl.PKeyEC$INVOKER$i$0$0$to_der; | 12 | import·org.jruby.ext.openssl.PKeyEC$INVOKER$i$0$0$to_der; |
12 | import·org.jruby.ext.openssl.PKeyEC$INVOKER$i$0$0$group; | ||
13 | import·org.jruby.RubyString; | 13 | import·org.jruby.RubyString; |
14 | import·org.jruby.ext.openssl.PKeyEC$INVOKER$i$0$0$to_pem; | 14 | import·org.jruby.ext.openssl.PKeyEC$INVOKER$i$0$0$to_pem; |
15 | import·org.jruby.ext.openssl.PKeyEC$INVOKER$i$1$0$set_public_key; | 15 | import·org.jruby.ext.openssl.PKeyEC$INVOKER$i$1$0$set_public_key; |
16 | import·org.jruby.RubyBoolean; | 16 | import·org.jruby.RubyBoolean; |
17 | import·org.jruby.ext.openssl.PKeyEC$INVOKER$i$0$0$public_p; | 17 | import·org.jruby.ext.openssl.PKeyEC$INVOKER$i$0$0$public_p; |
18 | import·org.jruby.ext.openssl.PKeyEC$INVOKER$i$0$0$private_key; | ||
19 | import·org.jruby.ext.openssl.PKeyEC$INVOKER$i$0$0$generate_key; | 18 | import·org.jruby.ext.openssl.PKeyEC$INVOKER$i$0$0$generate_key; |
19 | import·org.jruby.ext.openssl.PKeyEC$INVOKER$i$0$0$private_key; | ||
20 | import·org.jruby.ext.openssl.PKeyEC$INVOKER$i$1$0$set_group; | 20 | import·org.jruby.ext.openssl.PKeyEC$INVOKER$i$1$0$set_group; |
21 | import·org.jruby.ext.openssl.PKeyEC$INVOKER$i$0$0$public_key; | 21 | import·org.jruby.ext.openssl.PKeyEC$INVOKER$i$0$0$public_key; |
22 | import·org.jruby.internal.runtime.methods.DynamicMethod; | 22 | import·org.jruby.internal.runtime.methods.DynamicMethod; |
23 | import·org.jruby.runtime.builtin.IRubyObject; | 23 | import·org.jruby.runtime.builtin.IRubyObject; |
24 | import·org.jruby.runtime.ThreadContext; | 24 | import·org.jruby.runtime.ThreadContext; |
25 | import·org.jruby.RubyArray; | 25 | import·org.jruby.RubyArray; |
26 | import·org.jruby.ext.openssl.PKeyEC; | 26 | import·org.jruby.ext.openssl.PKeyEC; |
Offset 42, 64 lines modified | Offset 42, 64 lines modified | ||
42 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC",·"builtin_curves",·"builtin_curves"); | 42 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC",·"builtin_curves",·"builtin_curves"); |
43 | ········javaMethod·=·(JavaMethod)new·PKeyEC$INVOKER$i$0$0$public_key(cls,·Visibility.PUBLIC,·"public_key"); | 43 | ········javaMethod·=·(JavaMethod)new·PKeyEC$INVOKER$i$0$0$public_key(cls,·Visibility.PUBLIC,·"public_key"); |
44 | ········populateMethod(javaMethod,·0,·"public_key",·false,·false,·(Class)PKeyEC.class,·"public_key",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); | 44 | ········populateMethod(javaMethod,·0,·"public_key",·false,·false,·(Class)PKeyEC.class,·"public_key",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); |
45 | ········cls.addMethodAtBootTimeOnly("public_key",·(DynamicMethod)javaMethod); | 45 | ········cls.addMethodAtBootTimeOnly("public_key",·(DynamicMethod)javaMethod); |
46 | ········javaMethod·=·(JavaMethod)new·PKeyEC$INVOKER$i$1$0$set_group(cls,·Visibility.PUBLIC,·"group="); | 46 | ········javaMethod·=·(JavaMethod)new·PKeyEC$INVOKER$i$1$0$set_group(cls,·Visibility.PUBLIC,·"group="); |
47 | ········populateMethod(javaMethod,·1,·"set_group",·false,·false,·(Class)PKeyEC.class,·"set_group",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); | 47 | ········populateMethod(javaMethod,·1,·"set_group",·false,·false,·(Class)PKeyEC.class,·"set_group",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); |
48 | ········cls.addMethodAtBootTimeOnly("group=",·(DynamicMethod)javaMethod); | 48 | ········cls.addMethodAtBootTimeOnly("group=",·(DynamicMethod)javaMethod); |
49 | ········javaMethod·=·(JavaMethod)new·PKeyEC$INVOKER$i$0$0$generate_key(cls,·Visibility.PUBLIC,·"generate_key"); | ||
50 | ········populateMethod(javaMethod,·0,·"generate_key",·false,·false,·(Class)PKeyEC.class,·"generate_key",·(Class)PKeyEC.class,·new·Class[]·{·ThreadContext.class·}); | ||
51 | ········cls.addMethodAtBootTimeOnly("generate_key",·(DynamicMethod)javaMethod); | ||
52 | ········javaMethod·=·(JavaMethod)new·PKeyEC$INVOKER$i$0$0$private_key(cls,·Visibility.PUBLIC,·"private_key"); | 49 | ········javaMethod·=·(JavaMethod)new·PKeyEC$INVOKER$i$0$0$private_key(cls,·Visibility.PUBLIC,·"private_key"); |
53 | ········populateMethod(javaMethod,·0,·"private_key",·false,·false,·(Class)PKeyEC.class,·"private_key",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); | 50 | ········populateMethod(javaMethod,·0,·"private_key",·false,·false,·(Class)PKeyEC.class,·"private_key",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); |
54 | ········cls.addMethodAtBootTimeOnly("private_key",·(DynamicMethod)javaMethod); | 51 | ········cls.addMethodAtBootTimeOnly("private_key",·(DynamicMethod)javaMethod); |
52 | ········javaMethod·=·(JavaMethod)new·PKeyEC$INVOKER$i$0$0$generate_key(cls,·Visibility.PUBLIC,·"generate_key"); | ||
53 | ········populateMethod(javaMethod,·0,·"generate_key",·false,·false,·(Class)PKeyEC.class,·"generate_key",·(Class)PKeyEC.class,·new·Class[]·{·ThreadContext.class·}); | ||
54 | ········cls.addMethodAtBootTimeOnly("generate_key",·(DynamicMethod)javaMethod); | ||
55 | ········javaMethod·=·(JavaMethod)new·PKeyEC$INVOKER$i$0$0$public_p(cls,·Visibility.PUBLIC,·"public_key?"); | 55 | ········javaMethod·=·(JavaMethod)new·PKeyEC$INVOKER$i$0$0$public_p(cls,·Visibility.PUBLIC,·"public_key?"); |
56 | ········populateMethod(javaMethod,·0,·"public_p",·false,·false,·(Class)PKeyEC.class,·"public_p",·(Class)RubyBoolean.class,·new·Class[0]); | 56 | ········populateMethod(javaMethod,·0,·"public_p",·false,·false,·(Class)PKeyEC.class,·"public_p",·(Class)RubyBoolean.class,·new·Class[0]); |
57 | ········cls.addMethodAtBootTimeOnly("public_key?",·(DynamicMethod)javaMethod); | 57 | ········cls.addMethodAtBootTimeOnly("public_key?",·(DynamicMethod)javaMethod); |
58 | ········javaMethod·=·(JavaMethod)new·PKeyEC$INVOKER$i$1$0$set_public_key(cls,·Visibility.PUBLIC,·"public_key="); | 58 | ········javaMethod·=·(JavaMethod)new·PKeyEC$INVOKER$i$1$0$set_public_key(cls,·Visibility.PUBLIC,·"public_key="); |
59 | ········populateMethod(javaMethod,·1,·"set_public_key",·false,·false,·(Class)PKeyEC.class,·"set_public_key",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); | 59 | ········populateMethod(javaMethod,·1,·"set_public_key",·false,·false,·(Class)PKeyEC.class,·"set_public_key",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); |
60 | ········cls.addMethodAtBootTimeOnly("public_key=",·(DynamicMethod)javaMethod); | 60 | ········cls.addMethodAtBootTimeOnly("public_key=",·(DynamicMethod)javaMethod); |
61 | ········javaMethod·=·(JavaMethod)new·PKeyEC$INVOKER$i$0$0$to_pem(cls,·Visibility.PUBLIC,·"to_pem"); | 61 | ········javaMethod·=·(JavaMethod)new·PKeyEC$INVOKER$i$0$0$to_pem(cls,·Visibility.PUBLIC,·"to_pem"); |
62 | ········populateMethod(javaMethod,·-1,·"to_pem",·false,·false,·(Class)PKeyEC.class,·"to_pem",·(Class)RubyString.class,·new·Class[]·{·IRubyObject[].class·}); | 62 | ········populateMethod(javaMethod,·-1,·"to_pem",·false,·false,·(Class)PKeyEC.class,·"to_pem",·(Class)RubyString.class,·new·Class[]·{·IRubyObject[].class·}); |
63 | ········cls.addMethodAtBootTimeOnly("to_pem",·(DynamicMethod)javaMethod); | 63 | ········cls.addMethodAtBootTimeOnly("to_pem",·(DynamicMethod)javaMethod); |
64 | ········cls.defineAlias("export",·"to_pem"); | 64 | ········cls.defineAlias("export",·"to_pem"); |
65 | ········javaMethod·=·(JavaMethod)new·PKeyEC$INVOKER$i$0$0$group(cls,·Visibility.PUBLIC,·"group"); | ||
66 | ········populateMethod(javaMethod,·0,·"group",·false,·false,·(Class)PKeyEC.class,·"group",·(Class)IRubyObject.class,·new·Class[0]); | ||
67 | ········cls.addMethodAtBootTimeOnly("group",·(DynamicMethod)javaMethod); | ||
68 | ········javaMethod·=·(JavaMethod)new·PKeyEC$INVOKER$i$0$0$to_der(cls,·Visibility.PUBLIC,·"to_der"); | 65 | ········javaMethod·=·(JavaMethod)new·PKeyEC$INVOKER$i$0$0$to_der(cls,·Visibility.PUBLIC,·"to_der"); |
69 | ········populateMethod(javaMethod,·0,·"to_der",·false,·false,·(Class)PKeyEC.class,·"to_der",·(Class)RubyString.class,·new·Class[0]); | 66 | ········populateMethod(javaMethod,·0,·"to_der",·false,·false,·(Class)PKeyEC.class,·"to_der",·(Class)RubyString.class,·new·Class[0]); |
70 | ········cls.addMethodAtBootTimeOnly("to_der",·(DynamicMethod)javaMethod); | 67 | ········cls.addMethodAtBootTimeOnly("to_der",·(DynamicMethod)javaMethod); |
71 | ········javaMethod·=·(JavaMethod)new·PKeyEC$INVOKER$i$1$0$dsa_sign_asn1(cls,·Visibility.PUBLIC,·"dsa_sign_asn1"); | 68 | ········javaMethod·=·(JavaMethod)new·PKeyEC$INVOKER$i$1$0$dsa_sign_asn1(cls,·Visibility.PUBLIC,·"dsa_sign_asn1"); |
72 | ········populateMethod(javaMethod,·1,·"dsa_sign_asn1",·false,·false,·(Class)PKeyEC.class,·"dsa_sign_asn1",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); | 69 | ········populateMethod(javaMethod,·1,·"dsa_sign_asn1",·false,·false,·(Class)PKeyEC.class,·"dsa_sign_asn1",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); |
73 | ········cls.addMethodAtBootTimeOnly("dsa_sign_asn1",·(DynamicMethod)javaMethod); | 70 | ········cls.addMethodAtBootTimeOnly("dsa_sign_asn1",·(DynamicMethod)javaMethod); |
74 | ········javaMethod·=·(JavaMethod)new·PKeyEC$INVOKER$i$0$0$initialize(cls,·Visibility.PRIVATE,·"initialize"); | 71 | ········javaMethod·=·(JavaMethod)new·PKeyEC$INVOKER$i$0$0$initialize(cls,·Visibility.PRIVATE,·"initialize"); |
75 | ········populateMethod(javaMethod,·-1,·"initialize",·false,·false,·(Class)PKeyEC.class,·"initialize",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject[].class·}); | 72 | ········populateMethod(javaMethod,·-1,·"initialize",·false,·false,·(Class)PKeyEC.class,·"initialize",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject[].class·}); |
76 | ········cls.addMethodAtBootTimeOnly("initialize",·(DynamicMethod)javaMethod); | 73 | ········cls.addMethodAtBootTimeOnly("initialize",·(DynamicMethod)javaMethod); |
77 | ········javaMethod·=·(JavaMethod)new·PKeyEC$INVOKER$i$0$0$private_p(cls,·Visibility.PUBLIC,·"private_key?"); | ||
78 | ········populateMethod(javaMethod,·0,·"private_p",·false,·false,·(Class)PKeyEC.class,·"private_p",·(Class)RubyBoolean.class,·new·Class[0]); | ||
79 | ········cls.addMethodAtBootTimeOnly("private_key?",·(DynamicMethod)javaMethod); | ||
80 | ········javaMethod·=·(JavaMethod)new·PKeyEC$INVOKER$i$0$0$check_key(cls,·Visibility.PUBLIC,·"check_key"); | 74 | ········javaMethod·=·(JavaMethod)new·PKeyEC$INVOKER$i$0$0$check_key(cls,·Visibility.PUBLIC,·"check_key"); |
81 | ········populateMethod(javaMethod,·0,·"check_key",·false,·false,·(Class)PKeyEC.class,·"check_key",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); | 75 | ········populateMethod(javaMethod,·0,·"check_key",·false,·false,·(Class)PKeyEC.class,·"check_key",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); |
82 | ········cls.addMethodAtBootTimeOnly("check_key",·(DynamicMethod)javaMethod); | 76 | ········cls.addMethodAtBootTimeOnly("check_key",·(DynamicMethod)javaMethod); |
77 | ········javaMethod·=·(JavaMethod)new·PKeyEC$INVOKER$i$0$0$private_p(cls,·Visibility.PUBLIC,·"private_key?"); | ||
78 | ········populateMethod(javaMethod,·0,·"private_p",·false,·false,·(Class)PKeyEC.class,·"private_p",·(Class)RubyBoolean.class,·new·Class[0]); | ||
79 | ········cls.addMethodAtBootTimeOnly("private_key?",·(DynamicMethod)javaMethod); | ||
83 | ········javaMethod·=·(JavaMethod)new·PKeyEC$INVOKER$i$1$0$dh_compute_key(cls,·Visibility.PUBLIC,·"dh_compute_key"); | 80 | ········javaMethod·=·(JavaMethod)new·PKeyEC$INVOKER$i$1$0$dh_compute_key(cls,·Visibility.PUBLIC,·"dh_compute_key"); |
84 | ········populateMethod(javaMethod,·1,·"dh_compute_key",·false,·false,·(Class)PKeyEC.class,·"dh_compute_key",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); | 81 | ········populateMethod(javaMethod,·1,·"dh_compute_key",·false,·false,·(Class)PKeyEC.class,·"dh_compute_key",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); |
85 | ········cls.addMethodAtBootTimeOnly("dh_compute_key",·(DynamicMethod)javaMethod); | 82 | ········cls.addMethodAtBootTimeOnly("dh_compute_key",·(DynamicMethod)javaMethod); |
83 | ········javaMethod·=·(JavaMethod)new·PKeyEC$INVOKER$i$0$0$group(cls,·Visibility.PUBLIC,·"group"); | ||
84 | ········populateMethod(javaMethod,·0,·"group",·false,·false,·(Class)PKeyEC.class,·"group",·(Class)IRubyObject.class,·new·Class[0]); | ||
85 | ········cls.addMethodAtBootTimeOnly("group",·(DynamicMethod)javaMethod); | ||
86 | ········javaMethod·=·(JavaMethod)new·PKeyEC$INVOKER$i$1$0$set_private_key(cls,·Visibility.PUBLIC,·"private_key="); | 86 | ········javaMethod·=·(JavaMethod)new·PKeyEC$INVOKER$i$1$0$set_private_key(cls,·Visibility.PUBLIC,·"private_key="); |
87 | ········populateMethod(javaMethod,·1,·"set_private_key",·false,·false,·(Class)PKeyEC.class,·"set_private_key",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); | 87 | ········populateMethod(javaMethod,·1,·"set_private_key",·false,·false,·(Class)PKeyEC.class,·"set_private_key",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); |
88 | ········cls.addMethodAtBootTimeOnly("private_key=",·(DynamicMethod)javaMethod); | 88 | ········cls.addMethodAtBootTimeOnly("private_key=",·(DynamicMethod)javaMethod); |
89 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC",·"public_key",·"public_key"); | 89 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC",·"public_key",·"public_key"); |
90 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC",·"set_group",·"group="); | 90 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC",·"set_group",·"group="); |
91 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC",·"generate_key",·"generate_key"); | ||
92 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC",·"private_key",·"private_key"); | 91 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC",·"private_key",·"private_key"); |
92 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC",·"generate_key",·"generate_key"); | ||
93 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC",·"public_p",·"public_key?"); | 93 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC",·"public_p",·"public_key?"); |
94 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC",·"set_public_key",·"public_key="); | 94 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC",·"set_public_key",·"public_key="); |
95 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC",·"to_pem",·"to_pem"); | 95 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC",·"to_pem",·"to_pem"); |
96 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC",·"group",·"group"); | ||
97 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC",·"to_der",·"to_der"); | 96 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC",·"to_der",·"to_der"); |
98 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC",·"dsa_sign_asn1",·"dsa_sign_asn1"); | 97 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC",·"dsa_sign_asn1",·"dsa_sign_asn1"); |
99 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC",·"initialize",·"initialize"); | 98 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC",·"initialize",·"initialize"); |
100 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC",·"private_p",·"private_key?"); | ||
101 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC",·"check_key",·"check_key"); | 99 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC",·"check_key",·"check_key"); |
100 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC",·"private_p",·"private_key?"); | ||
102 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC",·"dh_compute_key",·"dh_compute_key"); | 101 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC",·"dh_compute_key",·"dh_compute_key"); |
102 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC",·"group",·"group"); | ||
103 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC",·"set_private_key",·"private_key="); | 103 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC",·"set_private_key",·"private_key="); |
104 | ····} | 104 | ····} |
105 | } | 105 | } |
Offset 1, 20 lines modified | Offset 1, 20 lines modified | ||
1 | package·org.jruby.gen; | 1 | package·org.jruby.gen; |
2 | import·org.jruby.internal.runtime.methods.JavaMethod; | 2 | import·org.jruby.internal.runtime.methods.JavaMethod; |
3 | import·org.jruby.Ruby; | 3 | import·org.jruby.Ruby; |
4 | import·org.jruby.RubyBoolean; | 4 | import·org.jruby.RubyBoolean; |
5 | import·org.jruby.ext.openssl.PKeyEC$Point$INVOKER$i$0$0$infinity_p; | 5 | import·org.jruby.ext.openssl.PKeyEC$Point$INVOKER$i$0$0$infinity_p; |
6 | import·org.jruby.ext.openssl.PKeyEC$Point$INVOKER$i$0$0$group; | ||
6 | import·org.jruby.ext.openssl.PKeyEC$Point$INVOKER$i$0$0$inspect; | 7 | import·org.jruby.ext.openssl.PKeyEC$Point$INVOKER$i$0$0$inspect; |
7 | import·org.jruby.ext.openssl.BN; | ||
8 | import·org.jruby.ext.openssl.PKeyEC$Point$INVOKER$i$0$0$to_bn; | ||
9 | import·org.jruby.ext.openssl.PKeyEC$Point$INVOKER$i$0$0$set_to_infinity_b; | 8 | import·org.jruby.ext.openssl.PKeyEC$Point$INVOKER$i$0$0$set_to_infinity_b; |
10 | import·org.jruby.ext.openssl.PKeyEC$Point$INVOKER$i$0$0$initialize; | 9 | import·org.jruby.ext.openssl.PKeyEC$Point$INVOKER$i$0$0$initialize; |
11 | import·org.jruby.ext.openssl. | 10 | import·org.jruby.ext.openssl.BN; |
11 | import·org.jruby.ext.openssl.PKeyEC$Point$INVOKER$i$0$0$to_bn; | ||
12 | import·org.jruby.internal.runtime.methods.DynamicMethod; | 12 | import·org.jruby.internal.runtime.methods.DynamicMethod; |
13 | import·org.jruby.runtime.ThreadContext; | 13 | import·org.jruby.runtime.ThreadContext; |
14 | import·org.jruby.runtime.builtin.IRubyObject; | 14 | import·org.jruby.runtime.builtin.IRubyObject; |
15 | import·org.jruby.ext.openssl.PKeyEC; | 15 | import·org.jruby.ext.openssl.PKeyEC; |
16 | import·org.jruby.ext.openssl.PKeyEC$Point$INVOKER$i$1$0$op_equal; | 16 | import·org.jruby.ext.openssl.PKeyEC$Point$INVOKER$i$1$0$op_equal; |
17 | import·org.jruby.runtime.Visibility; | 17 | import·org.jruby.runtime.Visibility; |
18 | import·org.jruby.RubyModule; | 18 | import·org.jruby.RubyModule; |
Offset 24, 34 lines modified | Offset 24, 34 lines modified | ||
24 | { | 24 | { |
25 | ····public·void·populate(final·RubyModule·cls,·final·Class·clazz)·{ | 25 | ····public·void·populate(final·RubyModule·cls,·final·Class·clazz)·{ |
26 | ········final·Ruby·runtime·=·cls.getRuntime(); | 26 | ········final·Ruby·runtime·=·cls.getRuntime(); |
27 | ········JavaMethod·javaMethod·=·(JavaMethod)new·PKeyEC$Point$INVOKER$i$1$0$op_equal(cls,·Visibility.PUBLIC,·"=="); | 27 | ········JavaMethod·javaMethod·=·(JavaMethod)new·PKeyEC$Point$INVOKER$i$1$0$op_equal(cls,·Visibility.PUBLIC,·"=="); |
28 | ········populateMethod(javaMethod,·1,·"op_equal",·false,·false,·(Class)PKeyEC.Point.class,·"op_equal",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); | 28 | ········populateMethod(javaMethod,·1,·"op_equal",·false,·false,·(Class)PKeyEC.Point.class,·"op_equal",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); |
29 | ········cls.addMethodAtBootTimeOnly("==",·(DynamicMethod)javaMethod); | 29 | ········cls.addMethodAtBootTimeOnly("==",·(DynamicMethod)javaMethod); |
30 | ········cls.addMethodAtBootTimeOnly("eql?",·(DynamicMethod)javaMethod); | 30 | ········cls.addMethodAtBootTimeOnly("eql?",·(DynamicMethod)javaMethod); |
31 | ········javaMethod·=·(JavaMethod)new·PKeyEC$Point$INVOKER$i$0$0$ | 31 | ········javaMethod·=·(JavaMethod)new·PKeyEC$Point$INVOKER$i$0$0$to_bn(cls,·Visibility.PUBLIC,·"to_bn"); |
32 | ········populateMethod(javaMethod,·0,·" | 32 | ········populateMethod(javaMethod,·0,·"to_bn",·false,·false,·(Class)PKeyEC.Point.class,·"to_bn",·(Class)BN.class,·new·Class[]·{·ThreadContext.class·}); |
33 | ········cls.addMethodAtBootTimeOnly(" | 33 | ········cls.addMethodAtBootTimeOnly("to_bn",·(DynamicMethod)javaMethod); |
34 | ········javaMethod·=·(JavaMethod)new·PKeyEC$Point$INVOKER$i$0$0$initialize(cls,·Visibility.PRIVATE,·"initialize"); | 34 | ········javaMethod·=·(JavaMethod)new·PKeyEC$Point$INVOKER$i$0$0$initialize(cls,·Visibility.PRIVATE,·"initialize"); |
35 | ········populateMethod(javaMethod,·-1,·"initialize",·false,·false,·(Class)PKeyEC.Point.class,·"initialize",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject[].class·}); | 35 | ········populateMethod(javaMethod,·-1,·"initialize",·false,·false,·(Class)PKeyEC.Point.class,·"initialize",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject[].class·}); |
36 | ········cls.addMethodAtBootTimeOnly("initialize",·(DynamicMethod)javaMethod); | 36 | ········cls.addMethodAtBootTimeOnly("initialize",·(DynamicMethod)javaMethod); |
37 | ········javaMethod·=·(JavaMethod)new·PKeyEC$Point$INVOKER$i$0$0$set_to_infinity_b(cls,·Visibility.PUBLIC,·"set_to_infinity!"); | 37 | ········javaMethod·=·(JavaMethod)new·PKeyEC$Point$INVOKER$i$0$0$set_to_infinity_b(cls,·Visibility.PUBLIC,·"set_to_infinity!"); |
38 | ········populateMethod(javaMethod,·0,·"set_to_infinity_b",·false,·false,·(Class)PKeyEC.Point.class,·"set_to_infinity_b",·(Class)IRubyObject.class,·new·Class[0]); | 38 | ········populateMethod(javaMethod,·0,·"set_to_infinity_b",·false,·false,·(Class)PKeyEC.Point.class,·"set_to_infinity_b",·(Class)IRubyObject.class,·new·Class[0]); |
39 | ········cls.addMethodAtBootTimeOnly("set_to_infinity!",·(DynamicMethod)javaMethod); | 39 | ········cls.addMethodAtBootTimeOnly("set_to_infinity!",·(DynamicMethod)javaMethod); |
40 | ········javaMethod·=·(JavaMethod)new·PKeyEC$Point$INVOKER$i$0$0$to_bn(cls,·Visibility.PUBLIC,·"to_bn"); | ||
41 | ········populateMethod(javaMethod,·0,·"to_bn",·false,·false,·(Class)PKeyEC.Point.class,·"to_bn",·(Class)BN.class,·new·Class[]·{·ThreadContext.class·}); | ||
42 | ········cls.addMethodAtBootTimeOnly("to_bn",·(DynamicMethod)javaMethod); | ||
43 | ········javaMethod·=·(JavaMethod)new·PKeyEC$Point$INVOKER$i$0$0$inspect(cls,·Visibility.PUBLIC,·"inspect"); | 40 | ········javaMethod·=·(JavaMethod)new·PKeyEC$Point$INVOKER$i$0$0$inspect(cls,·Visibility.PUBLIC,·"inspect"); |
44 | ········populateMethod(javaMethod,·0,·"inspect",·false,·false,·(Class)PKeyEC.Point.class,·"inspect",·(Class)IRubyObject.class,·new·Class[0]); | 41 | ········populateMethod(javaMethod,·0,·"inspect",·false,·false,·(Class)PKeyEC.Point.class,·"inspect",·(Class)IRubyObject.class,·new·Class[0]); |
45 | ········cls.addMethodAtBootTimeOnly("inspect",·(DynamicMethod)javaMethod); | 42 | ········cls.addMethodAtBootTimeOnly("inspect",·(DynamicMethod)javaMethod); |
43 | ········javaMethod·=·(JavaMethod)new·PKeyEC$Point$INVOKER$i$0$0$group(cls,·Visibility.PUBLIC,·"group"); | ||
44 | ········populateMethod(javaMethod,·0,·"group",·false,·false,·(Class)PKeyEC.Point.class,·"group",·(Class)IRubyObject.class,·new·Class[0]); | ||
45 | ········cls.addMethodAtBootTimeOnly("group",·(DynamicMethod)javaMethod); | ||
46 | ········javaMethod·=·(JavaMethod)new·PKeyEC$Point$INVOKER$i$0$0$infinity_p(cls,·Visibility.PUBLIC,·"infinity?"); | 46 | ········javaMethod·=·(JavaMethod)new·PKeyEC$Point$INVOKER$i$0$0$infinity_p(cls,·Visibility.PUBLIC,·"infinity?"); |
47 | ········populateMethod(javaMethod,·0,·"infinity_p",·false,·false,·(Class)PKeyEC.Point.class,·"infinity_p",·(Class)RubyBoolean.class,·new·Class[0]); | 47 | ········populateMethod(javaMethod,·0,·"infinity_p",·false,·false,·(Class)PKeyEC.Point.class,·"infinity_p",·(Class)RubyBoolean.class,·new·Class[0]); |
48 | ········cls.addMethodAtBootTimeOnly("infinity?",·(DynamicMethod)javaMethod); | 48 | ········cls.addMethodAtBootTimeOnly("infinity?",·(DynamicMethod)javaMethod); |
49 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC.Point",·"op_equal",·"=="); | 49 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC.Point",·"op_equal",·"=="); |
50 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC.Point",·" | 50 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC.Point",·"to_bn",·"to_bn"); |
51 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC.Point",·"initialize",·"initialize"); | 51 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC.Point",·"initialize",·"initialize"); |
52 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC.Point",·"set_to_infinity_b",·"set_to_infinity!"); | 52 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC.Point",·"set_to_infinity_b",·"set_to_infinity!"); |
53 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC.Point",·"to_bn",·"to_bn"); | ||
54 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC.Point",·"inspect",·"inspect"); | 53 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC.Point",·"inspect",·"inspect"); |
54 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC.Point",·"group",·"group"); | ||
55 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC.Point",·"infinity_p",·"infinity?"); | 55 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyEC.Point",·"infinity_p",·"infinity?"); |
56 | ····} | 56 | ····} |
57 | } | 57 | } |
Offset 4, 37 lines modified | Offset 4, 37 lines modified | ||
4 | import·org.jruby.internal.runtime.methods.JavaMethod; | 4 | import·org.jruby.internal.runtime.methods.JavaMethod; |
5 | import·org.jruby.Ruby; | 5 | import·org.jruby.Ruby; |
6 | import·org.jruby.RubyClass; | 6 | import·org.jruby.RubyClass; |
7 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$0$0$private_p; | 7 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$0$0$private_p; |
8 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$0$0$get_iqmp; | 8 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$0$0$get_iqmp; |
9 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$1$0$set_e; | 9 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$1$0$set_e; |
10 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$0$0$initialize; | 10 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$0$0$initialize; |
11 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$0$0$private_decrypt; | ||
12 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$0$0$to_der; | 11 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$0$0$to_der; |
12 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$0$0$public_decrypt; | ||
13 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$0$0$get_q; | 13 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$0$0$get_q; |
14 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$0$0$get_p; | 14 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$0$0$get_p; |
15 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$0$0$to_pem; | 15 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$0$0$to_pem; |
16 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$0$0$get_n; | 16 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$0$0$get_n; |
17 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$1$0$set_iqmp; | 17 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$1$0$set_iqmp; |
18 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$1$0$set_q; | 18 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$1$0$set_q; |
19 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$0$0$get_e; | 19 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$0$0$get_e; |
20 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$0$0$get_dmp1; | 20 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$0$0$get_dmp1; |
21 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$0$0$get_d; | 21 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$0$0$get_d; |
22 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$0$0$public_encrypt; | ||
23 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$0$0$private_encrypt; | ||
22 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$0$0$public_key; | 24 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$0$0$public_key; |
23 | import·org.jruby. | 25 | import·org.jruby.RubyString; |
26 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$0$0$to_text; | ||
24 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$1$0$set_d; | 27 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$1$0$set_d; |
25 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$0$0$params; | 28 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$0$0$params; |
26 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$0$0$public_encrypt; | ||
27 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$0$0$private_encrypt; | ||
28 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$1$0$set_n; | 29 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$1$0$set_n; |
29 | import·org.jruby.RubyBoolean; | 30 | import·org.jruby.RubyBoolean; |
30 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$0$0$public_p; | 31 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$0$0$public_p; |
31 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$1$0$set_p; | 32 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$1$0$set_p; |
32 | import·org.jruby. | 33 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$0$0$private_decrypt; |
33 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$0$0$to_text; | ||
34 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$1$0$set_dmp1; | 34 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$1$0$set_dmp1; |
35 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$0$0$get_dmq1; | 35 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$0$0$get_dmq1; |
36 | import·org.jruby.runtime.ThreadContext; | 36 | import·org.jruby.runtime.ThreadContext; |
37 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$1$0$set_dmq1; | 37 | import·org.jruby.ext.openssl.PKeyRSA$INVOKER$i$1$0$set_dmq1; |
38 | import·org.jruby.internal.runtime.methods.DynamicMethod; | 38 | import·org.jruby.internal.runtime.methods.DynamicMethod; |
39 | import·org.jruby.runtime.builtin.IRubyObject; | 39 | import·org.jruby.runtime.builtin.IRubyObject; |
40 | import·org.jruby.ext.openssl.PKeyRSA; | 40 | import·org.jruby.ext.openssl.PKeyRSA; |
Offset 57, 44 lines modified | Offset 57, 44 lines modified | ||
57 | ········cls.addMethodAtBootTimeOnly("dmq1=",·(DynamicMethod)javaMethod); | 57 | ········cls.addMethodAtBootTimeOnly("dmq1=",·(DynamicMethod)javaMethod); |
58 | ········javaMethod·=·(JavaMethod)new·PKeyRSA$INVOKER$i$0$0$get_dmq1(cls,·Visibility.PUBLIC,·"dmq1"); | 58 | ········javaMethod·=·(JavaMethod)new·PKeyRSA$INVOKER$i$0$0$get_dmq1(cls,·Visibility.PUBLIC,·"dmq1"); |
59 | ········populateMethod(javaMethod,·0,·"get_dmq1",·false,·false,·(Class)PKeyRSA.class,·"get_dmq1",·(Class)IRubyObject.class,·new·Class[0]); | 59 | ········populateMethod(javaMethod,·0,·"get_dmq1",·false,·false,·(Class)PKeyRSA.class,·"get_dmq1",·(Class)IRubyObject.class,·new·Class[0]); |
60 | ········cls.addMethodAtBootTimeOnly("dmq1",·(DynamicMethod)javaMethod); | 60 | ········cls.addMethodAtBootTimeOnly("dmq1",·(DynamicMethod)javaMethod); |
61 | ········javaMethod·=·(JavaMethod)new·PKeyRSA$INVOKER$i$1$0$set_dmp1(cls,·Visibility.PUBLIC,·"dmp1="); | 61 | ········javaMethod·=·(JavaMethod)new·PKeyRSA$INVOKER$i$1$0$set_dmp1(cls,·Visibility.PUBLIC,·"dmp1="); |
62 | ········populateMethod(javaMethod,·1,·"set_dmp1",·false,·false,·(Class)PKeyRSA.class,·"set_dmp1",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); | 62 | ········populateMethod(javaMethod,·1,·"set_dmp1",·false,·false,·(Class)PKeyRSA.class,·"set_dmp1",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); |
63 | ········cls.addMethodAtBootTimeOnly("dmp1=",·(DynamicMethod)javaMethod); | 63 | ········cls.addMethodAtBootTimeOnly("dmp1=",·(DynamicMethod)javaMethod); |
64 | ········javaMethod·=·(JavaMethod)new·PKeyRSA$INVOKER$i$0$0$t | 64 | ········javaMethod·=·(JavaMethod)new·PKeyRSA$INVOKER$i$0$0$private_decrypt(cls,·Visibility.PUBLIC,·"private_decrypt"); |
65 | ········populateMethod(javaMethod,· | 65 | ········populateMethod(javaMethod,·-1,·"private_decrypt",·false,·false,·(Class)PKeyRSA.class,·"private_decrypt",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject[].class·}); |
66 | ········cls.addMethodAtBootTimeOnly("t | 66 | ········cls.addMethodAtBootTimeOnly("private_decrypt",·(DynamicMethod)javaMethod); |
67 | ········javaMethod·=·(JavaMethod)new·PKeyRSA$INVOKER$i$1$0$set_p(cls,·Visibility.PUBLIC,·"p="); | 67 | ········javaMethod·=·(JavaMethod)new·PKeyRSA$INVOKER$i$1$0$set_p(cls,·Visibility.PUBLIC,·"p="); |
68 | ········populateMethod(javaMethod,·1,·"set_p",·false,·false,·(Class)PKeyRSA.class,·"set_p",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); | 68 | ········populateMethod(javaMethod,·1,·"set_p",·false,·false,·(Class)PKeyRSA.class,·"set_p",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); |
69 | ········cls.addMethodAtBootTimeOnly("p=",·(DynamicMethod)javaMethod); | 69 | ········cls.addMethodAtBootTimeOnly("p=",·(DynamicMethod)javaMethod); |
70 | ········javaMethod·=·(JavaMethod)new·PKeyRSA$INVOKER$i$0$0$public_p(cls,·Visibility.PUBLIC,·"public?"); | 70 | ········javaMethod·=·(JavaMethod)new·PKeyRSA$INVOKER$i$0$0$public_p(cls,·Visibility.PUBLIC,·"public?"); |
71 | ········populateMethod(javaMethod,·0,·"public_p",·false,·false,·(Class)PKeyRSA.class,·"public_p",·(Class)RubyBoolean.class,·new·Class[0]); | 71 | ········populateMethod(javaMethod,·0,·"public_p",·false,·false,·(Class)PKeyRSA.class,·"public_p",·(Class)RubyBoolean.class,·new·Class[0]); |
72 | ········cls.addMethodAtBootTimeOnly("public?",·(DynamicMethod)javaMethod); | 72 | ········cls.addMethodAtBootTimeOnly("public?",·(DynamicMethod)javaMethod); |
73 | ········javaMethod·=·(JavaMethod)new·PKeyRSA$INVOKER$i$1$0$set_n(cls,·Visibility.PUBLIC,·"n="); | 73 | ········javaMethod·=·(JavaMethod)new·PKeyRSA$INVOKER$i$1$0$set_n(cls,·Visibility.PUBLIC,·"n="); |
74 | ········populateMethod(javaMethod,·1,·"set_n",·false,·false,·(Class)PKeyRSA.class,·"set_n",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); | 74 | ········populateMethod(javaMethod,·1,·"set_n",·false,·false,·(Class)PKeyRSA.class,·"set_n",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); |
75 | ········cls.addMethodAtBootTimeOnly("n=",·(DynamicMethod)javaMethod); | 75 | ········cls.addMethodAtBootTimeOnly("n=",·(DynamicMethod)javaMethod); |
76 | ········javaMethod·=·(JavaMethod)new·PKeyRSA$INVOKER$i$0$0$private_encrypt(cls,·Visibility.PUBLIC,·"private_encrypt"); | ||
77 | ········populateMethod(javaMethod,·-1,·"private_encrypt",·false,·false,·(Class)PKeyRSA.class,·"private_encrypt",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject[].class·}); | ||
78 | ········cls.addMethodAtBootTimeOnly("private_encrypt",·(DynamicMethod)javaMethod); | ||
79 | ········javaMethod·=·(JavaMethod)new·PKeyRSA$INVOKER$i$0$0$public_encrypt(cls,·Visibility.PUBLIC,·"public_encrypt"); | ||
80 | ········populateMethod(javaMethod,·-1,·"public_encrypt",·false,·false,·(Class)PKeyRSA.class,·"public_encrypt",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject[].class·}); | ||
81 | ········cls.addMethodAtBootTimeOnly("public_encrypt",·(DynamicMethod)javaMethod); | ||
82 | ········javaMethod·=·(JavaMethod)new·PKeyRSA$INVOKER$i$0$0$params(cls,·Visibility.PUBLIC,·"params"); | 76 | ········javaMethod·=·(JavaMethod)new·PKeyRSA$INVOKER$i$0$0$params(cls,·Visibility.PUBLIC,·"params"); |
83 | ········populateMethod(javaMethod,·0,·"params",·false,·false,·(Class)PKeyRSA.class,·"params",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); | 77 | ········populateMethod(javaMethod,·0,·"params",·false,·false,·(Class)PKeyRSA.class,·"params",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); |
84 | ········cls.addMethodAtBootTimeOnly("params",·(DynamicMethod)javaMethod); | 78 | ········cls.addMethodAtBootTimeOnly("params",·(DynamicMethod)javaMethod); |
85 | ········javaMethod·=·(JavaMethod)new·PKeyRSA$INVOKER$i$1$0$set_d(cls,·Visibility.PUBLIC,·"d="); | 79 | ········javaMethod·=·(JavaMethod)new·PKeyRSA$INVOKER$i$1$0$set_d(cls,·Visibility.PUBLIC,·"d="); |
86 | ········populateMethod(javaMethod,·1,·"set_d",·false,·false,·(Class)PKeyRSA.class,·"set_d",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); | 80 | ········populateMethod(javaMethod,·1,·"set_d",·false,·false,·(Class)PKeyRSA.class,·"set_d",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); |
87 | ········cls.addMethodAtBootTimeOnly("d=",·(DynamicMethod)javaMethod); | 81 | ········cls.addMethodAtBootTimeOnly("d=",·(DynamicMethod)javaMethod); |
88 | ········javaMethod·=·(JavaMethod)new·PKeyRSA$INVOKER$i$0$0$ | 82 | ········javaMethod·=·(JavaMethod)new·PKeyRSA$INVOKER$i$0$0$to_text(cls,·Visibility.PUBLIC,·"to_text"); |
89 | ········populateMethod(javaMethod,· | 83 | ········populateMethod(javaMethod,·0,·"to_text",·false,·false,·(Class)PKeyRSA.class,·"to_text",·(Class)RubyString.class,·new·Class[0]); |
90 | ········cls.addMethodAtBootTimeOnly(" | 84 | ········cls.addMethodAtBootTimeOnly("to_text",·(DynamicMethod)javaMethod); |
91 | ········javaMethod·=·(JavaMethod)new·PKeyRSA$INVOKER$i$0$0$public_key(cls,·Visibility.PUBLIC,·"public_key"); | 85 | ········javaMethod·=·(JavaMethod)new·PKeyRSA$INVOKER$i$0$0$public_key(cls,·Visibility.PUBLIC,·"public_key"); |
92 | ········populateMethod(javaMethod,·0,·"public_key",·false,·false,·(Class)PKeyRSA.class,·"public_key",·(Class)PKeyRSA.class,·new·Class[0]); | 86 | ········populateMethod(javaMethod,·0,·"public_key",·false,·false,·(Class)PKeyRSA.class,·"public_key",·(Class)PKeyRSA.class,·new·Class[0]); |
93 | ········cls.addMethodAtBootTimeOnly("public_key",·(DynamicMethod)javaMethod); | 87 | ········cls.addMethodAtBootTimeOnly("public_key",·(DynamicMethod)javaMethod); |
88 | ········javaMethod·=·(JavaMethod)new·PKeyRSA$INVOKER$i$0$0$private_encrypt(cls,·Visibility.PUBLIC,·"private_encrypt"); | ||
89 | ········populateMethod(javaMethod,·-1,·"private_encrypt",·false,·false,·(Class)PKeyRSA.class,·"private_encrypt",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject[].class·}); | ||
90 | ········cls.addMethodAtBootTimeOnly("private_encrypt",·(DynamicMethod)javaMethod); | ||
91 | ········javaMethod·=·(JavaMethod)new·PKeyRSA$INVOKER$i$0$0$public_encrypt(cls,·Visibility.PUBLIC,·"public_encrypt"); | ||
92 | ········populateMethod(javaMethod,·-1,·"public_encrypt",·false,·false,·(Class)PKeyRSA.class,·"public_encrypt",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject[].class·}); | ||
93 | ········cls.addMethodAtBootTimeOnly("public_encrypt",·(DynamicMethod)javaMethod); | ||
94 | ········javaMethod·=·(JavaMethod)new·PKeyRSA$INVOKER$i$0$0$get_d(cls,·Visibility.PUBLIC,·"d"); | 94 | ········javaMethod·=·(JavaMethod)new·PKeyRSA$INVOKER$i$0$0$get_d(cls,·Visibility.PUBLIC,·"d"); |
95 | ········populateMethod(javaMethod,·0,·"get_d",·false,·false,·(Class)PKeyRSA.class,·"get_d",·(Class)IRubyObject.class,·new·Class[0]); | 95 | ········populateMethod(javaMethod,·0,·"get_d",·false,·false,·(Class)PKeyRSA.class,·"get_d",·(Class)IRubyObject.class,·new·Class[0]); |
96 | ········cls.addMethodAtBootTimeOnly("d",·(DynamicMethod)javaMethod); | 96 | ········cls.addMethodAtBootTimeOnly("d",·(DynamicMethod)javaMethod); |
97 | ········javaMethod·=·(JavaMethod)new·PKeyRSA$INVOKER$i$0$0$get_dmp1(cls,·Visibility.PUBLIC,·"dmp1"); | 97 | ········javaMethod·=·(JavaMethod)new·PKeyRSA$INVOKER$i$0$0$get_dmp1(cls,·Visibility.PUBLIC,·"dmp1"); |
98 | ········populateMethod(javaMethod,·0,·"get_dmp1",·false,·false,·(Class)PKeyRSA.class,·"get_dmp1",·(Class)IRubyObject.class,·new·Class[0]); | 98 | ········populateMethod(javaMethod,·0,·"get_dmp1",·false,·false,·(Class)PKeyRSA.class,·"get_dmp1",·(Class)IRubyObject.class,·new·Class[0]); |
99 | ········cls.addMethodAtBootTimeOnly("dmp1",·(DynamicMethod)javaMethod); | 99 | ········cls.addMethodAtBootTimeOnly("dmp1",·(DynamicMethod)javaMethod); |
100 | ········javaMethod·=·(JavaMethod)new·PKeyRSA$INVOKER$i$0$0$get_e(cls,·Visibility.PUBLIC,·"e"); | 100 | ········javaMethod·=·(JavaMethod)new·PKeyRSA$INVOKER$i$0$0$get_e(cls,·Visibility.PUBLIC,·"e"); |
Offset 116, 20 lines modified | Offset 116, 20 lines modified | ||
116 | ········cls.defineAlias("export",·"to_pem"); | 116 | ········cls.defineAlias("export",·"to_pem"); |
117 | ········javaMethod·=·(JavaMethod)new·PKeyRSA$INVOKER$i$0$0$get_p(cls,·Visibility.PUBLIC,·"p"); | 117 | ········javaMethod·=·(JavaMethod)new·PKeyRSA$INVOKER$i$0$0$get_p(cls,·Visibility.PUBLIC,·"p"); |
118 | ········populateMethod(javaMethod,·0,·"get_p",·false,·false,·(Class)PKeyRSA.class,·"get_p",·(Class)IRubyObject.class,·new·Class[0]); | 118 | ········populateMethod(javaMethod,·0,·"get_p",·false,·false,·(Class)PKeyRSA.class,·"get_p",·(Class)IRubyObject.class,·new·Class[0]); |
119 | ········cls.addMethodAtBootTimeOnly("p",·(DynamicMethod)javaMethod); | 119 | ········cls.addMethodAtBootTimeOnly("p",·(DynamicMethod)javaMethod); |
120 | ········javaMethod·=·(JavaMethod)new·PKeyRSA$INVOKER$i$0$0$get_q(cls,·Visibility.PUBLIC,·"q"); | 120 | ········javaMethod·=·(JavaMethod)new·PKeyRSA$INVOKER$i$0$0$get_q(cls,·Visibility.PUBLIC,·"q"); |
121 | ········populateMethod(javaMethod,·0,·"get_q",·false,·false,·(Class)PKeyRSA.class,·"get_q",·(Class)IRubyObject.class,·new·Class[0]); | 121 | ········populateMethod(javaMethod,·0,·"get_q",·false,·false,·(Class)PKeyRSA.class,·"get_q",·(Class)IRubyObject.class,·new·Class[0]); |
122 | ········cls.addMethodAtBootTimeOnly("q",·(DynamicMethod)javaMethod); | 122 | ········cls.addMethodAtBootTimeOnly("q",·(DynamicMethod)javaMethod); |
123 | ········javaMethod·=·(JavaMethod)new·PKeyRSA$INVOKER$i$0$0$public_decrypt(cls,·Visibility.PUBLIC,·"public_decrypt"); | ||
124 | ········populateMethod(javaMethod,·-1,·"public_decrypt",·false,·false,·(Class)PKeyRSA.class,·"public_decrypt",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject[].class·}); | ||
125 | ········cls.addMethodAtBootTimeOnly("public_decrypt",·(DynamicMethod)javaMethod); | ||
123 | ········javaMethod·=·(JavaMethod)new·PKeyRSA$INVOKER$i$0$0$to_der(cls,·Visibility.PUBLIC,·"to_der"); | 126 | ········javaMethod·=·(JavaMethod)new·PKeyRSA$INVOKER$i$0$0$to_der(cls,·Visibility.PUBLIC,·"to_der"); |
124 | ········populateMethod(javaMethod,·0,·"to_der",·false,·false,·(Class)PKeyRSA.class,·"to_der",·(Class)RubyString.class,·new·Class[0]); | 127 | ········populateMethod(javaMethod,·0,·"to_der",·false,·false,·(Class)PKeyRSA.class,·"to_der",·(Class)RubyString.class,·new·Class[0]); |
125 | ········cls.addMethodAtBootTimeOnly("to_der",·(DynamicMethod)javaMethod); | 128 | ········cls.addMethodAtBootTimeOnly("to_der",·(DynamicMethod)javaMethod); |
126 | ········javaMethod·=·(JavaMethod)new·PKeyRSA$INVOKER$i$0$0$private_decrypt(cls,·Visibility.PUBLIC,·"private_decrypt"); | ||
127 | ········populateMethod(javaMethod,·-1,·"private_decrypt",·false,·false,·(Class)PKeyRSA.class,·"private_decrypt",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject[].class·}); | ||
128 | ········cls.addMethodAtBootTimeOnly("private_decrypt",·(DynamicMethod)javaMethod); | ||
129 | ········javaMethod·=·(JavaMethod)new·PKeyRSA$INVOKER$i$0$0$initialize(cls,·Visibility.PRIVATE,·"initialize"); | 129 | ········javaMethod·=·(JavaMethod)new·PKeyRSA$INVOKER$i$0$0$initialize(cls,·Visibility.PRIVATE,·"initialize"); |
130 | ········populateMethod(javaMethod,·-1,·"initialize",·false,·false,·(Class)PKeyRSA.class,·"initialize",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject[].class·}); | 130 | ········populateMethod(javaMethod,·-1,·"initialize",·false,·false,·(Class)PKeyRSA.class,·"initialize",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject[].class·}); |
131 | ········cls.addMethodAtBootTimeOnly("initialize",·(DynamicMethod)javaMethod); | 131 | ········cls.addMethodAtBootTimeOnly("initialize",·(DynamicMethod)javaMethod); |
132 | ········javaMethod·=·(JavaMethod)new·PKeyRSA$INVOKER$i$1$0$set_e(cls,·Visibility.PUBLIC,·"e="); | 132 | ········javaMethod·=·(JavaMethod)new·PKeyRSA$INVOKER$i$1$0$set_e(cls,·Visibility.PUBLIC,·"e="); |
133 | ········populateMethod(javaMethod,·1,·"set_e",·false,·false,·(Class)PKeyRSA.class,·"set_e",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); | 133 | ········populateMethod(javaMethod,·1,·"set_e",·false,·false,·(Class)PKeyRSA.class,·"set_e",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); |
134 | ········cls.addMethodAtBootTimeOnly("e=",·(DynamicMethod)javaMethod); | 134 | ········cls.addMethodAtBootTimeOnly("e=",·(DynamicMethod)javaMethod); |
135 | ········javaMethod·=·(JavaMethod)new·PKeyRSA$INVOKER$i$0$0$get_iqmp(cls,·Visibility.PUBLIC,·"iqmp"); | 135 | ········javaMethod·=·(JavaMethod)new·PKeyRSA$INVOKER$i$0$0$get_iqmp(cls,·Visibility.PUBLIC,·"iqmp"); |
Offset 137, 34 lines modified | Offset 137, 34 lines modified | ||
137 | ········cls.addMethodAtBootTimeOnly("iqmp",·(DynamicMethod)javaMethod); | 137 | ········cls.addMethodAtBootTimeOnly("iqmp",·(DynamicMethod)javaMethod); |
138 | ········javaMethod·=·(JavaMethod)new·PKeyRSA$INVOKER$i$0$0$private_p(cls,·Visibility.PUBLIC,·"private?"); | 138 | ········javaMethod·=·(JavaMethod)new·PKeyRSA$INVOKER$i$0$0$private_p(cls,·Visibility.PUBLIC,·"private?"); |
139 | ········populateMethod(javaMethod,·0,·"private_p",·false,·false,·(Class)PKeyRSA.class,·"private_p",·(Class)RubyBoolean.class,·new·Class[0]); | 139 | ········populateMethod(javaMethod,·0,·"private_p",·false,·false,·(Class)PKeyRSA.class,·"private_p",·(Class)RubyBoolean.class,·new·Class[0]); |
140 | ········cls.addMethodAtBootTimeOnly("private?",·(DynamicMethod)javaMethod); | 140 | ········cls.addMethodAtBootTimeOnly("private?",·(DynamicMethod)javaMethod); |
141 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyRSA",·"set_dmq1",·"dmq1="); | 141 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyRSA",·"set_dmq1",·"dmq1="); |
142 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyRSA",·"get_dmq1",·"dmq1"); | 142 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyRSA",·"get_dmq1",·"dmq1"); |
143 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyRSA",·"set_dmp1",·"dmp1="); | 143 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyRSA",·"set_dmp1",·"dmp1="); |
144 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyRSA",·"t | 144 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyRSA",·"private_decrypt",·"private_decrypt"); |
145 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyRSA",·"set_p",·"p="); | 145 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyRSA",·"set_p",·"p="); |
146 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyRSA",·"public_p",·"public?"); | 146 | ········runtime.addBoundMethod("org.jruby.ext.openssl.PKeyRSA",·"public_p",·"public?"); |
Max diff block lines reached; 2257/14988 bytes (15.06%) of diff not shown. |
Offset 8, 35 lines modified | Offset 8, 35 lines modified | ||
8 | import·org.jruby.ext.openssl.Random$INVOKER$s$2$0$random_add; | 8 | import·org.jruby.ext.openssl.Random$INVOKER$s$2$0$random_add; |
9 | import·org.jruby.ext.openssl.Random$INVOKER$s$1$0$random_bytes; | 9 | import·org.jruby.ext.openssl.Random$INVOKER$s$1$0$random_bytes; |
10 | import·org.jruby.ext.openssl.Random$INVOKER$s$1$0$write_random_file; | 10 | import·org.jruby.ext.openssl.Random$INVOKER$s$1$0$write_random_file; |
11 | import·org.jruby.ext.openssl.Random$INVOKER$s$1$0$egd; | 11 | import·org.jruby.ext.openssl.Random$INVOKER$s$1$0$egd; |
12 | import·org.jruby.RubyString; | 12 | import·org.jruby.RubyString; |
13 | import·org.jruby.ext.openssl.Random$INVOKER$s$1$0$pseudo_bytes; | 13 | import·org.jruby.ext.openssl.Random$INVOKER$s$1$0$pseudo_bytes; |
14 | import·org.jruby.ext.openssl.Random$INVOKER$s$1$0$load_random_file; | 14 | import·org.jruby.ext.openssl.Random$INVOKER$s$1$0$load_random_file; |
15 | import·org.jruby.ext.openssl.Random$INVOKER$s$ | 15 | import·org.jruby.ext.openssl.Random$INVOKER$s$0$0$status_p; |
16 | import·org.jruby.internal.runtime.methods.DynamicMethod; | 16 | import·org.jruby.internal.runtime.methods.DynamicMethod; |
17 | import·org.jruby.runtime.ThreadContext; | 17 | import·org.jruby.runtime.ThreadContext; |
18 | import·org.jruby.runtime.builtin.IRubyObject; | 18 | import·org.jruby.runtime.builtin.IRubyObject; |
19 | import·org.jruby.ext.openssl.Random; | 19 | import·org.jruby.ext.openssl.Random; |
20 | import·org.jruby.ext.openssl.Random$INVOKER$s$ | 20 | import·org.jruby.ext.openssl.Random$INVOKER$s$1$0$seed; |
21 | import·org.jruby.runtime.Visibility; | 21 | import·org.jruby.runtime.Visibility; |
22 | import·org.jruby.RubyModule; | 22 | import·org.jruby.RubyModule; |
23 | import·org.jruby.anno.TypePopulator; | 23 | import·org.jruby.anno.TypePopulator; |
24 | public·class·org$jruby$ext$openssl$Random$POPULATOR·extends·TypePopulator | 24 | public·class·org$jruby$ext$openssl$Random$POPULATOR·extends·TypePopulator |
25 | { | 25 | { |
26 | ····public·void·populate(final·RubyModule·cls,·final·Class·clazz)·{ | 26 | ····public·void·populate(final·RubyModule·cls,·final·Class·clazz)·{ |
27 | ········final·RubyClass·singletonClass·=·cls.getSingletonClass(); | 27 | ········final·RubyClass·singletonClass·=·cls.getSingletonClass(); |
28 | ········final·Ruby·runtime·=·cls.getRuntime(); | 28 | ········final·Ruby·runtime·=·cls.getRuntime(); |
29 | ········JavaMethod·javaMethod·=·(JavaMethod)new·Random$INVOKER$s$ | 29 | ········JavaMethod·javaMethod·=·(JavaMethod)new·Random$INVOKER$s$1$0$seed((RubyModule)singletonClass,·Visibility.PUBLIC,·"seed"); |
30 | ········populateMethod(javaMethod,·0,·"status_p",·true,·false,·(Class)Random.class,·"status_p",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); | ||
31 | ········singletonClass.addMethodAtBootTimeOnly("status?",·(DynamicMethod)javaMethod); | ||
32 | ········javaMethod·=·(JavaMethod)new·Random$INVOKER$s$1$0$seed((RubyModule)singletonClass,·Visibility.PUBLIC,·"seed"); | ||
33 | ········populateMethod(javaMethod,·1,·"seed",·true,·false,·(Class)Random.class,·"seed",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class,·IRubyObject.class·}); | 30 | ········populateMethod(javaMethod,·1,·"seed",·true,·false,·(Class)Random.class,·"seed",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class,·IRubyObject.class·}); |
34 | ········singletonClass.addMethodAtBootTimeOnly("seed",·(DynamicMethod)javaMethod); | 31 | ········singletonClass.addMethodAtBootTimeOnly("seed",·(DynamicMethod)javaMethod); |
32 | ········javaMethod·=·(JavaMethod)new·Random$INVOKER$s$0$0$status_p((RubyModule)singletonClass,·Visibility.PUBLIC,·"status?"); | ||
33 | ········populateMethod(javaMethod,·0,·"status_p",·true,·false,·(Class)Random.class,·"status_p",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); | ||
34 | ········singletonClass.addMethodAtBootTimeOnly("status?",·(DynamicMethod)javaMethod); | ||
35 | ········javaMethod·=·(JavaMethod)new·Random$INVOKER$s$1$0$load_random_file((RubyModule)singletonClass,·Visibility.PUBLIC,·"load_random_file"); | 35 | ········javaMethod·=·(JavaMethod)new·Random$INVOKER$s$1$0$load_random_file((RubyModule)singletonClass,·Visibility.PUBLIC,·"load_random_file"); |
36 | ········populateMethod(javaMethod,·1,·"load_random_file",·true,·false,·(Class)Random.class,·"load_random_file",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class,·IRubyObject.class·}); | 36 | ········populateMethod(javaMethod,·1,·"load_random_file",·true,·false,·(Class)Random.class,·"load_random_file",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class,·IRubyObject.class·}); |
37 | ········singletonClass.addMethodAtBootTimeOnly("load_random_file",·(DynamicMethod)javaMethod); | 37 | ········singletonClass.addMethodAtBootTimeOnly("load_random_file",·(DynamicMethod)javaMethod); |
38 | ········javaMethod·=·(JavaMethod)new·Random$INVOKER$s$1$0$pseudo_bytes((RubyModule)singletonClass,·Visibility.PUBLIC,·"pseudo_bytes"); | 38 | ········javaMethod·=·(JavaMethod)new·Random$INVOKER$s$1$0$pseudo_bytes((RubyModule)singletonClass,·Visibility.PUBLIC,·"pseudo_bytes"); |
39 | ········populateMethod(javaMethod,·1,·"pseudo_bytes",·true,·false,·(Class)Random.class,·"pseudo_bytes",·(Class)RubyString.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class,·IRubyObject.class·}); | 39 | ········populateMethod(javaMethod,·1,·"pseudo_bytes",·true,·false,·(Class)Random.class,·"pseudo_bytes",·(Class)RubyString.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class,·IRubyObject.class·}); |
40 | ········singletonClass.addMethodAtBootTimeOnly("pseudo_bytes",·(DynamicMethod)javaMethod); | 40 | ········singletonClass.addMethodAtBootTimeOnly("pseudo_bytes",·(DynamicMethod)javaMethod); |
41 | ········javaMethod·=·(JavaMethod)new·Random$INVOKER$s$1$0$egd((RubyModule)singletonClass,·Visibility.PUBLIC,·"egd"); | 41 | ········javaMethod·=·(JavaMethod)new·Random$INVOKER$s$1$0$egd((RubyModule)singletonClass,·Visibility.PUBLIC,·"egd"); |
Offset 51, 16 lines modified | Offset 51, 16 lines modified | ||
51 | ········javaMethod·=·(JavaMethod)new·Random$INVOKER$s$2$0$random_add((RubyModule)singletonClass,·Visibility.PUBLIC,·"random_add"); | 51 | ········javaMethod·=·(JavaMethod)new·Random$INVOKER$s$2$0$random_add((RubyModule)singletonClass,·Visibility.PUBLIC,·"random_add"); |
52 | ········populateMethod(javaMethod,·2,·"random_add",·true,·false,·(Class)Random.class,·"random_add",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class,·IRubyObject.class,·IRubyObject.class·}); | 52 | ········populateMethod(javaMethod,·2,·"random_add",·true,·false,·(Class)Random.class,·"random_add",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class,·IRubyObject.class,·IRubyObject.class·}); |
53 | ········singletonClass.addMethodAtBootTimeOnly("random_add",·(DynamicMethod)javaMethod); | 53 | ········singletonClass.addMethodAtBootTimeOnly("random_add",·(DynamicMethod)javaMethod); |
54 | ········singletonClass.addMethodAtBootTimeOnly("add",·(DynamicMethod)javaMethod); | 54 | ········singletonClass.addMethodAtBootTimeOnly("add",·(DynamicMethod)javaMethod); |
55 | ········javaMethod·=·(JavaMethod)new·Random$INVOKER$s$2$0$egd_bytes((RubyModule)singletonClass,·Visibility.PUBLIC,·"egd_bytes"); | 55 | ········javaMethod·=·(JavaMethod)new·Random$INVOKER$s$2$0$egd_bytes((RubyModule)singletonClass,·Visibility.PUBLIC,·"egd_bytes"); |
56 | ········populateMethod(javaMethod,·2,·"egd_bytes",·true,·false,·(Class)Random.class,·"egd_bytes",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class,·IRubyObject.class,·IRubyObject.class·}); | 56 | ········populateMethod(javaMethod,·2,·"egd_bytes",·true,·false,·(Class)Random.class,·"egd_bytes",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class,·IRubyObject.class,·IRubyObject.class·}); |
57 | ········singletonClass.addMethodAtBootTimeOnly("egd_bytes",·(DynamicMethod)javaMethod); | 57 | ········singletonClass.addMethodAtBootTimeOnly("egd_bytes",·(DynamicMethod)javaMethod); |
58 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Random",·"status_p",·"status?"); | ||
59 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Random",·"seed",·"seed"); | 58 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Random",·"seed",·"seed"); |
59 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Random",·"status_p",·"status?"); | ||
60 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Random",·"load_random_file",·"load_random_file"); | 60 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Random",·"load_random_file",·"load_random_file"); |
61 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Random",·"pseudo_bytes",·"pseudo_bytes"); | 61 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Random",·"pseudo_bytes",·"pseudo_bytes"); |
62 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Random",·"egd",·"egd"); | 62 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Random",·"egd",·"egd"); |
63 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Random",·"write_random_file",·"write_random_file"); | 63 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Random",·"write_random_file",·"write_random_file"); |
64 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Random",·"random_bytes",·"random_bytes"); | 64 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Random",·"random_bytes",·"random_bytes"); |
65 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Random",·"random_add",·"random_add"); | 65 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Random",·"random_add",·"random_add"); |
66 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Random",·"egd_bytes",·"egd_bytes"); | 66 | ········runtime.addBoundMethod("org.jruby.ext.openssl.Random",·"egd_bytes",·"egd_bytes"); |
Offset 1, 54 lines modified | Offset 1, 54 lines modified | ||
1 | package·org.jruby.gen; | 1 | package·org.jruby.gen; |
2 | import·org.jruby.internal.runtime.methods.JavaMethod; | 2 | import·org.jruby.internal.runtime.methods.JavaMethod; |
3 | import·org.jruby.Ruby; | 3 | import·org.jruby.Ruby; |
4 | import·org.jruby.ext.openssl.SSL$SocketForwarder$INVOKER$s$ | 4 | import·org.jruby.ext.openssl.SSL$SocketForwarder$INVOKER$s$0$0$addr; |
5 | import·org.jruby.ext.openssl.SSL$SocketForwarder$INVOKER$s$0$0$peeraddr; | ||
6 | import·org.jruby.ext.openssl.SSL$SocketForwarder$INVOKER$s$1$0$do_not_reverse_lookup_eq; | 5 | import·org.jruby.ext.openssl.SSL$SocketForwarder$INVOKER$s$1$0$do_not_reverse_lookup_eq; |
7 | import·org.jruby.ext.openssl.SSL$SocketForwarder$INVOKER$s$0$0$closed_p; | ||
8 | import·org.jruby.ext.openssl.SSL$SocketForwarder$INVOKER$s$3$0$setsockopt; | 6 | import·org.jruby.ext.openssl.SSL$SocketForwarder$INVOKER$s$3$0$setsockopt; |
9 | import·org.jruby.ext.openssl.SSL$SocketForwarder$INVOKER$s$0$0$ | 7 | import·org.jruby.ext.openssl.SSL$SocketForwarder$INVOKER$s$0$0$closed_p; |
8 | import·org.jruby.ext.openssl.SSL$SocketForwarder$INVOKER$s$0$0$fcntl; | ||
9 | import·org.jruby.ext.openssl.SSL$SocketForwarder$INVOKER$s$2$0$getsockopt; | ||
10 | import·org.jruby.internal.runtime.methods.DynamicMethod; | 10 | import·org.jruby.internal.runtime.methods.DynamicMethod; |
11 | import·org.jruby.runtime.ThreadContext; | 11 | import·org.jruby.runtime.ThreadContext; |
12 | import·org.jruby.runtime.builtin.IRubyObject; | 12 | import·org.jruby.runtime.builtin.IRubyObject; |
13 | import·org.jruby.ext.openssl.SSL; | 13 | import·org.jruby.ext.openssl.SSL; |
14 | import·org.jruby.ext.openssl.SSL$SocketForwarder$INVOKER$s$0$0$ | 14 | import·org.jruby.ext.openssl.SSL$SocketForwarder$INVOKER$s$0$0$peeraddr; |
15 | import·org.jruby.runtime.Visibility; | 15 | import·org.jruby.runtime.Visibility; |
16 | import·org.jruby.RubyModule; | 16 | import·org.jruby.RubyModule; |
17 | import·org.jruby.anno.TypePopulator; | 17 | import·org.jruby.anno.TypePopulator; |
18 | public·class·org$jruby$ext$openssl$SSL$SocketForwarder$POPULATOR·extends·TypePopulator | 18 | public·class·org$jruby$ext$openssl$SSL$SocketForwarder$POPULATOR·extends·TypePopulator |
19 | { | 19 | { |
20 | ····public·void·populate(final·RubyModule·cls,·final·Class·clazz)·{ | 20 | ····public·void·populate(final·RubyModule·cls,·final·Class·clazz)·{ |
21 | ········final·Ruby·runtime·=·cls.getRuntime(); | 21 | ········final·Ruby·runtime·=·cls.getRuntime(); |
22 | ········JavaMethod·javaMethod·=·(JavaMethod)new·SSL$SocketForwarder$INVOKER$s$0$0$ | 22 | ········JavaMethod·javaMethod·=·(JavaMethod)new·SSL$SocketForwarder$INVOKER$s$0$0$peeraddr(cls,·Visibility.PUBLIC,·"peeraddr"); |
23 | ········populateMethod(javaMethod,·0,·"peeraddr",·true,·false,·(Class)SSL.SocketForwarder.class,·"peeraddr",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); | ||
24 | ········cls.addMethodAtBootTimeOnly("peeraddr",·(DynamicMethod)javaMethod); | ||
25 | ········javaMethod·=·(JavaMethod)new·SSL$SocketForwarder$INVOKER$s$2$0$getsockopt(cls,·Visibility.PUBLIC,·"getsockopt"); | ||
26 | ········populateMethod(javaMethod,·2,·"getsockopt",·true,·false,·(Class)SSL.SocketForwarder.class,·"getsockopt",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class,·IRubyObject.class,·IRubyObject.class·}); | ||
27 | ········cls.addMethodAtBootTimeOnly("getsockopt",·(DynamicMethod)javaMethod); | ||
28 | ········javaMethod·=·(JavaMethod)new·SSL$SocketForwarder$INVOKER$s$0$0$fcntl(cls,·Visibility.PUBLIC,·"fcntl"); | ||
23 | ········populateMethod(javaMethod,·-1,·"fcntl",·true,·false,·(Class)SSL.SocketForwarder.class,·"fcntl",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class,·IRubyObject[].class·}); | 29 | ········populateMethod(javaMethod,·-1,·"fcntl",·true,·false,·(Class)SSL.SocketForwarder.class,·"fcntl",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class,·IRubyObject[].class·}); |
24 | ········cls.addMethodAtBootTimeOnly("fcntl",·(DynamicMethod)javaMethod); | 30 | ········cls.addMethodAtBootTimeOnly("fcntl",·(DynamicMethod)javaMethod); |
25 | ········javaMethod·=·(JavaMethod)new·SSL$SocketForwarder$INVOKER$s$0$0$addr(cls,·Visibility.PUBLIC,·"addr"); | ||
26 | ········populateMethod(javaMethod,·0,·"addr",·true,·false,·(Class)SSL.SocketForwarder.class,·"addr",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); | ||
27 | ········cls.addMethodAtBootTimeOnly("addr",·(DynamicMethod)javaMethod); | ||
28 | ········javaMethod·=·(JavaMethod)new·SSL$SocketForwarder$INVOKER$s$3$0$setsockopt(cls,·Visibility.PUBLIC,·"setsockopt"); | ||
29 | ········populateMethod(javaMethod,·3,·"setsockopt",·true,·false,·(Class)SSL.SocketForwarder.class,·"setsockopt",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class,·IRubyObject.class,·IRubyObject.class,·IRubyObject.class·}); | ||
30 | ········cls.addMethodAtBootTimeOnly("setsockopt",·(DynamicMethod)javaMethod); | ||
31 | ········javaMethod·=·(JavaMethod)new·SSL$SocketForwarder$INVOKER$s$0$0$closed_p(cls,·Visibility.PUBLIC,·"closed?"); | 31 | ········javaMethod·=·(JavaMethod)new·SSL$SocketForwarder$INVOKER$s$0$0$closed_p(cls,·Visibility.PUBLIC,·"closed?"); |
32 | ········populateMethod(javaMethod,·0,·"closed_p",·true,·false,·(Class)SSL.SocketForwarder.class,·"closed_p",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); | 32 | ········populateMethod(javaMethod,·0,·"closed_p",·true,·false,·(Class)SSL.SocketForwarder.class,·"closed_p",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); |
33 | ········cls.addMethodAtBootTimeOnly("closed?",·(DynamicMethod)javaMethod); | 33 | ········cls.addMethodAtBootTimeOnly("closed?",·(DynamicMethod)javaMethod); |
34 | ········javaMethod·=·(JavaMethod)new·SSL$SocketForwarder$INVOKER$s$3$0$setsockopt(cls,·Visibility.PUBLIC,·"setsockopt"); | ||
35 | ········populateMethod(javaMethod,·3,·"setsockopt",·true,·false,·(Class)SSL.SocketForwarder.class,·"setsockopt",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class,·IRubyObject.class,·IRubyObject.class,·IRubyObject.class·}); | ||
36 | ········cls.addMethodAtBootTimeOnly("setsockopt",·(DynamicMethod)javaMethod); | ||
34 | ········javaMethod·=·(JavaMethod)new·SSL$SocketForwarder$INVOKER$s$1$0$do_not_reverse_lookup_eq(cls,·Visibility.PUBLIC,·"do_not_reverse_lookup="); | 37 | ········javaMethod·=·(JavaMethod)new·SSL$SocketForwarder$INVOKER$s$1$0$do_not_reverse_lookup_eq(cls,·Visibility.PUBLIC,·"do_not_reverse_lookup="); |
35 | ········populateMethod(javaMethod,·1,·"do_not_reverse_lookup_eq",·true,·false,·(Class)SSL.SocketForwarder.class,·"do_not_reverse_lookup_eq",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class,·IRubyObject.class·}); | 38 | ········populateMethod(javaMethod,·1,·"do_not_reverse_lookup_eq",·true,·false,·(Class)SSL.SocketForwarder.class,·"do_not_reverse_lookup_eq",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class,·IRubyObject.class·}); |
36 | ········cls.addMethodAtBootTimeOnly("do_not_reverse_lookup=",·(DynamicMethod)javaMethod); | 39 | ········cls.addMethodAtBootTimeOnly("do_not_reverse_lookup=",·(DynamicMethod)javaMethod); |
37 | ········javaMethod·=·(JavaMethod)new·SSL$SocketForwarder$INVOKER$s$0$0$ | 40 | ········javaMethod·=·(JavaMethod)new·SSL$SocketForwarder$INVOKER$s$0$0$addr(cls,·Visibility.PUBLIC,·"addr"); |
38 | ········populateMethod(javaMethod,·0,·" | 41 | ········populateMethod(javaMethod,·0,·"addr",·true,·false,·(Class)SSL.SocketForwarder.class,·"addr",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); |
39 | ········cls.addMethodAtBootTimeOnly(" | 42 | ········cls.addMethodAtBootTimeOnly("addr",·(DynamicMethod)javaMethod); |
40 | ········ | 43 | ········runtime.addBoundMethod("org.jruby.ext.openssl.SSL.SocketForwarder",·"peeraddr",·"peeraddr"); |
41 | ········ | 44 | ········runtime.addBoundMethod("org.jruby.ext.openssl.SSL.SocketForwarder",·"getsockopt",·"getsockopt"); |
42 | ········cls.addMethodAtBootTimeOnly("getsockopt",·(DynamicMethod)javaMethod); | ||
43 | ········runtime.addBoundMethod("org.jruby.ext.openssl.SSL.SocketForwarder",·"fcntl",·"fcntl"); | 45 | ········runtime.addBoundMethod("org.jruby.ext.openssl.SSL.SocketForwarder",·"fcntl",·"fcntl"); |
44 | ········runtime.addBoundMethod("org.jruby.ext.openssl.SSL.SocketForwarder",·"addr",·"addr"); | ||
45 | ········runtime.addBoundMethod("org.jruby.ext.openssl.SSL.SocketForwarder",·"setsockopt",·"setsockopt"); | ||
46 | ········runtime.addBoundMethod("org.jruby.ext.openssl.SSL.SocketForwarder",·"closed_p",·"closed?"); | 46 | ········runtime.addBoundMethod("org.jruby.ext.openssl.SSL.SocketForwarder",·"closed_p",·"closed?"); |
47 | ········runtime.addBoundMethod("org.jruby.ext.openssl.SSL.SocketForwarder",·"setsockopt",·"setsockopt"); | ||
47 | ········runtime.addBoundMethod("org.jruby.ext.openssl.SSL.SocketForwarder",·"do_not_reverse_lookup_eq",·"do_not_reverse_lookup="); | 48 | ········runtime.addBoundMethod("org.jruby.ext.openssl.SSL.SocketForwarder",·"do_not_reverse_lookup_eq",·"do_not_reverse_lookup="); |
48 | ········runtime.addBoundMethod("org.jruby.ext.openssl.SSL.SocketForwarder",·" | 49 | ········runtime.addBoundMethod("org.jruby.ext.openssl.SSL.SocketForwarder",·"addr",·"addr"); |
49 | ········runtime.addBoundMethod("org.jruby.ext.openssl.SSL.SocketForwarder",·"getsockopt",·"getsockopt"); | ||
50 | ····} | 50 | ····} |
51 | } | 51 | } |
Offset 2, 24 lines modified | Offset 2, 24 lines modified | ||
2 | package·org.jruby.gen; | 2 | package·org.jruby.gen; |
3 | import·org.jruby.internal.runtime.methods.JavaMethod; | 3 | import·org.jruby.internal.runtime.methods.JavaMethod; |
4 | import·org.jruby.Ruby; | 4 | import·org.jruby.Ruby; |
5 | import·org.jruby.ext.openssl.SSLContext$INVOKER$i$1$0$set_session_cache_mode; | 5 | import·org.jruby.ext.openssl.SSLContext$INVOKER$i$1$0$set_session_cache_mode; |
6 | import·org.jruby.ext.openssl.SSLContext$INVOKER$i$1$0$set_ciphers; | 6 | import·org.jruby.ext.openssl.SSLContext$INVOKER$i$1$0$set_ciphers; |
7 | import·org.jruby.ext.openssl.SSLContext$INVOKER$i$1$0$set_security_level; | 7 | import·org.jruby.ext.openssl.SSLContext$INVOKER$i$1$0$set_security_level; |
8 | import·org.jruby.RubyArray; | ||
9 | import·org.jruby.ext.openssl.SSLContext$INVOKER$i$0$0$ciphers; | ||
8 | import·org.jruby.ext.openssl.SSLContext$INVOKER$i$0$0$session_cache_size; | 10 | import·org.jruby.ext.openssl.SSLContext$INVOKER$i$0$0$session_cache_size; |
9 | import·org.jruby.ext.openssl.SSLContext$INVOKER$i$0$1$set_params; | ||
10 | import·org.jruby.RubyHash; | 11 | import·org.jruby.RubyHash; |
11 | import·org.jruby.ext.openssl.SSLContext$INVOKER$i$0$0$session_cache_stats; | 12 | import·org.jruby.ext.openssl.SSLContext$INVOKER$i$0$0$session_cache_stats; |
12 | import·org.jruby.ext.openssl.SSLContext$INVOKER$i$1$0$set_session_cache_size; | 13 | import·org.jruby.ext.openssl.SSLContext$INVOKER$i$1$0$set_session_cache_size; |
13 | import·org.jruby.ext.openssl.SSLContext$INVOKER$i$0$ | 14 | import·org.jruby.ext.openssl.SSLContext$INVOKER$i$0$1$set_params; |
14 | import·org.jruby.ext.openssl.SSLContext$INVOKER$i$0$1$initialize; | 15 | import·org.jruby.ext.openssl.SSLContext$INVOKER$i$0$1$initialize; |
15 | import·org.jruby.runtime.ThreadContext; | 16 | import·org.jruby.runtime.ThreadContext; |
16 | import·org.jruby.R | 17 | import·org.jruby.ext.openssl.SSLContext$INVOKER$i$0$0$setup; |
17 | import·org.jruby.ext.openssl.SSLContext$INVOKER$i$0$0$ciphers; | ||
18 | import·org.jruby.ext.openssl.SSLContext$INVOKER$i$0$0$session_cache_mode; | 18 | import·org.jruby.ext.openssl.SSLContext$INVOKER$i$0$0$session_cache_mode; |
19 | import·org.jruby.internal.runtime.methods.DynamicMethod; | 19 | import·org.jruby.internal.runtime.methods.DynamicMethod; |
20 | import·org.jruby.runtime.builtin.IRubyObject; | 20 | import·org.jruby.runtime.builtin.IRubyObject; |
21 | import·org.jruby.ext.openssl.SSLContext; | 21 | import·org.jruby.ext.openssl.SSLContext; |
22 | import·org.jruby.ext.openssl.SSLContext$INVOKER$i$1$0$set_ssl_version; | 22 | import·org.jruby.ext.openssl.SSLContext$INVOKER$i$1$0$set_ssl_version; |
23 | import·org.jruby.runtime.Visibility; | 23 | import·org.jruby.runtime.Visibility; |
24 | import·org.jruby.RubyModule; | 24 | import·org.jruby.RubyModule; |
Offset 31, 51 lines modified | Offset 31, 51 lines modified | ||
31 | ········final·Ruby·runtime·=·cls.getRuntime(); | 31 | ········final·Ruby·runtime·=·cls.getRuntime(); |
32 | ········JavaMethod·javaMethod·=·(JavaMethod)new·SSLContext$INVOKER$i$1$0$set_ssl_version(cls,·Visibility.PUBLIC,·"ssl_version="); | 32 | ········JavaMethod·javaMethod·=·(JavaMethod)new·SSLContext$INVOKER$i$1$0$set_ssl_version(cls,·Visibility.PUBLIC,·"ssl_version="); |
33 | ········populateMethod(javaMethod,·1,·"set_ssl_version",·false,·false,·(Class)SSLContext.class,·"set_ssl_version",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); | 33 | ········populateMethod(javaMethod,·1,·"set_ssl_version",·false,·false,·(Class)SSLContext.class,·"set_ssl_version",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); |
34 | ········cls.addMethodAtBootTimeOnly("ssl_version=",·(DynamicMethod)javaMethod); | 34 | ········cls.addMethodAtBootTimeOnly("ssl_version=",·(DynamicMethod)javaMethod); |
35 | ········javaMethod·=·(JavaMethod)new·SSLContext$INVOKER$i$0$0$session_cache_mode(cls,·Visibility.PUBLIC,·"session_cache_mode"); | 35 | ········javaMethod·=·(JavaMethod)new·SSLContext$INVOKER$i$0$0$session_cache_mode(cls,·Visibility.PUBLIC,·"session_cache_mode"); |
36 | ········populateMethod(javaMethod,·0,·"session_cache_mode",·false,·false,·(Class)SSLContext.class,·"session_cache_mode",·(Class)IRubyObject.class,·new·Class[0]); | 36 | ········populateMethod(javaMethod,·0,·"session_cache_mode",·false,·false,·(Class)SSLContext.class,·"session_cache_mode",·(Class)IRubyObject.class,·new·Class[0]); |
37 | ········cls.addMethodAtBootTimeOnly("session_cache_mode",·(DynamicMethod)javaMethod); | 37 | ········cls.addMethodAtBootTimeOnly("session_cache_mode",·(DynamicMethod)javaMethod); |
38 | ········javaMethod·=·(JavaMethod)new·SSLContext$INVOKER$i$0$0$ciphers(cls,·Visibility.PUBLIC,·"ciphers"); | ||
39 | ········populateMethod(javaMethod,·0,·"ciphers",·false,·false,·(Class)SSLContext.class,·"ciphers",·(Class)RubyArray.class,·new·Class[]·{·ThreadContext.class·}); | ||
40 | ········cls.addMethodAtBootTimeOnly("ciphers",·(DynamicMethod)javaMethod); | ||
41 | ········javaMethod·=·(JavaMethod)new·SSLContext$INVOKER$i$0$1$initialize(cls,·Visibility.PRIVATE,·"initialize"); | ||
42 | ········populateMethod(javaMethod,·-1,·"initialize",·false,·false,·(Class)SSLContext.class,·"initialize",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject[].class·}); | ||
43 | ········cls.addMethodAtBootTimeOnly("initialize",·(DynamicMethod)javaMethod); | ||
44 | ········javaMethod·=·(JavaMethod)new·SSLContext$INVOKER$i$0$0$setup(cls,·Visibility.PUBLIC,·"setup"); | 38 | ········javaMethod·=·(JavaMethod)new·SSLContext$INVOKER$i$0$0$setup(cls,·Visibility.PUBLIC,·"setup"); |
45 | ········populateMethod(javaMethod,·0,·"setup",·false,·false,·(Class)SSLContext.class,·"setup",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); | 39 | ········populateMethod(javaMethod,·0,·"setup",·false,·false,·(Class)SSLContext.class,·"setup",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); |
46 | ········cls.addMethodAtBootTimeOnly("setup",·(DynamicMethod)javaMethod); | 40 | ········cls.addMethodAtBootTimeOnly("setup",·(DynamicMethod)javaMethod); |
41 | ········javaMethod·=·(JavaMethod)new·SSLContext$INVOKER$i$0$1$initialize(cls,·Visibility.PRIVATE,·"initialize"); | ||
42 | ········populateMethod(javaMethod,·-1,·"initialize",·false,·false,·(Class)SSLContext.class,·"initialize",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject[].class·}); | ||
43 | ········cls.addMethodAtBootTimeOnly("initialize",·(DynamicMethod)javaMethod); | ||
44 | ········javaMethod·=·(JavaMethod)new·SSLContext$INVOKER$i$0$1$set_params(cls,·Visibility.PUBLIC,·"set_params"); | ||
45 | ········populateMethod(javaMethod,·-1,·"set_params",·false,·false,·(Class)SSLContext.class,·"set_params",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject[].class·}); | ||
46 | ········cls.addMethodAtBootTimeOnly("set_params",·(DynamicMethod)javaMethod); | ||
47 | ········javaMethod·=·(JavaMethod)new·SSLContext$INVOKER$i$1$0$set_session_cache_size(cls,·Visibility.PUBLIC,·"session_cache_size="); | 47 | ········javaMethod·=·(JavaMethod)new·SSLContext$INVOKER$i$1$0$set_session_cache_size(cls,·Visibility.PUBLIC,·"session_cache_size="); |
48 | ········populateMethod(javaMethod,·1,·"set_session_cache_size",·false,·false,·(Class)SSLContext.class,·"set_session_cache_size",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); | 48 | ········populateMethod(javaMethod,·1,·"set_session_cache_size",·false,·false,·(Class)SSLContext.class,·"set_session_cache_size",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); |
49 | ········cls.addMethodAtBootTimeOnly("session_cache_size=",·(DynamicMethod)javaMethod); | 49 | ········cls.addMethodAtBootTimeOnly("session_cache_size=",·(DynamicMethod)javaMethod); |
50 | ········javaMethod·=·(JavaMethod)new·SSLContext$INVOKER$i$0$0$session_cache_stats(cls,·Visibility.PUBLIC,·"session_cache_stats"); | 50 | ········javaMethod·=·(JavaMethod)new·SSLContext$INVOKER$i$0$0$session_cache_stats(cls,·Visibility.PUBLIC,·"session_cache_stats"); |
51 | ········populateMethod(javaMethod,·0,·"session_cache_stats",·false,·false,·(Class)SSLContext.class,·"session_cache_stats",·(Class)RubyHash.class,·new·Class[]·{·ThreadContext.class·}); | 51 | ········populateMethod(javaMethod,·0,·"session_cache_stats",·false,·false,·(Class)SSLContext.class,·"session_cache_stats",·(Class)RubyHash.class,·new·Class[]·{·ThreadContext.class·}); |
52 | ········cls.addMethodAtBootTimeOnly("session_cache_stats",·(DynamicMethod)javaMethod); | 52 | ········cls.addMethodAtBootTimeOnly("session_cache_stats",·(DynamicMethod)javaMethod); |
53 | ········javaMethod·=·(JavaMethod)new·SSLContext$INVOKER$i$0$1$set_params(cls,·Visibility.PUBLIC,·"set_params"); | ||
54 | ········populateMethod(javaMethod,·-1,·"set_params",·false,·false,·(Class)SSLContext.class,·"set_params",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject[].class·}); | ||
55 | ········cls.addMethodAtBootTimeOnly("set_params",·(DynamicMethod)javaMethod); | ||
56 | ········javaMethod·=·(JavaMethod)new·SSLContext$INVOKER$i$0$0$session_cache_size(cls,·Visibility.PUBLIC,·"session_cache_size"); | 53 | ········javaMethod·=·(JavaMethod)new·SSLContext$INVOKER$i$0$0$session_cache_size(cls,·Visibility.PUBLIC,·"session_cache_size"); |
57 | ········populateMethod(javaMethod,·0,·"session_cache_size",·false,·false,·(Class)SSLContext.class,·"session_cache_size",·(Class)IRubyObject.class,·new·Class[0]); | 54 | ········populateMethod(javaMethod,·0,·"session_cache_size",·false,·false,·(Class)SSLContext.class,·"session_cache_size",·(Class)IRubyObject.class,·new·Class[0]); |
58 | ········cls.addMethodAtBootTimeOnly("session_cache_size",·(DynamicMethod)javaMethod); | 55 | ········cls.addMethodAtBootTimeOnly("session_cache_size",·(DynamicMethod)javaMethod); |
56 | ········javaMethod·=·(JavaMethod)new·SSLContext$INVOKER$i$0$0$ciphers(cls,·Visibility.PUBLIC,·"ciphers"); | ||
57 | ········populateMethod(javaMethod,·0,·"ciphers",·false,·false,·(Class)SSLContext.class,·"ciphers",·(Class)RubyArray.class,·new·Class[]·{·ThreadContext.class·}); | ||
58 | ········cls.addMethodAtBootTimeOnly("ciphers",·(DynamicMethod)javaMethod); | ||
59 | ········javaMethod·=·(JavaMethod)new·SSLContext$INVOKER$i$1$0$set_security_level(cls,·Visibility.PUBLIC,·"security_level="); | 59 | ········javaMethod·=·(JavaMethod)new·SSLContext$INVOKER$i$1$0$set_security_level(cls,·Visibility.PUBLIC,·"security_level="); |
60 | ········populateMethod(javaMethod,·1,·"set_security_level",·false,·false,·(Class)SSLContext.class,·"set_security_level",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); | 60 | ········populateMethod(javaMethod,·1,·"set_security_level",·false,·false,·(Class)SSLContext.class,·"set_security_level",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); |
61 | ········cls.addMethodAtBootTimeOnly("security_level=",·(DynamicMethod)javaMethod); | 61 | ········cls.addMethodAtBootTimeOnly("security_level=",·(DynamicMethod)javaMethod); |
62 | ········javaMethod·=·(JavaMethod)new·SSLContext$INVOKER$i$1$0$set_ciphers(cls,·Visibility.PUBLIC,·"ciphers="); | 62 | ········javaMethod·=·(JavaMethod)new·SSLContext$INVOKER$i$1$0$set_ciphers(cls,·Visibility.PUBLIC,·"ciphers="); |
63 | ········populateMethod(javaMethod,·1,·"set_ciphers",·false,·false,·(Class)SSLContext.class,·"set_ciphers",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); | 63 | ········populateMethod(javaMethod,·1,·"set_ciphers",·false,·false,·(Class)SSLContext.class,·"set_ciphers",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); |
64 | ········cls.addMethodAtBootTimeOnly("ciphers=",·(DynamicMethod)javaMethod); | 64 | ········cls.addMethodAtBootTimeOnly("ciphers=",·(DynamicMethod)javaMethod); |
65 | ········javaMethod·=·(JavaMethod)new·SSLContext$INVOKER$i$1$0$set_session_cache_mode(cls,·Visibility.PUBLIC,·"session_cache_mode="); | 65 | ········javaMethod·=·(JavaMethod)new·SSLContext$INVOKER$i$1$0$set_session_cache_mode(cls,·Visibility.PUBLIC,·"session_cache_mode="); |
66 | ········populateMethod(javaMethod,·1,·"set_session_cache_mode",·false,·false,·(Class)SSLContext.class,·"set_session_cache_mode",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); | 66 | ········populateMethod(javaMethod,·1,·"set_session_cache_mode",·false,·false,·(Class)SSLContext.class,·"set_session_cache_mode",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); |
67 | ········cls.addMethodAtBootTimeOnly("session_cache_mode=",·(DynamicMethod)javaMethod); | 67 | ········cls.addMethodAtBootTimeOnly("session_cache_mode=",·(DynamicMethod)javaMethod); |
68 | ········runtime.addBoundMethod("org.jruby.ext.openssl.SSLContext",·"set_ssl_version",·"ssl_version="); | 68 | ········runtime.addBoundMethod("org.jruby.ext.openssl.SSLContext",·"set_ssl_version",·"ssl_version="); |
69 | ········runtime.addBoundMethod("org.jruby.ext.openssl.SSLContext",·"session_cache_mode",·"session_cache_mode"); | 69 | ········runtime.addBoundMethod("org.jruby.ext.openssl.SSLContext",·"session_cache_mode",·"session_cache_mode"); |
70 | ········runtime.addBoundMethod("org.jruby.ext.openssl.SSLContext",·"ciphers",·"ciphers"); | ||
71 | ········runtime.addBoundMethod("org.jruby.ext.openssl.SSLContext",·"initialize",·"initialize"); | ||
72 | ········runtime.addBoundMethod("org.jruby.ext.openssl.SSLContext",·"setup",·"setup"); | 70 | ········runtime.addBoundMethod("org.jruby.ext.openssl.SSLContext",·"setup",·"setup"); |
71 | ········runtime.addBoundMethod("org.jruby.ext.openssl.SSLContext",·"initialize",·"initialize"); | ||
72 | ········runtime.addBoundMethod("org.jruby.ext.openssl.SSLContext",·"set_params",·"set_params"); | ||
73 | ········runtime.addBoundMethod("org.jruby.ext.openssl.SSLContext",·"set_session_cache_size",·"session_cache_size="); | 73 | ········runtime.addBoundMethod("org.jruby.ext.openssl.SSLContext",·"set_session_cache_size",·"session_cache_size="); |
74 | ········runtime.addBoundMethod("org.jruby.ext.openssl.SSLContext",·"session_cache_stats",·"session_cache_stats"); | 74 | ········runtime.addBoundMethod("org.jruby.ext.openssl.SSLContext",·"session_cache_stats",·"session_cache_stats"); |
75 | ········runtime.addBoundMethod("org.jruby.ext.openssl.SSLContext",·"set_params",·"set_params"); | ||
76 | ········runtime.addBoundMethod("org.jruby.ext.openssl.SSLContext",·"session_cache_size",·"session_cache_size"); | 75 | ········runtime.addBoundMethod("org.jruby.ext.openssl.SSLContext",·"session_cache_size",·"session_cache_size"); |
76 | ········runtime.addBoundMethod("org.jruby.ext.openssl.SSLContext",·"ciphers",·"ciphers"); | ||
77 | ········runtime.addBoundMethod("org.jruby.ext.openssl.SSLContext",·"set_security_level",·"security_level="); | 77 | ········runtime.addBoundMethod("org.jruby.ext.openssl.SSLContext",·"set_security_level",·"security_level="); |
78 | ········runtime.addBoundMethod("org.jruby.ext.openssl.SSLContext",·"set_ciphers",·"ciphers="); | 78 | ········runtime.addBoundMethod("org.jruby.ext.openssl.SSLContext",·"set_ciphers",·"ciphers="); |
79 | ········runtime.addBoundMethod("org.jruby.ext.openssl.SSLContext",·"set_session_cache_mode",·"session_cache_mode="); | 79 | ········runtime.addBoundMethod("org.jruby.ext.openssl.SSLContext",·"set_session_cache_mode",·"session_cache_mode="); |
80 | ····} | 80 | ····} |
81 | } | 81 | } |
Offset 1, 152 lines modified | Offset 1, 152 lines modified | ||
1 | package·org.jruby.gen; | 1 | package·org.jruby.gen; |
2 | import·org.jruby.internal.runtime.methods.JavaMethod; | 2 | import·org.jruby.internal.runtime.methods.JavaMethod; |
3 | import·org.jruby.Ruby; | 3 | import·org.jruby.Ruby; |
4 | import·org.jruby.ext.openssl.SSLSocket$INVOKER$i$0$0$peer_cert_chain; | ||
5 | import·org.jruby.ext.openssl.SSLSocket$INVOKER$i$0$0$session_reused_p; | 4 | import·org.jruby.ext.openssl.SSLSocket$INVOKER$i$0$0$session_reused_p; |
6 | import·org.jruby.ext.openssl.SSLSocket$INVOKER$i$0$0$initialize; | 5 | import·org.jruby.ext.openssl.SSLSocket$INVOKER$i$0$0$initialize; |
6 | import·org.jruby.ext.openssl.SSLSocket$INVOKER$i$0$0$ssl_version; | ||
7 | import·org.jruby.ext.openssl.SSLSocket$INVOKER$i$0$0$sysclose; | ||
8 | import·org.jruby.ext.openssl.SSLSocket$INVOKER$i$0$0$pending; | ||
9 | import·org.jruby.ext.openssl.SSLSocket$INVOKER$i$0$0$peer_cert_chain; | ||
10 | import·org.jruby.ext.openssl.SSLSocket$INVOKER$i$0$0$sync; | ||
7 | import·org.jruby.ext.openssl.SSLSocket$INVOKER$i$0$0$npn_protocol; | 11 | import·org.jruby.ext.openssl.SSLSocket$INVOKER$i$0$0$npn_protocol; |
12 | import·org.jruby.RubyIO; | ||
13 | import·org.jruby.ext.openssl.SSLSocket$INVOKER$i$0$0$io; | ||
8 | import·org.jruby.ext.openssl.SSLSocket$INVOKER$i$connect_nonblock; | 14 | import·org.jruby.ext.openssl.SSLSocket$INVOKER$i$connect_nonblock; |
15 | import·org.jruby.ext.openssl.SSLSocket$INVOKER$i$0$0$state; | ||
9 | import·org.jruby.ext.openssl.SSLSocket$INVOKER$i$accept_nonblock; | 16 | import·org.jruby.ext.openssl.SSLSocket$INVOKER$i$accept_nonblock; |
10 | import·org.jruby.ext.openssl.SSLSocket$INVOKER$i$0$0$sync; | ||
11 | import·org.jruby.ext.openssl.SSLSocket$INVOKER$i$sysread_nonblock; | 17 | import·org.jruby.ext.openssl.SSLSocket$INVOKER$i$sysread_nonblock; |
12 | import·org.jruby.ext.openssl.SSLSocket$INVOKER$i$0$0$verify_result; | 18 | import·org.jruby.ext.openssl.SSLSocket$INVOKER$i$0$0$verify_result; |
13 | import·org.jruby.RubyIO; | ||
14 | import·org.jruby.ext.openssl.SSLSocket$INVOKER$i$0$0$io; | ||
15 | import·org.jruby.ext.openssl.SSLSocket$INVOKER$i$sysread; | ||
16 | import·org.jruby.ext.openssl.SSLSocket$INVOKER$i$0$0$peer_cert; | ||
17 | import·org.jruby.ext.openssl.SSLSocket$INVOKER$i$0$0$connect; | ||
18 | import·org.jruby.ext.openssl.SSLSocket$INVOKER$i$0$0$state; | ||
19 | import·org.jruby.ext.openssl.SSLSocket$INVOKER$i$0$0$accept; | ||
20 | import·org.jruby.ext.openssl.SSLSocket$INVOKER$i$syswrite_nonblock; | ||
21 | import·org.jruby.ext.openssl.SSLSocket$INVOKER$i$1$0$set_session; | 19 | import·org.jruby.ext.openssl.SSLSocket$INVOKER$i$1$0$set_session; |
22 | import·org.jruby.ext.openssl.SSLContext; | 20 | import·org.jruby.ext.openssl.SSLContext; |
23 | import·org.jruby.ext.openssl.SSLSocket$INVOKER$i$0$0$context; | 21 | import·org.jruby.ext.openssl.SSLSocket$INVOKER$i$0$0$context; |
24 | import·org.jruby.ext.openssl.SSLSocket$INVOKER$i$0$0$cipher; | 22 | import·org.jruby.ext.openssl.SSLSocket$INVOKER$i$0$0$cipher; |
25 | import·org.jruby.ext.openssl.SSLSocket$INVOKER$i$ | 23 | import·org.jruby.ext.openssl.SSLSocket$INVOKER$i$sysread; |
24 | import·org.jruby.ext.openssl.SSLSocket$INVOKER$i$0$0$peer_cert; | ||
25 | import·org.jruby.ext.openssl.SSLSocket$INVOKER$i$0$0$connect; | ||
26 | import·org.jruby.ext.openssl.SSLSocket$INVOKER$i$1$0$set_sync; | 26 | import·org.jruby.ext.openssl.SSLSocket$INVOKER$i$1$0$set_sync; |
27 | import·org.jruby.ext.openssl.SSLSocket$INVOKER$i$0$0$ | 27 | import·org.jruby.ext.openssl.SSLSocket$INVOKER$i$0$0$accept; |
28 | import·org.jruby.ext.openssl.SSLSocket$INVOKER$i$syswrite_nonblock; | ||
28 | import·org.jruby.ext.openssl.SSLSocket$INVOKER$i$0$0$session; | 29 | import·org.jruby.ext.openssl.SSLSocket$INVOKER$i$0$0$session; |
29 | import·org.jruby.runtime.ThreadContext; | ||
30 | import·org.jruby.ext.openssl.SSLSocket$INVOKER$i$0$0$cert; | 30 | import·org.jruby.ext.openssl.SSLSocket$INVOKER$i$0$0$cert; |
31 | import·org.jruby.ext.openssl.SSLSocket$INVOKER$i$0$0$pending; | ||
32 | import·org.jruby.internal.runtime.methods.DynamicMethod; | 31 | import·org.jruby.internal.runtime.methods.DynamicMethod; |
32 | import·org.jruby.runtime.ThreadContext; | ||
33 | import·org.jruby.runtime.builtin.IRubyObject; | 33 | import·org.jruby.runtime.builtin.IRubyObject; |
34 | import·org.jruby.ext.openssl.SSLSocket; | 34 | import·org.jruby.ext.openssl.SSLSocket; |
35 | import·org.jruby.ext.openssl.SSLSocket$INVOKER$i$ | 35 | import·org.jruby.ext.openssl.SSLSocket$INVOKER$i$1$0$syswrite; |
36 | import·org.jruby.runtime.Visibility; | 36 | import·org.jruby.runtime.Visibility; |
37 | import·org.jruby.RubyModule; | 37 | import·org.jruby.RubyModule; |
38 | import·org.jruby.anno.TypePopulator; | 38 | import·org.jruby.anno.TypePopulator; |
39 | public·class·org$jruby$ext$openssl$SSLSocket$POPULATOR·extends·TypePopulator | 39 | public·class·org$jruby$ext$openssl$SSLSocket$POPULATOR·extends·TypePopulator |
40 | { | 40 | { |
41 | ····public·void·populate(final·RubyModule·cls,·final·Class·clazz)·{ | 41 | ····public·void·populate(final·RubyModule·cls,·final·Class·clazz)·{ |
42 | ········final·Ruby·runtime·=·cls.getRuntime(); | 42 | ········final·Ruby·runtime·=·cls.getRuntime(); |
43 | ········JavaMethod·javaMethod·=·(JavaMethod)new·SSLSocket$INVOKER$i$ | 43 | ········JavaMethod·javaMethod·=·(JavaMethod)new·SSLSocket$INVOKER$i$1$0$syswrite(cls,·Visibility.PUBLIC,·"syswrite"); |
44 | ········populateMethod(javaMethod,· | 44 | ········populateMethod(javaMethod,·1,·"syswrite",·false,·false,·(Class)SSLSocket.class,·"syswrite",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); |
45 | ········cls.addMethodAtBootTimeOnly("s | 45 | ········cls.addMethodAtBootTimeOnly("syswrite",·(DynamicMethod)javaMethod); |
46 | ········javaMethod·=·(JavaMethod)new·SSLSocket$INVOKER$i$0$0$pending(cls,·Visibility.PUBLIC,·"pending"); | ||
47 | ········populateMethod(javaMethod,·0,·"pending",·false,·false,·(Class)SSLSocket.class,·"pending",·(Class)IRubyObject.class,·new·Class[0]); | ||
48 | ········cls.addMethodAtBootTimeOnly("pending",·(DynamicMethod)javaMethod); | ||
49 | ········javaMethod·=·(JavaMethod)new·SSLSocket$INVOKER$i$0$0$cert(cls,·Visibility.PUBLIC,·"cert"); | 46 | ········javaMethod·=·(JavaMethod)new·SSLSocket$INVOKER$i$0$0$cert(cls,·Visibility.PUBLIC,·"cert"); |
50 | ········populateMethod(javaMethod,·0,·"cert",·false,·false,·(Class)SSLSocket.class,·"cert",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); | 47 | ········populateMethod(javaMethod,·0,·"cert",·false,·false,·(Class)SSLSocket.class,·"cert",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); |
51 | ········cls.addMethodAtBootTimeOnly("cert",·(DynamicMethod)javaMethod); | 48 | ········cls.addMethodAtBootTimeOnly("cert",·(DynamicMethod)javaMethod); |
52 | ········javaMethod·=·(JavaMethod)new·SSLSocket$INVOKER$i$0$0$session(cls,·Visibility.PUBLIC,·"session"); | 49 | ········javaMethod·=·(JavaMethod)new·SSLSocket$INVOKER$i$0$0$session(cls,·Visibility.PUBLIC,·"session"); |
53 | ········populateMethod(javaMethod,·0,·"session",·false,·false,·(Class)SSLSocket.class,·"session",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); | 50 | ········populateMethod(javaMethod,·0,·"session",·false,·false,·(Class)SSLSocket.class,·"session",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); |
54 | ········cls.addMethodAtBootTimeOnly("session",·(DynamicMethod)javaMethod); | 51 | ········cls.addMethodAtBootTimeOnly("session",·(DynamicMethod)javaMethod); |
55 | ········javaMethod·=·(JavaMethod)new·SSLSocket$INVOKER$i$0$0$sysclose(cls,·Visibility.PUBLIC,·"sysclose"); | ||
56 | ········populateMethod(javaMethod,·0,·"sysclose",·false,·false,·(Class)SSLSocket.class,·"sysclose",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); | ||
57 | ········cls.addMethodAtBootTimeOnly("sysclose",·(DynamicMethod)javaMethod); | ||
58 | ········javaMethod·=·(JavaMethod)new·SSLSocket$INVOKER$i$1$0$set_sync(cls,·Visibility.PUBLIC,·"sync="); | ||
59 | ········populateMethod(javaMethod,·1,·"set_sync",·false,·false,·(Class)SSLSocket.class,·"set_sync",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); | ||
60 | ········cls.addMethodAtBootTimeOnly("sync=",·(DynamicMethod)javaMethod); | ||
61 | ········javaMethod·=·(JavaMethod)new·SSLSocket$INVOKER$i$1$0$syswrite(cls,·Visibility.PUBLIC,·"syswrite"); | ||
62 | ········populateMethod(javaMethod,·1,·"syswrite",·false,·false,·(Class)SSLSocket.class,·"syswrite",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); | ||
63 | ········cls.addMethodAtBootTimeOnly("syswrite",·(DynamicMethod)javaMethod); | ||
64 | ········javaMethod·=·(JavaMethod)new·SSLSocket$INVOKER$i$0$0$cipher(cls,·Visibility.PUBLIC,·"cipher"); | ||
65 | ········populateMethod(javaMethod,·0,·"cipher",·false,·false,·(Class)SSLSocket.class,·"cipher",·(Class)IRubyObject.class,·new·Class[0]); | ||
66 | ········cls.addMethodAtBootTimeOnly("cipher",·(DynamicMethod)javaMethod); | ||
67 | ········javaMethod·=·(JavaMethod)new·SSLSocket$INVOKER$i$0$0$context(cls,·Visibility.PUBLIC,·"context"); | ||
68 | ········populateMethod(javaMethod,·0,·"context",·false,·false,·(Class)SSLSocket.class,·"context",·(Class)SSLContext.class,·new·Class[0]); | ||
69 | ········cls.addMethodAtBootTimeOnly("context",·(DynamicMethod)javaMethod); | ||
70 | ········javaMethod·=·(JavaMethod)new·SSLSocket$INVOKER$i$1$0$set_session(cls,·Visibility.PUBLIC,·"session="); | ||
71 | ········populateMethod(javaMethod,·1,·"set_session",·false,·false,·(Class)SSLSocket.class,·"set_session",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); | ||
72 | ········cls.addMethodAtBootTimeOnly("session=",·(DynamicMethod)javaMethod); | ||
73 | ········javaMethod·=·(JavaMethod)new·SSLSocket$INVOKER$i$syswrite_nonblock(cls,·Visibility.PUBLIC,·"syswrite_nonblock"); | 52 | ········javaMethod·=·(JavaMethod)new·SSLSocket$INVOKER$i$syswrite_nonblock(cls,·Visibility.PUBLIC,·"syswrite_nonblock"); |
74 | ········populateMethod(javaMethod,·-1,·"syswrite_nonblock",·false,·false,·(Class)SSLSocket.class,·"syswrite_nonblock",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); | 53 | ········populateMethod(javaMethod,·-1,·"syswrite_nonblock",·false,·false,·(Class)SSLSocket.class,·"syswrite_nonblock",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); |
75 | ········cls.addMethodAtBootTimeOnly("syswrite_nonblock",·(DynamicMethod)javaMethod); | 54 | ········cls.addMethodAtBootTimeOnly("syswrite_nonblock",·(DynamicMethod)javaMethod); |
76 | ········javaMethod·=·(JavaMethod)new·SSLSocket$INVOKER$i$0$0$accept(cls,·Visibility.PUBLIC,·"accept"); | 55 | ········javaMethod·=·(JavaMethod)new·SSLSocket$INVOKER$i$0$0$accept(cls,·Visibility.PUBLIC,·"accept"); |
77 | ········populateMethod(javaMethod,·0,·"accept",·false,·false,·(Class)SSLSocket.class,·"accept",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); | 56 | ········populateMethod(javaMethod,·0,·"accept",·false,·false,·(Class)SSLSocket.class,·"accept",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); |
78 | ········cls.addMethodAtBootTimeOnly("accept",·(DynamicMethod)javaMethod); | 57 | ········cls.addMethodAtBootTimeOnly("accept",·(DynamicMethod)javaMethod); |
79 | ········javaMethod·=·(JavaMethod)new·SSLSocket$INVOKER$i$ | 58 | ········javaMethod·=·(JavaMethod)new·SSLSocket$INVOKER$i$1$0$set_sync(cls,·Visibility.PUBLIC,·"sync="); |
80 | ········populateMethod(javaMethod,· | 59 | ········populateMethod(javaMethod,·1,·"set_sync",·false,·false,·(Class)SSLSocket.class,·"set_sync",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); |
81 | ········cls.addMethodAtBootTimeOnly("s | 60 | ········cls.addMethodAtBootTimeOnly("sync=",·(DynamicMethod)javaMethod); |
82 | ········javaMethod·=·(JavaMethod)new·SSLSocket$INVOKER$i$0$0$connect(cls,·Visibility.PUBLIC,·"connect"); | 61 | ········javaMethod·=·(JavaMethod)new·SSLSocket$INVOKER$i$0$0$connect(cls,·Visibility.PUBLIC,·"connect"); |
83 | ········populateMethod(javaMethod,·0,·"connect",·false,·false,·(Class)SSLSocket.class,·"connect",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); | 62 | ········populateMethod(javaMethod,·0,·"connect",·false,·false,·(Class)SSLSocket.class,·"connect",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); |
84 | ········cls.addMethodAtBootTimeOnly("connect",·(DynamicMethod)javaMethod); | 63 | ········cls.addMethodAtBootTimeOnly("connect",·(DynamicMethod)javaMethod); |
85 | ········javaMethod·=·(JavaMethod)new·SSLSocket$INVOKER$i$0$0$peer_cert(cls,·Visibility.PUBLIC,·"peer_cert"); | 64 | ········javaMethod·=·(JavaMethod)new·SSLSocket$INVOKER$i$0$0$peer_cert(cls,·Visibility.PUBLIC,·"peer_cert"); |
86 | ········populateMethod(javaMethod,·0,·"peer_cert",·false,·false,·(Class)SSLSocket.class,·"peer_cert",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); | 65 | ········populateMethod(javaMethod,·0,·"peer_cert",·false,·false,·(Class)SSLSocket.class,·"peer_cert",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); |
87 | ········cls.addMethodAtBootTimeOnly("peer_cert",·(DynamicMethod)javaMethod); | 66 | ········cls.addMethodAtBootTimeOnly("peer_cert",·(DynamicMethod)javaMethod); |
88 | ········javaMethod·=·(JavaMethod)new·SSLSocket$INVOKER$i$sysread(cls,·Visibility.PUBLIC,·"sysread"); | 67 | ········javaMethod·=·(JavaMethod)new·SSLSocket$INVOKER$i$sysread(cls,·Visibility.PUBLIC,·"sysread"); |
89 | ········populateMethod(javaMethod,·-1,·"sysread",·false,·false,·(Class)SSLSocket.class,·"sysread",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); | 68 | ········populateMethod(javaMethod,·-1,·"sysread",·false,·false,·(Class)SSLSocket.class,·"sysread",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); |
90 | ········cls.addMethodAtBootTimeOnly("sysread",·(DynamicMethod)javaMethod); | 69 | ········cls.addMethodAtBootTimeOnly("sysread",·(DynamicMethod)javaMethod); |
91 | ········javaMethod·=·(JavaMethod)new·SSLSocket$INVOKER$i$0$0$i | 70 | ········javaMethod·=·(JavaMethod)new·SSLSocket$INVOKER$i$0$0$cipher(cls,·Visibility.PUBLIC,·"cipher"); |
92 | ········populateMethod(javaMethod,·0,·"i | 71 | ········populateMethod(javaMethod,·0,·"cipher",·false,·false,·(Class)SSLSocket.class,·"cipher",·(Class)IRubyObject.class,·new·Class[0]); |
93 | ········cls.addMethodAtBootTimeOnly("i | 72 | ········cls.addMethodAtBootTimeOnly("cipher",·(DynamicMethod)javaMethod); |
94 | ········ | 73 | ········javaMethod·=·(JavaMethod)new·SSLSocket$INVOKER$i$0$0$context(cls,·Visibility.PUBLIC,·"context"); |
74 | ········populateMethod(javaMethod,·0,·"context",·false,·false,·(Class)SSLSocket.class,·"context",·(Class)SSLContext.class,·new·Class[0]); | ||
75 | ········cls.addMethodAtBootTimeOnly("context",·(DynamicMethod)javaMethod); | ||
76 | ········javaMethod·=·(JavaMethod)new·SSLSocket$INVOKER$i$1$0$set_session(cls,·Visibility.PUBLIC,·"session="); | ||
77 | ········populateMethod(javaMethod,·1,·"set_session",·false,·false,·(Class)SSLSocket.class,·"set_session",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); | ||
78 | ········cls.addMethodAtBootTimeOnly("session=",·(DynamicMethod)javaMethod); | ||
95 | ········javaMethod·=·(JavaMethod)new·SSLSocket$INVOKER$i$0$0$verify_result(cls,·Visibility.PUBLIC,·"verify_result"); | 79 | ········javaMethod·=·(JavaMethod)new·SSLSocket$INVOKER$i$0$0$verify_result(cls,·Visibility.PUBLIC,·"verify_result"); |
96 | ········populateMethod(javaMethod,·0,·"verify_result",·false,·false,·(Class)SSLSocket.class,·"verify_result",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); | 80 | ········populateMethod(javaMethod,·0,·"verify_result",·false,·false,·(Class)SSLSocket.class,·"verify_result",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); |
97 | ········cls.addMethodAtBootTimeOnly("verify_result",·(DynamicMethod)javaMethod); | 81 | ········cls.addMethodAtBootTimeOnly("verify_result",·(DynamicMethod)javaMethod); |
98 | ········javaMethod·=·(JavaMethod)new·SSLSocket$INVOKER$i$sysread_nonblock(cls,·Visibility.PUBLIC,·"sysread_nonblock"); | 82 | ········javaMethod·=·(JavaMethod)new·SSLSocket$INVOKER$i$sysread_nonblock(cls,·Visibility.PUBLIC,·"sysread_nonblock"); |
99 | ········populateMethod(javaMethod,·-1,·"sysread_nonblock",·false,·false,·(Class)SSLSocket.class,·"sysread_nonblock",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); | 83 | ········populateMethod(javaMethod,·-1,·"sysread_nonblock",·false,·false,·(Class)SSLSocket.class,·"sysread_nonblock",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); |
100 | ········cls.addMethodAtBootTimeOnly("sysread_nonblock",·(DynamicMethod)javaMethod); | 84 | ········cls.addMethodAtBootTimeOnly("sysread_nonblock",·(DynamicMethod)javaMethod); |
101 | ········javaMethod·=·(JavaMethod)new·SSLSocket$INVOKER$i$0$0$sync(cls,·Visibility.PUBLIC,·"sync"); | ||
102 | ········populateMethod(javaMethod,·0,·"sync",·false,·false,·(Class)SSLSocket.class,·"sync",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); | ||
103 | ········cls.addMethodAtBootTimeOnly("sync",·(DynamicMethod)javaMethod); | ||
104 | ········javaMethod·=·(JavaMethod)new·SSLSocket$INVOKER$i$accept_nonblock(cls,·Visibility.PUBLIC,·"accept_nonblock"); | 85 | ········javaMethod·=·(JavaMethod)new·SSLSocket$INVOKER$i$accept_nonblock(cls,·Visibility.PUBLIC,·"accept_nonblock"); |
105 | ········populateMethod(javaMethod,·-1,·"accept_nonblock",·false,·false,·(Class)SSLSocket.class,·"accept_nonblock",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); | 86 | ········populateMethod(javaMethod,·-1,·"accept_nonblock",·false,·false,·(Class)SSLSocket.class,·"accept_nonblock",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); |
106 | ········cls.addMethodAtBootTimeOnly("accept_nonblock",·(DynamicMethod)javaMethod); | 87 | ········cls.addMethodAtBootTimeOnly("accept_nonblock",·(DynamicMethod)javaMethod); |
88 | ········javaMethod·=·(JavaMethod)new·SSLSocket$INVOKER$i$0$0$state(cls,·Visibility.PUBLIC,·"state"); | ||
Max diff block lines reached; 7372/20183 bytes (36.53%) of diff not shown. |
Offset 1, 18 lines modified | Offset 1, 18 lines modified | ||
1 | package·org.jruby.gen; | 1 | package·org.jruby.gen; |
2 | import·org.jruby.internal.runtime.methods.JavaMethod; | 2 | import·org.jruby.internal.runtime.methods.JavaMethod; |
3 | import·org.jruby.Ruby; | 3 | import·org.jruby.Ruby; |
4 | import·org.jruby.ext.openssl.X509Attribute$INVOKER$i$0$0$oid; | 4 | import·org.jruby.ext.openssl.X509Attribute$INVOKER$i$0$0$oid; |
5 | import·org.jruby.ext.openssl.X509Attribute$INVOKER$i$0$1$initialize; | 5 | import·org.jruby.ext.openssl.X509Attribute$INVOKER$i$0$1$initialize; |
6 | import·org.jruby.ext.openssl.X509Attribute$INVOKER$i$0$0$to_der; | ||
7 | import·org.jruby.runtime.ThreadContext; | ||
6 | import·org.jruby.ext.openssl.X509Attribute$INVOKER$i$1$0$set_value; | 8 | import·org.jruby.ext.openssl.X509Attribute$INVOKER$i$1$0$set_value; |
7 | import·org.jruby.ext.openssl.X509Attribute$INVOKER$i$1$0$set_oid; | 9 | import·org.jruby.ext.openssl.X509Attribute$INVOKER$i$1$0$set_oid; |
8 | import·org.jruby.runtime.ThreadContext; | ||
9 | import·org.jruby.ext.openssl.X509Attribute$INVOKER$i$0$0$to_der; | ||
10 | import·org.jruby.internal.runtime.methods.DynamicMethod; | 10 | import·org.jruby.internal.runtime.methods.DynamicMethod; |
11 | import·org.jruby.runtime.builtin.IRubyObject; | 11 | import·org.jruby.runtime.builtin.IRubyObject; |
12 | import·org.jruby.ext.openssl.X509Attribute; | 12 | import·org.jruby.ext.openssl.X509Attribute; |
13 | import·org.jruby.ext.openssl.X509Attribute$INVOKER$i$0$0$value; | 13 | import·org.jruby.ext.openssl.X509Attribute$INVOKER$i$0$0$value; |
14 | import·org.jruby.runtime.Visibility; | 14 | import·org.jruby.runtime.Visibility; |
15 | import·org.jruby.RubyModule; | 15 | import·org.jruby.RubyModule; |
16 | import·org.jruby.anno.TypePopulator; | 16 | import·org.jruby.anno.TypePopulator; |
Offset 20, 30 lines modified | Offset 20, 30 lines modified | ||
20 | public·class·org$jruby$ext$openssl$X509Attribute$POPULATOR·extends·TypePopulator | 20 | public·class·org$jruby$ext$openssl$X509Attribute$POPULATOR·extends·TypePopulator |
21 | { | 21 | { |
22 | ····public·void·populate(final·RubyModule·cls,·final·Class·clazz)·{ | 22 | ····public·void·populate(final·RubyModule·cls,·final·Class·clazz)·{ |
23 | ········final·Ruby·runtime·=·cls.getRuntime(); | 23 | ········final·Ruby·runtime·=·cls.getRuntime(); |
24 | ········JavaMethod·javaMethod·=·(JavaMethod)new·X509Attribute$INVOKER$i$0$0$value(cls,·Visibility.PUBLIC,·"value"); | 24 | ········JavaMethod·javaMethod·=·(JavaMethod)new·X509Attribute$INVOKER$i$0$0$value(cls,·Visibility.PUBLIC,·"value"); |
25 | ········populateMethod(javaMethod,·0,·"value",·false,·false,·(Class)X509Attribute.class,·"value",·(Class)IRubyObject.class,·new·Class[0]); | 25 | ········populateMethod(javaMethod,·0,·"value",·false,·false,·(Class)X509Attribute.class,·"value",·(Class)IRubyObject.class,·new·Class[0]); |
26 | ········cls.addMethodAtBootTimeOnly("value",·(DynamicMethod)javaMethod); | 26 | ········cls.addMethodAtBootTimeOnly("value",·(DynamicMethod)javaMethod); |
27 | ········javaMethod·=·(JavaMethod)new·X509Attribute$INVOKER$i$0$0$to_der(cls,·Visibility.PUBLIC,·"to_der"); | ||
28 | ········populateMethod(javaMethod,·0,·"to_der",·false,·false,·(Class)X509Attribute.class,·"to_der",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); | ||
29 | ········cls.addMethodAtBootTimeOnly("to_der",·(DynamicMethod)javaMethod); | ||
30 | ········javaMethod·=·(JavaMethod)new·X509Attribute$INVOKER$i$1$0$set_oid(cls,·Visibility.PUBLIC,·"oid="); | 27 | ········javaMethod·=·(JavaMethod)new·X509Attribute$INVOKER$i$1$0$set_oid(cls,·Visibility.PUBLIC,·"oid="); |
31 | ········populateMethod(javaMethod,·1,·"set_oid",·false,·false,·(Class)X509Attribute.class,·"set_oid",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); | 28 | ········populateMethod(javaMethod,·1,·"set_oid",·false,·false,·(Class)X509Attribute.class,·"set_oid",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); |
32 | ········cls.addMethodAtBootTimeOnly("oid=",·(DynamicMethod)javaMethod); | 29 | ········cls.addMethodAtBootTimeOnly("oid=",·(DynamicMethod)javaMethod); |
33 | ········javaMethod·=·(JavaMethod)new·X509Attribute$INVOKER$i$1$0$set_value(cls,·Visibility.PUBLIC,·"value="); | 30 | ········javaMethod·=·(JavaMethod)new·X509Attribute$INVOKER$i$1$0$set_value(cls,·Visibility.PUBLIC,·"value="); |
34 | ········populateMethod(javaMethod,·1,·"set_value",·false,·false,·(Class)X509Attribute.class,·"set_value",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); | 31 | ········populateMethod(javaMethod,·1,·"set_value",·false,·false,·(Class)X509Attribute.class,·"set_value",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); |
35 | ········cls.addMethodAtBootTimeOnly("value=",·(DynamicMethod)javaMethod); | 32 | ········cls.addMethodAtBootTimeOnly("value=",·(DynamicMethod)javaMethod); |
33 | ········javaMethod·=·(JavaMethod)new·X509Attribute$INVOKER$i$0$0$to_der(cls,·Visibility.PUBLIC,·"to_der"); | ||
34 | ········populateMethod(javaMethod,·0,·"to_der",·false,·false,·(Class)X509Attribute.class,·"to_der",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); | ||
35 | ········cls.addMethodAtBootTimeOnly("to_der",·(DynamicMethod)javaMethod); | ||
36 | ········javaMethod·=·(JavaMethod)new·X509Attribute$INVOKER$i$0$1$initialize(cls,·Visibility.PRIVATE,·"initialize"); | 36 | ········javaMethod·=·(JavaMethod)new·X509Attribute$INVOKER$i$0$1$initialize(cls,·Visibility.PRIVATE,·"initialize"); |
37 | ········populateMethod(javaMethod,·-1,·"initialize",·false,·false,·(Class)X509Attribute.class,·"initialize",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject[].class·}); | 37 | ········populateMethod(javaMethod,·-1,·"initialize",·false,·false,·(Class)X509Attribute.class,·"initialize",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject[].class·}); |
38 | ········cls.addMethodAtBootTimeOnly("initialize",·(DynamicMethod)javaMethod); | 38 | ········cls.addMethodAtBootTimeOnly("initialize",·(DynamicMethod)javaMethod); |
39 | ········javaMethod·=·(JavaMethod)new·X509Attribute$INVOKER$i$0$0$oid(cls,·Visibility.PUBLIC,·"oid"); | 39 | ········javaMethod·=·(JavaMethod)new·X509Attribute$INVOKER$i$0$0$oid(cls,·Visibility.PUBLIC,·"oid"); |
40 | ········populateMethod(javaMethod,·0,·"oid",·false,·false,·(Class)X509Attribute.class,·"oid",·(Class)IRubyObject.class,·new·Class[0]); | 40 | ········populateMethod(javaMethod,·0,·"oid",·false,·false,·(Class)X509Attribute.class,·"oid",·(Class)IRubyObject.class,·new·Class[0]); |
41 | ········cls.addMethodAtBootTimeOnly("oid",·(DynamicMethod)javaMethod); | 41 | ········cls.addMethodAtBootTimeOnly("oid",·(DynamicMethod)javaMethod); |
42 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Attribute",·"value",·"value"); | 42 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Attribute",·"value",·"value"); |
43 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Attribute",·"to_der",·"to_der"); | ||
44 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Attribute",·"set_oid",·"oid="); | 43 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Attribute",·"set_oid",·"oid="); |
45 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Attribute",·"set_value",·"value="); | 44 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Attribute",·"set_value",·"value="); |
45 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Attribute",·"to_der",·"to_der"); | ||
46 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Attribute",·"initialize",·"initialize"); | 46 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Attribute",·"initialize",·"initialize"); |
47 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Attribute",·"oid",·"oid"); | 47 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Attribute",·"oid",·"oid"); |
48 | ····} | 48 | ····} |
49 | } | 49 | } |
Offset 1, 137 lines modified | Offset 1, 137 lines modified | ||
1 | package·org.jruby.gen; | 1 | package·org.jruby.gen; |
2 | import·org.jruby.internal.runtime.methods.JavaMethod; | 2 | import·org.jruby.internal.runtime.methods.JavaMethod; |
3 | import·org.jruby.Ruby; | 3 | import·org.jruby.Ruby; |
4 | import·org.jruby.ext.openssl.X509CRL$INVOKER$i$0$0$next_update; | ||
5 | import·org.jruby.ext.openssl.X509CRL$INVOKER$i$1$0$set_next_update; | 4 | import·org.jruby.ext.openssl.X509CRL$INVOKER$i$1$0$set_next_update; |
6 | import·org.jruby.ext.openssl.X509CRL$INVOKER$i$1$0$set_last_update; | 5 | import·org.jruby.ext.openssl.X509CRL$INVOKER$i$1$0$set_last_update; |
7 | import·org.jruby.ext.openssl.X509CRL$INVOKER$i$0$0$ | 6 | import·org.jruby.ext.openssl.X509CRL$INVOKER$i$0$0$last_update; |
8 | import·org.jruby.runtime.Block; | 7 | import·org.jruby.runtime.Block; |
9 | import·org.jruby.ext.openssl.X509CRL$INVOKER$i$0$0$initialize; | 8 | import·org.jruby.ext.openssl.X509CRL$INVOKER$i$0$0$initialize; |
10 | import·org.jruby.ext.openssl.X509CRL$INVOKER$i$1$0$add_revoked; | ||
11 | import·org.jruby.ext.openssl.X509CRL$INVOKER$i$1$0$set_revoked; | ||
12 | import·org.jruby.ext.openssl.X509CRL$INVOKER$i$0$0$last_update; | ||
13 | import·org.jruby.ext.openssl.X509CRL$INVOKER$i$1$0$add_extension; | 9 | import·org.jruby.ext.openssl.X509CRL$INVOKER$i$1$0$add_extension; |
14 | import·org.jruby.ext.openssl.X509CRL$INVOKER$i$1$0$set_ | 10 | import·org.jruby.ext.openssl.X509CRL$INVOKER$i$1$0$set_revoked; |
11 | import·org.jruby.ext.openssl.X509CRL$INVOKER$i$0$0$to_der; | ||
15 | import·org.jruby.ext.openssl.X509CRL$INVOKER$i$0$0$extensions; | 12 | import·org.jruby.ext.openssl.X509CRL$INVOKER$i$0$0$extensions; |
13 | import·org.jruby.ext.openssl.X509CRL$INVOKER$i$1$0$initialize_copy; | ||
14 | import·org.jruby.ext.openssl.X509CRL$INVOKER$i$0$0$version; | ||
15 | import·org.jruby.ext.openssl.X509CRL$INVOKER$i$1$0$set_issuer; | ||
16 | import·org.jruby.RubyArray; | ||
17 | import·org.jruby.ext.openssl.X509CRL$INVOKER$i$0$0$revoked; | ||
18 | import·org.jruby.ext.openssl.X509CRL$INVOKER$i$1$0$verify; | ||
16 | import·org.jruby.ext.openssl.X509CRL$INVOKER$i$0$0$to_pem; | 19 | import·org.jruby.ext.openssl.X509CRL$INVOKER$i$0$0$to_pem; |
17 | import·org.jruby.ext.openssl.X509CRL$INVOKER$i$1$0$set_extensions; | 20 | import·org.jruby.ext.openssl.X509CRL$INVOKER$i$1$0$set_extensions; |
18 | import·org.jruby.ext.openssl.X509CRL$INVOKER$i$0$0$version; | ||
19 | import·org.jruby.ext.openssl.X509CRL$INVOKER$i$0$0$to_text; | ||
20 | import·org.jruby.ext.openssl.X509CRL$INVOKER$i$0$0$issuer; | 21 | import·org.jruby.ext.openssl.X509CRL$INVOKER$i$0$0$issuer; |
21 | import·org.jruby.ext.openssl.X509CRL$INVOKER$i$1$0$set_version; | 22 | import·org.jruby.ext.openssl.X509CRL$INVOKER$i$1$0$set_version; |
22 | import·org.jruby.RubyArray; | ||
23 | import·org.jruby.ext.openssl.X509CRL$INVOKER$i$0$0$revoked; | ||
24 | import·org.jruby.ext.openssl.X509CRL$INVOKER$i$0$0$inspect; | 23 | import·org.jruby.ext.openssl.X509CRL$INVOKER$i$0$0$inspect; |
25 | import·org.jruby.ext.openssl.X509CRL$INVOKER$i$ | 24 | import·org.jruby.ext.openssl.X509CRL$INVOKER$i$0$0$next_update; |
26 | import·org.jruby.ext.openssl.X509CRL$INVOKER$i$ | 25 | import·org.jruby.ext.openssl.X509CRL$INVOKER$i$0$0$signature_algorithm; |
27 | import·org.jruby.ext.openssl.X509CRL$INVOKER$i$ | 26 | import·org.jruby.ext.openssl.X509CRL$INVOKER$i$1$0$add_revoked; |
27 | import·org.jruby.ext.openssl.X509CRL$INVOKER$i$2$0$sign; | ||
28 | import·org.jruby.internal.runtime.methods.DynamicMethod; | 28 | import·org.jruby.internal.runtime.methods.DynamicMethod; |
29 | import·org.jruby.runtime.ThreadContext; | 29 | import·org.jruby.runtime.ThreadContext; |
30 | import·org.jruby.runtime.builtin.IRubyObject; | 30 | import·org.jruby.runtime.builtin.IRubyObject; |
31 | import·org.jruby.ext.openssl.X509CRL; | 31 | import·org.jruby.ext.openssl.X509CRL; |
32 | import·org.jruby.ext.openssl.X509CRL$INVOKER$i$ | 32 | import·org.jruby.ext.openssl.X509CRL$INVOKER$i$0$0$to_text; |
33 | import·org.jruby.runtime.Visibility; | 33 | import·org.jruby.runtime.Visibility; |
34 | import·org.jruby.RubyModule; | 34 | import·org.jruby.RubyModule; |
35 | import·org.jruby.anno.TypePopulator; | 35 | import·org.jruby.anno.TypePopulator; |
36 | public·class·org$jruby$ext$openssl$X509CRL$POPULATOR·extends·TypePopulator | 36 | public·class·org$jruby$ext$openssl$X509CRL$POPULATOR·extends·TypePopulator |
37 | { | 37 | { |
38 | ····public·void·populate(final·RubyModule·cls,·final·Class·clazz)·{ | 38 | ····public·void·populate(final·RubyModule·cls,·final·Class·clazz)·{ |
39 | ········final·Ruby·runtime·=·cls.getRuntime(); | 39 | ········final·Ruby·runtime·=·cls.getRuntime(); |
40 | ········JavaMethod·javaMethod·=·(JavaMethod)new·X509CRL$INVOKER$i$ | 40 | ········JavaMethod·javaMethod·=·(JavaMethod)new·X509CRL$INVOKER$i$0$0$to_text(cls,·Visibility.PUBLIC,·"to_text"); |
41 | ········populateMethod(javaMethod,·0,·"to_text",·false,·false,·(Class)X509CRL.class,·"to_text",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); | ||
42 | ········cls.addMethodAtBootTimeOnly("to_text",·(DynamicMethod)javaMethod); | ||
43 | ········javaMethod·=·(JavaMethod)new·X509CRL$INVOKER$i$2$0$sign(cls,·Visibility.PUBLIC,·"sign"); | ||
41 | ········populateMethod(javaMethod,·2,·"sign",·false,·false,·(Class)X509CRL.class,·"sign",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class,·IRubyObject.class·}); | 44 | ········populateMethod(javaMethod,·2,·"sign",·false,·false,·(Class)X509CRL.class,·"sign",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class,·IRubyObject.class·}); |
42 | ········cls.addMethodAtBootTimeOnly("sign",·(DynamicMethod)javaMethod); | 45 | ········cls.addMethodAtBootTimeOnly("sign",·(DynamicMethod)javaMethod); |
43 | ········javaMethod·=·(JavaMethod)new·X509CRL$INVOKER$i$ | 46 | ········javaMethod·=·(JavaMethod)new·X509CRL$INVOKER$i$1$0$add_revoked(cls,·Visibility.PUBLIC,·"add_revoked"); |
44 | ········populateMethod(javaMethod,· | 47 | ········populateMethod(javaMethod,·1,·"add_revoked",·false,·false,·(Class)X509CRL.class,·"add_revoked",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); |
45 | ········cls.addMethodAtBootTimeOnly(" | 48 | ········cls.addMethodAtBootTimeOnly("add_revoked",·(DynamicMethod)javaMethod); |
46 | ········javaMethod·=·(JavaMethod)new·X509CRL$INVOKER$i$ | 49 | ········javaMethod·=·(JavaMethod)new·X509CRL$INVOKER$i$0$0$signature_algorithm(cls,·Visibility.PUBLIC,·"signature_algorithm"); |
47 | ········populateMethod(javaMethod,· | 50 | ········populateMethod(javaMethod,·0,·"signature_algorithm",·false,·false,·(Class)X509CRL.class,·"signature_algorithm",·(Class)IRubyObject.class,·new·Class[0]); |
48 | ········cls.addMethodAtBootTimeOnly(" | 51 | ········cls.addMethodAtBootTimeOnly("signature_algorithm",·(DynamicMethod)javaMethod); |
49 | ········javaMethod·=·(JavaMethod)new·X509CRL$INVOKER$i$ | 52 | ········javaMethod·=·(JavaMethod)new·X509CRL$INVOKER$i$0$0$next_update(cls,·Visibility.PUBLIC,·"next_update"); |
50 | ········populateMethod(javaMethod,· | 53 | ········populateMethod(javaMethod,·0,·"next_update",·false,·false,·(Class)X509CRL.class,·"next_update",·(Class)IRubyObject.class,·new·Class[0]); |
51 | ········cls.addMethodAtBootTimeOnly(" | 54 | ········cls.addMethodAtBootTimeOnly("next_update",·(DynamicMethod)javaMethod); |
52 | ········javaMethod·=·(JavaMethod)new·X509CRL$INVOKER$i$0$0$inspect(cls,·Visibility.PUBLIC,·"inspect"); | 55 | ········javaMethod·=·(JavaMethod)new·X509CRL$INVOKER$i$0$0$inspect(cls,·Visibility.PUBLIC,·"inspect"); |
53 | ········populateMethod(javaMethod,·0,·"inspect",·false,·false,·(Class)X509CRL.class,·"inspect",·(Class)IRubyObject.class,·new·Class[0]); | 56 | ········populateMethod(javaMethod,·0,·"inspect",·false,·false,·(Class)X509CRL.class,·"inspect",·(Class)IRubyObject.class,·new·Class[0]); |
54 | ········cls.addMethodAtBootTimeOnly("inspect",·(DynamicMethod)javaMethod); | 57 | ········cls.addMethodAtBootTimeOnly("inspect",·(DynamicMethod)javaMethod); |
55 | ········javaMethod·=·(JavaMethod)new·X509CRL$INVOKER$i$0$0$revoked(cls,·Visibility.PUBLIC,·"revoked"); | ||
56 | ········populateMethod(javaMethod,·0,·"revoked",·false,·false,·(Class)X509CRL.class,·"revoked",·(Class)RubyArray.class,·new·Class[0]); | ||
57 | ········cls.addMethodAtBootTimeOnly("revoked",·(DynamicMethod)javaMethod); | ||
58 | ········javaMethod·=·(JavaMethod)new·X509CRL$INVOKER$i$1$0$set_version(cls,·Visibility.PUBLIC,·"version="); | 58 | ········javaMethod·=·(JavaMethod)new·X509CRL$INVOKER$i$1$0$set_version(cls,·Visibility.PUBLIC,·"version="); |
59 | ········populateMethod(javaMethod,·1,·"set_version",·false,·false,·(Class)X509CRL.class,·"set_version",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); | 59 | ········populateMethod(javaMethod,·1,·"set_version",·false,·false,·(Class)X509CRL.class,·"set_version",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); |
60 | ········cls.addMethodAtBootTimeOnly("version=",·(DynamicMethod)javaMethod); | 60 | ········cls.addMethodAtBootTimeOnly("version=",·(DynamicMethod)javaMethod); |
61 | ········javaMethod·=·(JavaMethod)new·X509CRL$INVOKER$i$0$0$issuer(cls,·Visibility.PUBLIC,·"issuer"); | 61 | ········javaMethod·=·(JavaMethod)new·X509CRL$INVOKER$i$0$0$issuer(cls,·Visibility.PUBLIC,·"issuer"); |
62 | ········populateMethod(javaMethod,·0,·"issuer",·false,·false,·(Class)X509CRL.class,·"issuer",·(Class)IRubyObject.class,·new·Class[0]); | 62 | ········populateMethod(javaMethod,·0,·"issuer",·false,·false,·(Class)X509CRL.class,·"issuer",·(Class)IRubyObject.class,·new·Class[0]); |
63 | ········cls.addMethodAtBootTimeOnly("issuer",·(DynamicMethod)javaMethod); | 63 | ········cls.addMethodAtBootTimeOnly("issuer",·(DynamicMethod)javaMethod); |
64 | ········javaMethod·=·(JavaMethod)new·X509CRL$INVOKER$i$0$0$to_text(cls,·Visibility.PUBLIC,·"to_text"); | ||
65 | ········populateMethod(javaMethod,·0,·"to_text",·false,·false,·(Class)X509CRL.class,·"to_text",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); | ||
66 | ········cls.addMethodAtBootTimeOnly("to_text",·(DynamicMethod)javaMethod); | ||
67 | ········javaMethod·=·(JavaMethod)new·X509CRL$INVOKER$i$0$0$version(cls,·Visibility.PUBLIC,·"version"); | ||
68 | ········populateMethod(javaMethod,·0,·"version",·false,·false,·(Class)X509CRL.class,·"version",·(Class)IRubyObject.class,·new·Class[0]); | ||
69 | ········cls.addMethodAtBootTimeOnly("version",·(DynamicMethod)javaMethod); | ||
70 | ········javaMethod·=·(JavaMethod)new·X509CRL$INVOKER$i$1$0$set_extensions(cls,·Visibility.PUBLIC,·"extensions="); | 64 | ········javaMethod·=·(JavaMethod)new·X509CRL$INVOKER$i$1$0$set_extensions(cls,·Visibility.PUBLIC,·"extensions="); |
71 | ········populateMethod(javaMethod,·1,·"set_extensions",·false,·false,·(Class)X509CRL.class,·"set_extensions",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); | 65 | ········populateMethod(javaMethod,·1,·"set_extensions",·false,·false,·(Class)X509CRL.class,·"set_extensions",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); |
72 | ········cls.addMethodAtBootTimeOnly("extensions=",·(DynamicMethod)javaMethod); | 66 | ········cls.addMethodAtBootTimeOnly("extensions=",·(DynamicMethod)javaMethod); |
73 | ········javaMethod·=·(JavaMethod)new·X509CRL$INVOKER$i$0$0$to_pem(cls,·Visibility.PUBLIC,·"to_pem"); | 67 | ········javaMethod·=·(JavaMethod)new·X509CRL$INVOKER$i$0$0$to_pem(cls,·Visibility.PUBLIC,·"to_pem"); |
74 | ········populateMethod(javaMethod,·0,·"to_pem",·false,·false,·(Class)X509CRL.class,·"to_pem",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); | 68 | ········populateMethod(javaMethod,·0,·"to_pem",·false,·false,·(Class)X509CRL.class,·"to_pem",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); |
75 | ········cls.addMethodAtBootTimeOnly("to_pem",·(DynamicMethod)javaMethod); | 69 | ········cls.addMethodAtBootTimeOnly("to_pem",·(DynamicMethod)javaMethod); |
76 | ········cls.addMethodAtBootTimeOnly("to_s",·(DynamicMethod)javaMethod); | 70 | ········cls.addMethodAtBootTimeOnly("to_s",·(DynamicMethod)javaMethod); |
77 | ········javaMethod·=·(JavaMethod)new·X509CRL$INVOKER$i$ | 71 | ········javaMethod·=·(JavaMethod)new·X509CRL$INVOKER$i$1$0$verify(cls,·Visibility.PUBLIC,·"verify"); |
78 | ········populateMethod(javaMethod,· | 72 | ········populateMethod(javaMethod,·1,·"verify",·false,·false,·(Class)X509CRL.class,·"verify",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); |
79 | ········cls.addMethodAtBootTimeOnly(" | 73 | ········cls.addMethodAtBootTimeOnly("verify",·(DynamicMethod)javaMethod); |
74 | ········javaMethod·=·(JavaMethod)new·X509CRL$INVOKER$i$0$0$revoked(cls,·Visibility.PUBLIC,·"revoked"); | ||
75 | ········populateMethod(javaMethod,·0,·"revoked",·false,·false,·(Class)X509CRL.class,·"revoked",·(Class)RubyArray.class,·new·Class[0]); | ||
76 | ········cls.addMethodAtBootTimeOnly("revoked",·(DynamicMethod)javaMethod); | ||
80 | ········javaMethod·=·(JavaMethod)new·X509CRL$INVOKER$i$1$0$set_issuer(cls,·Visibility.PUBLIC,·"issuer="); | 77 | ········javaMethod·=·(JavaMethod)new·X509CRL$INVOKER$i$1$0$set_issuer(cls,·Visibility.PUBLIC,·"issuer="); |
81 | ········populateMethod(javaMethod,·1,·"set_issuer",·false,·false,·(Class)X509CRL.class,·"set_issuer",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); | 78 | ········populateMethod(javaMethod,·1,·"set_issuer",·false,·false,·(Class)X509CRL.class,·"set_issuer",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); |
82 | ········cls.addMethodAtBootTimeOnly("issuer=",·(DynamicMethod)javaMethod); | 79 | ········cls.addMethodAtBootTimeOnly("issuer=",·(DynamicMethod)javaMethod); |
83 | ········javaMethod·=·(JavaMethod)new·X509CRL$INVOKER$i$ | 80 | ········javaMethod·=·(JavaMethod)new·X509CRL$INVOKER$i$0$0$version(cls,·Visibility.PUBLIC,·"version"); |
84 | ········populateMethod(javaMethod,· | 81 | ········populateMethod(javaMethod,·0,·"version",·false,·false,·(Class)X509CRL.class,·"version",·(Class)IRubyObject.class,·new·Class[0]); |
85 | ········cls.addMethodAtBootTimeOnly(" | 82 | ········cls.addMethodAtBootTimeOnly("version",·(DynamicMethod)javaMethod); |
86 | ········javaMethod·=·(JavaMethod)new·X509CRL$INVOKER$i$ | 83 | ········javaMethod·=·(JavaMethod)new·X509CRL$INVOKER$i$1$0$initialize_copy(cls,·Visibility.PRIVATE,·"initialize_copy"); |
87 | ········populateMethod(javaMethod,· | 84 | ········populateMethod(javaMethod,·1,·"initialize_copy",·false,·false,·(Class)X509CRL.class,·"initialize_copy",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); |
88 | ········cls.addMethodAtBootTimeOnly(" | 85 | ········cls.addMethodAtBootTimeOnly("initialize_copy",·(DynamicMethod)javaMethod); |
86 | ········javaMethod·=·(JavaMethod)new·X509CRL$INVOKER$i$0$0$extensions(cls,·Visibility.PUBLIC,·"extensions"); | ||
87 | ········populateMethod(javaMethod,·0,·"extensions",·false,·false,·(Class)X509CRL.class,·"extensions",·(Class)RubyArray.class,·new·Class[0]); | ||
88 | ········cls.addMethodAtBootTimeOnly("extensions",·(DynamicMethod)javaMethod); | ||
89 | ········javaMethod·=·(JavaMethod)new·X509CRL$INVOKER$i$0$0$to_der(cls,·Visibility.PUBLIC,·"to_der"); | ||
90 | ········populateMethod(javaMethod,·0,·"to_der",·false,·false,·(Class)X509CRL.class,·"to_der",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); | ||
91 | ········cls.addMethodAtBootTimeOnly("to_der",·(DynamicMethod)javaMethod); | ||
89 | ········javaMethod·=·(JavaMethod)new·X509CRL$INVOKER$i$1$0$set_revoked(cls,·Visibility.PUBLIC,·"revoked="); | 92 | ········javaMethod·=·(JavaMethod)new·X509CRL$INVOKER$i$1$0$set_revoked(cls,·Visibility.PUBLIC,·"revoked="); |
90 | ········populateMethod(javaMethod,·1,·"set_revoked",·false,·false,·(Class)X509CRL.class,·"set_revoked",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); | 93 | ········populateMethod(javaMethod,·1,·"set_revoked",·false,·false,·(Class)X509CRL.class,·"set_revoked",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); |
91 | ········cls.addMethodAtBootTimeOnly("revoked=",·(DynamicMethod)javaMethod); | 94 | ········cls.addMethodAtBootTimeOnly("revoked=",·(DynamicMethod)javaMethod); |
92 | ········javaMethod·=·(JavaMethod)new·X509CRL$INVOKER$i$1$0$add_ | 95 | ········javaMethod·=·(JavaMethod)new·X509CRL$INVOKER$i$1$0$add_extension(cls,·Visibility.PUBLIC,·"add_extension"); |
93 | ········populateMethod(javaMethod,·1,·"add_ | 96 | ········populateMethod(javaMethod,·1,·"add_extension",·false,·false,·(Class)X509CRL.class,·"add_extension",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); |
94 | ········cls.addMethodAtBootTimeOnly("add_ | 97 | ········cls.addMethodAtBootTimeOnly("add_extension",·(DynamicMethod)javaMethod); |
95 | ········javaMethod·=·(JavaMethod)new·X509CRL$INVOKER$i$0$0$initialize(cls,·Visibility.PRIVATE,·"initialize"); | 98 | ········javaMethod·=·(JavaMethod)new·X509CRL$INVOKER$i$0$0$initialize(cls,·Visibility.PRIVATE,·"initialize"); |
96 | ········populateMethod(javaMethod,·-1,·"initialize",·false,·false,·(Class)X509CRL.class,·"initialize",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject[].class,·Block.class·}); | 99 | ········populateMethod(javaMethod,·-1,·"initialize",·false,·false,·(Class)X509CRL.class,·"initialize",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject[].class,·Block.class·}); |
97 | ········cls.addMethodAtBootTimeOnly("initialize",·(DynamicMethod)javaMethod); | 100 | ········cls.addMethodAtBootTimeOnly("initialize",·(DynamicMethod)javaMethod); |
98 | ········javaMethod·=·(JavaMethod)new·X509CRL$INVOKER$i$0$0$ | 101 | ········javaMethod·=·(JavaMethod)new·X509CRL$INVOKER$i$0$0$last_update(cls,·Visibility.PUBLIC,·"last_update"); |
99 | ········populateMethod(javaMethod,·0,·" | 102 | ········populateMethod(javaMethod,·0,·"last_update",·false,·false,·(Class)X509CRL.class,·"last_update",·(Class)IRubyObject.class,·new·Class[0]); |
100 | ········cls.addMethodAtBootTimeOnly(" | 103 | ········cls.addMethodAtBootTimeOnly("last_update",·(DynamicMethod)javaMethod); |
101 | ········javaMethod·=·(JavaMethod)new·X509CRL$INVOKER$i$1$0$set_last_update(cls,·Visibility.PUBLIC,·"last_update="); | 104 | ········javaMethod·=·(JavaMethod)new·X509CRL$INVOKER$i$1$0$set_last_update(cls,·Visibility.PUBLIC,·"last_update="); |
102 | ········populateMethod(javaMethod,·1,·"set_last_update",·false,·false,·(Class)X509CRL.class,·"set_last_update",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); | 105 | ········populateMethod(javaMethod,·1,·"set_last_update",·false,·false,·(Class)X509CRL.class,·"set_last_update",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); |
103 | ········cls.addMethodAtBootTimeOnly("last_update=",·(DynamicMethod)javaMethod); | 106 | ········cls.addMethodAtBootTimeOnly("last_update=",·(DynamicMethod)javaMethod); |
104 | ········javaMethod·=·(JavaMethod)new·X509CRL$INVOKER$i$1$0$set_next_update(cls,·Visibility.PUBLIC,·"next_update="); | 107 | ········javaMethod·=·(JavaMethod)new·X509CRL$INVOKER$i$1$0$set_next_update(cls,·Visibility.PUBLIC,·"next_update="); |
Max diff block lines reached; 3711/18786 bytes (19.75%) of diff not shown. |
Offset 3, 39 lines modified | Offset 3, 39 lines modified | ||
3 | import·org.jruby.internal.runtime.methods.JavaMethod; | 3 | import·org.jruby.internal.runtime.methods.JavaMethod; |
4 | import·org.jruby.Ruby; | 4 | import·org.jruby.Ruby; |
5 | import·org.jruby.ext.openssl.X509Cert$INVOKER$i$1$0$check_private_key; | 5 | import·org.jruby.ext.openssl.X509Cert$INVOKER$i$1$0$check_private_key; |
6 | import·org.jruby.runtime.Block; | 6 | import·org.jruby.runtime.Block; |
7 | import·org.jruby.ext.openssl.X509Cert$INVOKER$i$0$1$initialize; | 7 | import·org.jruby.ext.openssl.X509Cert$INVOKER$i$0$1$initialize; |
8 | import·org.jruby.ext.openssl.X509Cert$INVOKER$i$0$0$not_before; | 8 | import·org.jruby.ext.openssl.X509Cert$INVOKER$i$0$0$not_before; |
9 | import·org.jruby.RubyArray; | ||
10 | import·org.jruby.ext.openssl.X509Cert$INVOKER$i$0$0$extensions; | ||
9 | import·org.jruby.ext.openssl.X509Cert$INVOKER$i$1$0$set_serial; | 11 | import·org.jruby.ext.openssl.X509Cert$INVOKER$i$1$0$set_serial; |
10 | import·org.jruby.ext.openssl.X509Cert$INVOKER$i$1$0$add_extension; | ||
11 | import·org.jruby.ext.openssl.X509Cert$INVOKER$i$1$0$set_subject; | 12 | import·org.jruby.ext.openssl.X509Cert$INVOKER$i$1$0$set_subject; |
12 | import·org.jruby.ext.openssl.X509Cert$INVOKER$i$0$0$to_pem; | 13 | import·org.jruby.ext.openssl.X509Cert$INVOKER$i$0$0$to_pem; |
13 | import·org.jruby.ext.openssl.X509Cert$INVOKER$i$0$0$version; | ||
14 | import·org.jruby.ext.openssl.X509Cert$INVOKER$i$0$0$subject; | 14 | import·org.jruby.ext.openssl.X509Cert$INVOKER$i$0$0$subject; |
15 | import·org.jruby.ext.openssl.X509Cert$INVOKER$i$0$0$issuer; | 15 | import·org.jruby.ext.openssl.X509Cert$INVOKER$i$0$0$issuer; |
16 | import·org.jruby.RubyBoolean; | ||
17 | import·org.jruby.ext.openssl.X509Cert$INVOKER$i$1$0$verify; | ||
18 | import·org.jruby.ext.openssl.X509Cert$INVOKER$i$0$0$public_key; | 16 | import·org.jruby.ext.openssl.X509Cert$INVOKER$i$0$0$public_key; |
19 | import·org.jruby.ext.openssl.X509Cert$INVOKER$i$2$0$sign; | 17 | import·org.jruby.ext.openssl.X509Cert$INVOKER$i$2$0$sign; |
20 | import·org.jruby.ext.openssl.X509Cert$INVOKER$i$0$0$ | 18 | import·org.jruby.ext.openssl.X509Cert$INVOKER$i$0$0$to_text; |
19 | import·org.jruby.ext.openssl.X509Cert$INVOKER$i$1$0$add_extension; | ||
20 | import·org.jruby.ext.openssl.X509Cert$INVOKER$i$0$0$to_der; | ||
21 | import·org.jruby.ext.openssl.X509Cert$INVOKER$i$1$0$initialize_copy; | ||
22 | import·org.jruby.ext.openssl.X509Cert$INVOKER$i$0$0$version; | ||
21 | import·org.jruby.ext.openssl.X509Cert$INVOKER$i$1$0$set_issuer; | 23 | import·org.jruby.ext.openssl.X509Cert$INVOKER$i$1$0$set_issuer; |
22 | import·org.jruby.Ruby | 24 | import·org.jruby.RubyBoolean; |
23 | import·org.jruby.ext.openssl.X509Cert$INVOKER$i$ | 25 | import·org.jruby.ext.openssl.X509Cert$INVOKER$i$1$0$verify; |
24 | import·org.jruby.ext.openssl.X509Cert$INVOKER$i$1$0$set_public_key; | 26 | import·org.jruby.ext.openssl.X509Cert$INVOKER$i$1$0$set_public_key; |
25 | import·org.jruby.ext.openssl.X509Cert$INVOKER$i$1$0$set_extensions; | 27 | import·org.jruby.ext.openssl.X509Cert$INVOKER$i$1$0$set_extensions; |
26 | import·org.jruby.ext.openssl.X509Cert$INVOKER$i$1$0$set_not_before; | 28 | import·org.jruby.ext.openssl.X509Cert$INVOKER$i$1$0$set_not_before; |
27 | import·org.jruby.ext.openssl.X509Cert$INVOKER$i$0$0$to_text; | ||
28 | import·org.jruby.ext.openssl.X509Cert$INVOKER$i$1$0$set_version; | 29 | import·org.jruby.ext.openssl.X509Cert$INVOKER$i$1$0$set_version; |
29 | import·org.jruby.ext.openssl.X509Cert$INVOKER$i$0$0$serial; | 30 | import·org.jruby.ext.openssl.X509Cert$INVOKER$i$0$0$serial; |
30 | import·org.jruby.ext.openssl.X509Cert$INVOKER$i$0$0$inspect; | 31 | import·org.jruby.ext.openssl.X509Cert$INVOKER$i$0$0$inspect; |
31 | import·org.jruby.ext.openssl.X509Cert$INVOKER$i$1$0$initialize_copy; | ||
32 | import·org.jruby.ext.openssl.X509Cert$INVOKER$i$0$0$to_der; | ||
33 | import·org.jruby.ext.openssl.X509Cert$INVOKER$i$0$0$not_after; | 32 | import·org.jruby.ext.openssl.X509Cert$INVOKER$i$0$0$not_after; |
33 | import·org.jruby.ext.openssl.X509Cert$INVOKER$i$0$0$signature_algorithm; | ||
34 | import·org.jruby.internal.runtime.methods.DynamicMethod; | 34 | import·org.jruby.internal.runtime.methods.DynamicMethod; |
35 | import·org.jruby.runtime.ThreadContext; | 35 | import·org.jruby.runtime.ThreadContext; |
36 | import·org.jruby.runtime.builtin.IRubyObject; | 36 | import·org.jruby.runtime.builtin.IRubyObject; |
37 | import·org.jruby.ext.openssl.X509Cert; | 37 | import·org.jruby.ext.openssl.X509Cert; |
38 | import·org.jruby.ext.openssl.X509Cert$INVOKER$i$1$0$set_not_after; | 38 | import·org.jruby.ext.openssl.X509Cert$INVOKER$i$1$0$set_not_after; |
39 | import·org.jruby.runtime.Visibility; | 39 | import·org.jruby.runtime.Visibility; |
40 | import·org.jruby.RubyModule; | 40 | import·org.jruby.RubyModule; |
Offset 44, 115 lines modified | Offset 44, 115 lines modified | ||
44 | public·class·org$jruby$ext$openssl$X509Cert$POPULATOR·extends·TypePopulator | 44 | public·class·org$jruby$ext$openssl$X509Cert$POPULATOR·extends·TypePopulator |
45 | { | 45 | { |
46 | ····public·void·populate(final·RubyModule·cls,·final·Class·clazz)·{ | 46 | ····public·void·populate(final·RubyModule·cls,·final·Class·clazz)·{ |
47 | ········final·Ruby·runtime·=·cls.getRuntime(); | 47 | ········final·Ruby·runtime·=·cls.getRuntime(); |
48 | ········JavaMethod·javaMethod·=·(JavaMethod)new·X509Cert$INVOKER$i$1$0$set_not_after(cls,·Visibility.PUBLIC,·"not_after="); | 48 | ········JavaMethod·javaMethod·=·(JavaMethod)new·X509Cert$INVOKER$i$1$0$set_not_after(cls,·Visibility.PUBLIC,·"not_after="); |
49 | ········populateMethod(javaMethod,·1,·"set_not_after",·false,·false,·(Class)X509Cert.class,·"set_not_after",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); | 49 | ········populateMethod(javaMethod,·1,·"set_not_after",·false,·false,·(Class)X509Cert.class,·"set_not_after",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); |
50 | ········cls.addMethodAtBootTimeOnly("not_after=",·(DynamicMethod)javaMethod); | 50 | ········cls.addMethodAtBootTimeOnly("not_after=",·(DynamicMethod)javaMethod); |
51 | ········javaMethod·=·(JavaMethod)new·X509Cert$INVOKER$i$0$0$signature_algorithm(cls,·Visibility.PUBLIC,·"signature_algorithm"); | ||
52 | ········populateMethod(javaMethod,·0,·"signature_algorithm",·false,·false,·(Class)X509Cert.class,·"signature_algorithm",·(Class)IRubyObject.class,·new·Class[0]); | ||
53 | ········cls.addMethodAtBootTimeOnly("signature_algorithm",·(DynamicMethod)javaMethod); | ||
51 | ········javaMethod·=·(JavaMethod)new·X509Cert$INVOKER$i$0$0$not_after(cls,·Visibility.PUBLIC,·"not_after"); | 54 | ········javaMethod·=·(JavaMethod)new·X509Cert$INVOKER$i$0$0$not_after(cls,·Visibility.PUBLIC,·"not_after"); |
52 | ········populateMethod(javaMethod,·0,·"not_after",·false,·false,·(Class)X509Cert.class,·"not_after",·(Class)IRubyObject.class,·new·Class[0]); | 55 | ········populateMethod(javaMethod,·0,·"not_after",·false,·false,·(Class)X509Cert.class,·"not_after",·(Class)IRubyObject.class,·new·Class[0]); |
53 | ········cls.addMethodAtBootTimeOnly("not_after",·(DynamicMethod)javaMethod); | 56 | ········cls.addMethodAtBootTimeOnly("not_after",·(DynamicMethod)javaMethod); |
54 | ········javaMethod·=·(JavaMethod)new·X509Cert$INVOKER$i$0$0$to_der(cls,·Visibility.PUBLIC,·"to_der"); | ||
55 | ········populateMethod(javaMethod,·0,·"to_der",·false,·false,·(Class)X509Cert.class,·"to_der",·(Class)IRubyObject.class,·new·Class[0]); | ||
56 | ········cls.addMethodAtBootTimeOnly("to_der",·(DynamicMethod)javaMethod); | ||
57 | ········javaMethod·=·(JavaMethod)new·X509Cert$INVOKER$i$1$0$initialize_copy(cls,·Visibility.PRIVATE,·"initialize_copy"); | ||
58 | ········populateMethod(javaMethod,·1,·"initialize_copy",·false,·false,·(Class)X509Cert.class,·"initialize_copy",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); | ||
59 | ········cls.addMethodAtBootTimeOnly("initialize_copy",·(DynamicMethod)javaMethod); | ||
60 | ········javaMethod·=·(JavaMethod)new·X509Cert$INVOKER$i$0$0$inspect(cls,·Visibility.PUBLIC,·"inspect"); | 57 | ········javaMethod·=·(JavaMethod)new·X509Cert$INVOKER$i$0$0$inspect(cls,·Visibility.PUBLIC,·"inspect"); |
61 | ········populateMethod(javaMethod,·0,·"inspect",·false,·false,·(Class)X509Cert.class,·"inspect",·(Class)IRubyObject.class,·new·Class[0]); | 58 | ········populateMethod(javaMethod,·0,·"inspect",·false,·false,·(Class)X509Cert.class,·"inspect",·(Class)IRubyObject.class,·new·Class[0]); |
62 | ········cls.addMethodAtBootTimeOnly("inspect",·(DynamicMethod)javaMethod); | 59 | ········cls.addMethodAtBootTimeOnly("inspect",·(DynamicMethod)javaMethod); |
63 | ········javaMethod·=·(JavaMethod)new·X509Cert$INVOKER$i$0$0$serial(cls,·Visibility.PUBLIC,·"serial"); | 60 | ········javaMethod·=·(JavaMethod)new·X509Cert$INVOKER$i$0$0$serial(cls,·Visibility.PUBLIC,·"serial"); |
64 | ········populateMethod(javaMethod,·0,·"serial",·false,·false,·(Class)X509Cert.class,·"serial",·(Class)IRubyObject.class,·new·Class[0]); | 61 | ········populateMethod(javaMethod,·0,·"serial",·false,·false,·(Class)X509Cert.class,·"serial",·(Class)IRubyObject.class,·new·Class[0]); |
65 | ········cls.addMethodAtBootTimeOnly("serial",·(DynamicMethod)javaMethod); | 62 | ········cls.addMethodAtBootTimeOnly("serial",·(DynamicMethod)javaMethod); |
66 | ········javaMethod·=·(JavaMethod)new·X509Cert$INVOKER$i$1$0$set_version(cls,·Visibility.PUBLIC,·"version="); | 63 | ········javaMethod·=·(JavaMethod)new·X509Cert$INVOKER$i$1$0$set_version(cls,·Visibility.PUBLIC,·"version="); |
67 | ········populateMethod(javaMethod,·1,·"set_version",·false,·false,·(Class)X509Cert.class,·"set_version",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); | 64 | ········populateMethod(javaMethod,·1,·"set_version",·false,·false,·(Class)X509Cert.class,·"set_version",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); |
68 | ········cls.addMethodAtBootTimeOnly("version=",·(DynamicMethod)javaMethod); | 65 | ········cls.addMethodAtBootTimeOnly("version=",·(DynamicMethod)javaMethod); |
69 | ········javaMethod·=·(JavaMethod)new·X509Cert$INVOKER$i$0$0$to_text(cls,·Visibility.PUBLIC,·"to_text"); | ||
70 | ········populateMethod(javaMethod,·0,·"to_text",·false,·false,·(Class)X509Cert.class,·"to_text",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); | ||
71 | ········cls.addMethodAtBootTimeOnly("to_text",·(DynamicMethod)javaMethod); | ||
72 | ········javaMethod·=·(JavaMethod)new·X509Cert$INVOKER$i$1$0$set_not_before(cls,·Visibility.PUBLIC,·"not_before="); | 66 | ········javaMethod·=·(JavaMethod)new·X509Cert$INVOKER$i$1$0$set_not_before(cls,·Visibility.PUBLIC,·"not_before="); |
73 | ········populateMethod(javaMethod,·1,·"set_not_before",·false,·false,·(Class)X509Cert.class,·"set_not_before",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); | 67 | ········populateMethod(javaMethod,·1,·"set_not_before",·false,·false,·(Class)X509Cert.class,·"set_not_before",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); |
74 | ········cls.addMethodAtBootTimeOnly("not_before=",·(DynamicMethod)javaMethod); | 68 | ········cls.addMethodAtBootTimeOnly("not_before=",·(DynamicMethod)javaMethod); |
75 | ········javaMethod·=·(JavaMethod)new·X509Cert$INVOKER$i$1$0$set_extensions(cls,·Visibility.PUBLIC,·"extensions="); | 69 | ········javaMethod·=·(JavaMethod)new·X509Cert$INVOKER$i$1$0$set_extensions(cls,·Visibility.PUBLIC,·"extensions="); |
76 | ········populateMethod(javaMethod,·1,·"set_extensions",·false,·false,·(Class)X509Cert.class,·"set_extensions",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); | 70 | ········populateMethod(javaMethod,·1,·"set_extensions",·false,·false,·(Class)X509Cert.class,·"set_extensions",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); |
77 | ········cls.addMethodAtBootTimeOnly("extensions=",·(DynamicMethod)javaMethod); | 71 | ········cls.addMethodAtBootTimeOnly("extensions=",·(DynamicMethod)javaMethod); |
78 | ········javaMethod·=·(JavaMethod)new·X509Cert$INVOKER$i$1$0$set_public_key(cls,·Visibility.PUBLIC,·"public_key="); | 72 | ········javaMethod·=·(JavaMethod)new·X509Cert$INVOKER$i$1$0$set_public_key(cls,·Visibility.PUBLIC,·"public_key="); |
79 | ········populateMethod(javaMethod,·1,·"set_public_key",·false,·false,·(Class)X509Cert.class,·"set_public_key",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); | 73 | ········populateMethod(javaMethod,·1,·"set_public_key",·false,·false,·(Class)X509Cert.class,·"set_public_key",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); |
80 | ········cls.addMethodAtBootTimeOnly("public_key=",·(DynamicMethod)javaMethod); | 74 | ········cls.addMethodAtBootTimeOnly("public_key=",·(DynamicMethod)javaMethod); |
81 | ········javaMethod·=·(JavaMethod)new·X509Cert$INVOKER$i$ | 75 | ········javaMethod·=·(JavaMethod)new·X509Cert$INVOKER$i$1$0$verify(cls,·Visibility.PUBLIC,·"verify"); |
82 | ········populateMethod(javaMethod,· | 76 | ········populateMethod(javaMethod,·1,·"verify",·false,·false,·(Class)X509Cert.class,·"verify",·(Class)RubyBoolean.class,·new·Class[]·{·IRubyObject.class·}); |
83 | ········cls.addMethodAtBootTimeOnly(" | 77 | ········cls.addMethodAtBootTimeOnly("verify",·(DynamicMethod)javaMethod); |
84 | ········javaMethod·=·(JavaMethod)new·X509Cert$INVOKER$i$1$0$set_issuer(cls,·Visibility.PUBLIC,·"issuer="); | 78 | ········javaMethod·=·(JavaMethod)new·X509Cert$INVOKER$i$1$0$set_issuer(cls,·Visibility.PUBLIC,·"issuer="); |
85 | ········populateMethod(javaMethod,·1,·"set_issuer",·false,·false,·(Class)X509Cert.class,·"set_issuer",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); | 79 | ········populateMethod(javaMethod,·1,·"set_issuer",·false,·false,·(Class)X509Cert.class,·"set_issuer",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); |
86 | ········cls.addMethodAtBootTimeOnly("issuer=",·(DynamicMethod)javaMethod); | 80 | ········cls.addMethodAtBootTimeOnly("issuer=",·(DynamicMethod)javaMethod); |
87 | ········javaMethod·=·(JavaMethod)new·X509Cert$INVOKER$i$0$0$ | 81 | ········javaMethod·=·(JavaMethod)new·X509Cert$INVOKER$i$0$0$version(cls,·Visibility.PUBLIC,·"version"); |
88 | ········populateMethod(javaMethod,·0,·" | 82 | ········populateMethod(javaMethod,·0,·"version",·false,·false,·(Class)X509Cert.class,·"version",·(Class)IRubyObject.class,·new·Class[0]); |
89 | ········cls.addMethodAtBootTimeOnly(" | 83 | ········cls.addMethodAtBootTimeOnly("version",·(DynamicMethod)javaMethod); |
84 | ········javaMethod·=·(JavaMethod)new·X509Cert$INVOKER$i$1$0$initialize_copy(cls,·Visibility.PRIVATE,·"initialize_copy"); | ||
85 | ········populateMethod(javaMethod,·1,·"initialize_copy",·false,·false,·(Class)X509Cert.class,·"initialize_copy",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); | ||
86 | ········cls.addMethodAtBootTimeOnly("initialize_copy",·(DynamicMethod)javaMethod); | ||
87 | ········javaMethod·=·(JavaMethod)new·X509Cert$INVOKER$i$0$0$to_der(cls,·Visibility.PUBLIC,·"to_der"); | ||
88 | ········populateMethod(javaMethod,·0,·"to_der",·false,·false,·(Class)X509Cert.class,·"to_der",·(Class)IRubyObject.class,·new·Class[0]); | ||
89 | ········cls.addMethodAtBootTimeOnly("to_der",·(DynamicMethod)javaMethod); | ||
90 | ········javaMethod·=·(JavaMethod)new·X509Cert$INVOKER$i$1$0$add_extension(cls,·Visibility.PUBLIC,·"add_extension"); | ||
91 | ········populateMethod(javaMethod,·1,·"add_extension",·false,·false,·(Class)X509Cert.class,·"add_extension",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); | ||
92 | ········cls.addMethodAtBootTimeOnly("add_extension",·(DynamicMethod)javaMethod); | ||
93 | ········javaMethod·=·(JavaMethod)new·X509Cert$INVOKER$i$0$0$to_text(cls,·Visibility.PUBLIC,·"to_text"); | ||
94 | ········populateMethod(javaMethod,·0,·"to_text",·false,·false,·(Class)X509Cert.class,·"to_text",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); | ||
95 | ········cls.addMethodAtBootTimeOnly("to_text",·(DynamicMethod)javaMethod); | ||
90 | ········javaMethod·=·(JavaMethod)new·X509Cert$INVOKER$i$2$0$sign(cls,·Visibility.PUBLIC,·"sign"); | 96 | ········javaMethod·=·(JavaMethod)new·X509Cert$INVOKER$i$2$0$sign(cls,·Visibility.PUBLIC,·"sign"); |
91 | ········populateMethod(javaMethod,·2,·"sign",·false,·false,·(Class)X509Cert.class,·"sign",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class,·IRubyObject.class·}); | 97 | ········populateMethod(javaMethod,·2,·"sign",·false,·false,·(Class)X509Cert.class,·"sign",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class,·IRubyObject.class·}); |
92 | ········cls.addMethodAtBootTimeOnly("sign",·(DynamicMethod)javaMethod); | 98 | ········cls.addMethodAtBootTimeOnly("sign",·(DynamicMethod)javaMethod); |
93 | ········javaMethod·=·(JavaMethod)new·X509Cert$INVOKER$i$0$0$public_key(cls,·Visibility.PUBLIC,·"public_key"); | 99 | ········javaMethod·=·(JavaMethod)new·X509Cert$INVOKER$i$0$0$public_key(cls,·Visibility.PUBLIC,·"public_key"); |
94 | ········populateMethod(javaMethod,·0,·"public_key",·false,·false,·(Class)X509Cert.class,·"public_key",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); | 100 | ········populateMethod(javaMethod,·0,·"public_key",·false,·false,·(Class)X509Cert.class,·"public_key",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); |
95 | ········cls.addMethodAtBootTimeOnly("public_key",·(DynamicMethod)javaMethod); | 101 | ········cls.addMethodAtBootTimeOnly("public_key",·(DynamicMethod)javaMethod); |
96 | ········javaMethod·=·(JavaMethod)new·X509Cert$INVOKER$i$1$0$verify(cls,·Visibility.PUBLIC,·"verify"); | ||
97 | ········populateMethod(javaMethod,·1,·"verify",·false,·false,·(Class)X509Cert.class,·"verify",·(Class)RubyBoolean.class,·new·Class[]·{·IRubyObject.class·}); | ||
98 | ········cls.addMethodAtBootTimeOnly("verify",·(DynamicMethod)javaMethod); | ||
99 | ········javaMethod·=·(JavaMethod)new·X509Cert$INVOKER$i$0$0$issuer(cls,·Visibility.PUBLIC,·"issuer"); | 102 | ········javaMethod·=·(JavaMethod)new·X509Cert$INVOKER$i$0$0$issuer(cls,·Visibility.PUBLIC,·"issuer"); |
100 | ········populateMethod(javaMethod,·0,·"issuer",·false,·false,·(Class)X509Cert.class,·"issuer",·(Class)IRubyObject.class,·new·Class[0]); | 103 | ········populateMethod(javaMethod,·0,·"issuer",·false,·false,·(Class)X509Cert.class,·"issuer",·(Class)IRubyObject.class,·new·Class[0]); |
101 | ········cls.addMethodAtBootTimeOnly("issuer",·(DynamicMethod)javaMethod); | 104 | ········cls.addMethodAtBootTimeOnly("issuer",·(DynamicMethod)javaMethod); |
102 | ········javaMethod·=·(JavaMethod)new·X509Cert$INVOKER$i$0$0$subject(cls,·Visibility.PUBLIC,·"subject"); | 105 | ········javaMethod·=·(JavaMethod)new·X509Cert$INVOKER$i$0$0$subject(cls,·Visibility.PUBLIC,·"subject"); |
103 | ········populateMethod(javaMethod,·0,·"subject",·false,·false,·(Class)X509Cert.class,·"subject",·(Class)IRubyObject.class,·new·Class[0]); | 106 | ········populateMethod(javaMethod,·0,·"subject",·false,·false,·(Class)X509Cert.class,·"subject",·(Class)IRubyObject.class,·new·Class[0]); |
104 | ········cls.addMethodAtBootTimeOnly("subject",·(DynamicMethod)javaMethod); | 107 | ········cls.addMethodAtBootTimeOnly("subject",·(DynamicMethod)javaMethod); |
105 | ········javaMethod·=·(JavaMethod)new·X509Cert$INVOKER$i$0$0$version(cls,·Visibility.PUBLIC,·"version"); | ||
106 | ········populateMethod(javaMethod,·0,·"version",·false,·false,·(Class)X509Cert.class,·"version",·(Class)IRubyObject.class,·new·Class[0]); | ||
107 | ········cls.addMethodAtBootTimeOnly("version",·(DynamicMethod)javaMethod); | ||
108 | ········javaMethod·=·(JavaMethod)new·X509Cert$INVOKER$i$0$0$to_pem(cls,·Visibility.PUBLIC,·"to_pem"); | 108 | ········javaMethod·=·(JavaMethod)new·X509Cert$INVOKER$i$0$0$to_pem(cls,·Visibility.PUBLIC,·"to_pem"); |
Max diff block lines reached; 5998/18656 bytes (32.15%) of diff not shown. |
Offset 3, 17 lines modified | Offset 3, 17 lines modified | ||
3 | import·org.jruby.internal.runtime.methods.JavaMethod; | 3 | import·org.jruby.internal.runtime.methods.JavaMethod; |
4 | import·org.jruby.Ruby; | 4 | import·org.jruby.Ruby; |
5 | import·org.jruby.ext.openssl.X509Extension$INVOKER$i$1$0$set_critical; | 5 | import·org.jruby.ext.openssl.X509Extension$INVOKER$i$1$0$set_critical; |
6 | import·org.jruby.ext.openssl.X509Extension$INVOKER$i$0$0$oid; | 6 | import·org.jruby.ext.openssl.X509Extension$INVOKER$i$0$0$oid; |
7 | import·org.jruby.ext.openssl.X509Extension$INVOKER$i$0$0$initialize; | 7 | import·org.jruby.ext.openssl.X509Extension$INVOKER$i$0$0$initialize; |
8 | import·org.jruby.ext.openssl.X509Extension$INVOKER$i$0$0$inspect; | 8 | import·org.jruby.ext.openssl.X509Extension$INVOKER$i$0$0$inspect; |
9 | import·org.jruby.ext.openssl.X509Extension$INVOKER$i$0$0$to_der; | ||
9 | import·org.jruby.ext.openssl.X509Extension$INVOKER$i$1$0$set_value; | 10 | import·org.jruby.ext.openssl.X509Extension$INVOKER$i$1$0$set_value; |
10 | import·org.jruby.ext.openssl.X509Extension$INVOKER$i$0$0$to_s; | 11 | import·org.jruby.ext.openssl.X509Extension$INVOKER$i$0$0$to_s; |
11 | import·org.jruby.ext.openssl.X509Extension$INVOKER$i$0$0$to_der; | ||
12 | import·org.jruby.ext.openssl.X509Extension$INVOKER$i$1$0$set_oid; | 12 | import·org.jruby.ext.openssl.X509Extension$INVOKER$i$1$0$set_oid; |
13 | import·org.jruby.RubyHash; | 13 | import·org.jruby.RubyHash; |
14 | import·org.jruby.ext.openssl.X509Extension$INVOKER$i$0$0$to_h; | 14 | import·org.jruby.ext.openssl.X509Extension$INVOKER$i$0$0$to_h; |
15 | import·org.jruby.RubyArray; | 15 | import·org.jruby.RubyArray; |
16 | import·org.jruby.ext.openssl.X509Extension$INVOKER$i$0$0$to_a; | 16 | import·org.jruby.ext.openssl.X509Extension$INVOKER$i$0$0$to_a; |
17 | import·org.jruby.runtime.builtin.IRubyObject; | 17 | import·org.jruby.runtime.builtin.IRubyObject; |
18 | import·org.jruby.ext.openssl.X509Extension$INVOKER$i$0$0$critical_p; | 18 | import·org.jruby.ext.openssl.X509Extension$INVOKER$i$0$0$critical_p; |
Offset 41, 23 lines modified | Offset 41, 23 lines modified | ||
41 | ········cls.addMethodAtBootTimeOnly("to_a",·(DynamicMethod)javaMethod); | 41 | ········cls.addMethodAtBootTimeOnly("to_a",·(DynamicMethod)javaMethod); |
42 | ········javaMethod·=·(JavaMethod)new·X509Extension$INVOKER$i$0$0$to_h(cls,·Visibility.PUBLIC,·"to_h"); | 42 | ········javaMethod·=·(JavaMethod)new·X509Extension$INVOKER$i$0$0$to_h(cls,·Visibility.PUBLIC,·"to_h"); |
43 | ········populateMethod(javaMethod,·0,·"to_h",·false,·false,·(Class)X509Extension.class,·"to_h",·(Class)RubyHash.class,·new·Class[]·{·ThreadContext.class·}); | 43 | ········populateMethod(javaMethod,·0,·"to_h",·false,·false,·(Class)X509Extension.class,·"to_h",·(Class)RubyHash.class,·new·Class[]·{·ThreadContext.class·}); |
44 | ········cls.addMethodAtBootTimeOnly("to_h",·(DynamicMethod)javaMethod); | 44 | ········cls.addMethodAtBootTimeOnly("to_h",·(DynamicMethod)javaMethod); |
45 | ········javaMethod·=·(JavaMethod)new·X509Extension$INVOKER$i$1$0$set_oid(cls,·Visibility.PUBLIC,·"oid="); | 45 | ········javaMethod·=·(JavaMethod)new·X509Extension$INVOKER$i$1$0$set_oid(cls,·Visibility.PUBLIC,·"oid="); |
46 | ········populateMethod(javaMethod,·1,·"set_oid",·false,·false,·(Class)X509Extension.class,·"set_oid",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); | 46 | ········populateMethod(javaMethod,·1,·"set_oid",·false,·false,·(Class)X509Extension.class,·"set_oid",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); |
47 | ········cls.addMethodAtBootTimeOnly("oid=",·(DynamicMethod)javaMethod); | 47 | ········cls.addMethodAtBootTimeOnly("oid=",·(DynamicMethod)javaMethod); |
48 | ········javaMethod·=·(JavaMethod)new·X509Extension$INVOKER$i$0$0$to_der(cls,·Visibility.PUBLIC,·"to_der"); | ||
49 | ········populateMethod(javaMethod,·0,·"to_der",·false,·false,·(Class)X509Extension.class,·"to_der",·(Class)IRubyObject.class,·new·Class[0]); | ||
50 | ········cls.addMethodAtBootTimeOnly("to_der",·(DynamicMethod)javaMethod); | ||
51 | ········javaMethod·=·(JavaMethod)new·X509Extension$INVOKER$i$0$0$to_s(cls,·Visibility.PUBLIC,·"to_s"); | 48 | ········javaMethod·=·(JavaMethod)new·X509Extension$INVOKER$i$0$0$to_s(cls,·Visibility.PUBLIC,·"to_s"); |
52 | ········populateMethod(javaMethod,·0,·"to_s",·false,·false,·(Class)X509Extension.class,·"to_s",·(Class)RubyString.class,·new·Class[]·{·ThreadContext.class·}); | 49 | ········populateMethod(javaMethod,·0,·"to_s",·false,·false,·(Class)X509Extension.class,·"to_s",·(Class)RubyString.class,·new·Class[]·{·ThreadContext.class·}); |
53 | ········cls.addMethodAtBootTimeOnly("to_s",·(DynamicMethod)javaMethod); | 50 | ········cls.addMethodAtBootTimeOnly("to_s",·(DynamicMethod)javaMethod); |
54 | ········javaMethod·=·(JavaMethod)new·X509Extension$INVOKER$i$1$0$set_value(cls,·Visibility.PUBLIC,·"value="); | 51 | ········javaMethod·=·(JavaMethod)new·X509Extension$INVOKER$i$1$0$set_value(cls,·Visibility.PUBLIC,·"value="); |
55 | ········populateMethod(javaMethod,·1,·"set_value",·false,·false,·(Class)X509Extension.class,·"set_value",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); | 52 | ········populateMethod(javaMethod,·1,·"set_value",·false,·false,·(Class)X509Extension.class,·"set_value",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); |
56 | ········cls.addMethodAtBootTimeOnly("value=",·(DynamicMethod)javaMethod); | 53 | ········cls.addMethodAtBootTimeOnly("value=",·(DynamicMethod)javaMethod); |
54 | ········javaMethod·=·(JavaMethod)new·X509Extension$INVOKER$i$0$0$to_der(cls,·Visibility.PUBLIC,·"to_der"); | ||
55 | ········populateMethod(javaMethod,·0,·"to_der",·false,·false,·(Class)X509Extension.class,·"to_der",·(Class)IRubyObject.class,·new·Class[0]); | ||
56 | ········cls.addMethodAtBootTimeOnly("to_der",·(DynamicMethod)javaMethod); | ||
57 | ········javaMethod·=·(JavaMethod)new·X509Extension$INVOKER$i$0$0$inspect(cls,·Visibility.PUBLIC,·"inspect"); | 57 | ········javaMethod·=·(JavaMethod)new·X509Extension$INVOKER$i$0$0$inspect(cls,·Visibility.PUBLIC,·"inspect"); |
58 | ········populateMethod(javaMethod,·0,·"inspect",·false,·false,·(Class)X509Extension.class,·"inspect",·(Class)IRubyObject.class,·new·Class[0]); | 58 | ········populateMethod(javaMethod,·0,·"inspect",·false,·false,·(Class)X509Extension.class,·"inspect",·(Class)IRubyObject.class,·new·Class[0]); |
59 | ········cls.addMethodAtBootTimeOnly("inspect",·(DynamicMethod)javaMethod); | 59 | ········cls.addMethodAtBootTimeOnly("inspect",·(DynamicMethod)javaMethod); |
60 | ········javaMethod·=·(JavaMethod)new·X509Extension$INVOKER$i$0$0$initialize(cls,·Visibility.PRIVATE,·"initialize"); | 60 | ········javaMethod·=·(JavaMethod)new·X509Extension$INVOKER$i$0$0$initialize(cls,·Visibility.PRIVATE,·"initialize"); |
61 | ········populateMethod(javaMethod,·-1,·"initialize",·false,·false,·(Class)X509Extension.class,·"initialize",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject[].class·}); | 61 | ········populateMethod(javaMethod,·-1,·"initialize",·false,·false,·(Class)X509Extension.class,·"initialize",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject[].class·}); |
62 | ········cls.addMethodAtBootTimeOnly("initialize",·(DynamicMethod)javaMethod); | 62 | ········cls.addMethodAtBootTimeOnly("initialize",·(DynamicMethod)javaMethod); |
63 | ········javaMethod·=·(JavaMethod)new·X509Extension$INVOKER$i$0$0$oid(cls,·Visibility.PUBLIC,·"oid"); | 63 | ········javaMethod·=·(JavaMethod)new·X509Extension$INVOKER$i$0$0$oid(cls,·Visibility.PUBLIC,·"oid"); |
Offset 67, 16 lines modified | Offset 67, 16 lines modified | ||
67 | ········populateMethod(javaMethod,·1,·"set_critical",·false,·false,·(Class)X509Extension.class,·"set_critical",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); | 67 | ········populateMethod(javaMethod,·1,·"set_critical",·false,·false,·(Class)X509Extension.class,·"set_critical",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); |
68 | ········cls.addMethodAtBootTimeOnly("critical=",·(DynamicMethod)javaMethod); | 68 | ········cls.addMethodAtBootTimeOnly("critical=",·(DynamicMethod)javaMethod); |
69 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Extension",·"value",·"value"); | 69 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Extension",·"value",·"value"); |
70 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Extension",·"critical_p",·"critical?"); | 70 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Extension",·"critical_p",·"critical?"); |
71 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Extension",·"to_a",·"to_a"); | 71 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Extension",·"to_a",·"to_a"); |
72 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Extension",·"to_h",·"to_h"); | 72 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Extension",·"to_h",·"to_h"); |
73 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Extension",·"set_oid",·"oid="); | 73 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Extension",·"set_oid",·"oid="); |
74 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Extension",·"to_der",·"to_der"); | ||
75 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Extension",·"to_s",·"to_s"); | 74 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Extension",·"to_s",·"to_s"); |
76 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Extension",·"set_value",·"value="); | 75 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Extension",·"set_value",·"value="); |
76 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Extension",·"to_der",·"to_der"); | ||
77 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Extension",·"inspect",·"inspect"); | 77 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Extension",·"inspect",·"inspect"); |
78 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Extension",·"initialize",·"initialize"); | 78 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Extension",·"initialize",·"initialize"); |
79 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Extension",·"oid",·"oid"); | 79 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Extension",·"oid",·"oid"); |
80 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Extension",·"set_critical",·"critical="); | 80 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Extension",·"set_critical",·"critical="); |
81 | ····} | 81 | ····} |
82 | } | 82 | } |
Offset 1, 18 lines modified | Offset 1, 18 lines modified | ||
1 | package·org.jruby.gen; | 1 | package·org.jruby.gen; |
2 | import·org.jruby.internal.runtime.methods.JavaMethod; | 2 | import·org.jruby.internal.runtime.methods.JavaMethod; |
3 | import·org.jruby.Ruby; | 3 | import·org.jruby.Ruby; |
4 | import·org.jruby.RubyString; | ||
5 | import·org.jruby.ext.openssl.X509Name$INVOKER$i$0$0$to_der; | ||
4 | import·org.jruby.ext.openssl.X509Name$INVOKER$i$0$0$inspect; | 6 | import·org.jruby.ext.openssl.X509Name$INVOKER$i$0$0$inspect; |
5 | import·org.jruby.ext.openssl.X509Name$INVOKER$i$add_entry; | 7 | import·org.jruby.ext.openssl.X509Name$INVOKER$i$add_entry; |
6 | import·org.jruby.ext.openssl.X509Name$INVOKER$i$0$0$to_s; | 8 | import·org.jruby.ext.openssl.X509Name$INVOKER$i$0$0$to_s; |
7 | import·org.jruby.ext.openssl.X509Name$INVOKER$i$initialize; | 9 | import·org.jruby.ext.openssl.X509Name$INVOKER$i$initialize; |
8 | import·org.jruby.RubyString; | ||
9 | import·org.jruby.ext.openssl.X509Name$INVOKER$i$0$0$to_der; | ||
10 | import·org.jruby.ext.openssl.X509Name$INVOKER$i$1$0$cmp; | 10 | import·org.jruby.ext.openssl.X509Name$INVOKER$i$1$0$cmp; |
11 | import·org.jruby.RubyFixnum; | 11 | import·org.jruby.RubyFixnum; |
12 | import·org.jruby.ext.openssl.X509Name$INVOKER$i$0$0$hash; | 12 | import·org.jruby.ext.openssl.X509Name$INVOKER$i$0$0$hash; |
13 | import·org.jruby.RubyArray; | 13 | import·org.jruby.RubyArray; |
14 | import·org.jruby.ext.openssl.X509Name$INVOKER$i$0$0$to_a; | 14 | import·org.jruby.ext.openssl.X509Name$INVOKER$i$0$0$to_a; |
15 | import·org.jruby.internal.runtime.methods.DynamicMethod; | 15 | import·org.jruby.internal.runtime.methods.DynamicMethod; |
16 | import·org.jruby.runtime.builtin.IRubyObject; | 16 | import·org.jruby.runtime.builtin.IRubyObject; |
Offset 37, 33 lines modified | Offset 37, 33 lines modified | ||
37 | ········javaMethod·=·(JavaMethod)new·X509Name$INVOKER$i$0$0$hash(cls,·Visibility.PUBLIC,·"hash"); | 37 | ········javaMethod·=·(JavaMethod)new·X509Name$INVOKER$i$0$0$hash(cls,·Visibility.PUBLIC,·"hash"); |
38 | ········populateMethod(javaMethod,·0,·"hash",·false,·false,·(Class)X509Name.class,·"hash",·(Class)RubyFixnum.class,·new·Class[0]); | 38 | ········populateMethod(javaMethod,·0,·"hash",·false,·false,·(Class)X509Name.class,·"hash",·(Class)RubyFixnum.class,·new·Class[0]); |
39 | ········cls.addMethodAtBootTimeOnly("hash",·(DynamicMethod)javaMethod); | 39 | ········cls.addMethodAtBootTimeOnly("hash",·(DynamicMethod)javaMethod); |
40 | ········javaMethod·=·(JavaMethod)new·X509Name$INVOKER$i$1$0$cmp(cls,·Visibility.PUBLIC,·"cmp"); | 40 | ········javaMethod·=·(JavaMethod)new·X509Name$INVOKER$i$1$0$cmp(cls,·Visibility.PUBLIC,·"cmp"); |
41 | ········populateMethod(javaMethod,·1,·"cmp",·false,·false,·(Class)X509Name.class,·"cmp",·(Class)RubyFixnum.class,·new·Class[]·{·IRubyObject.class·}); | 41 | ········populateMethod(javaMethod,·1,·"cmp",·false,·false,·(Class)X509Name.class,·"cmp",·(Class)RubyFixnum.class,·new·Class[]·{·IRubyObject.class·}); |
42 | ········cls.addMethodAtBootTimeOnly("cmp",·(DynamicMethod)javaMethod); | 42 | ········cls.addMethodAtBootTimeOnly("cmp",·(DynamicMethod)javaMethod); |
43 | ········cls.addMethodAtBootTimeOnly("<=>",·(DynamicMethod)javaMethod); | 43 | ········cls.addMethodAtBootTimeOnly("<=>",·(DynamicMethod)javaMethod); |
44 | ········javaMethod·=·(JavaMethod)new·X509Name$INVOKER$i$0$0$to_der(cls,·Visibility.PUBLIC,·"to_der"); | ||
45 | ········populateMethod(javaMethod,·0,·"to_der",·false,·false,·(Class)X509Name.class,·"to_der",·(Class)RubyString.class,·new·Class[]·{·ThreadContext.class·}); | ||
46 | ········cls.addMethodAtBootTimeOnly("to_der",·(DynamicMethod)javaMethod); | ||
47 | ········javaMethod·=·(JavaMethod)new·X509Name$INVOKER$i$initialize(cls,·Visibility.PRIVATE,·"initialize"); | 44 | ········javaMethod·=·(JavaMethod)new·X509Name$INVOKER$i$initialize(cls,·Visibility.PRIVATE,·"initialize"); |
48 | ········populateMethod(javaMethod,·-1,·"initialize",·false,·false,·(Class)X509Name.class,·"initialize",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); | 45 | ········populateMethod(javaMethod,·-1,·"initialize",·false,·false,·(Class)X509Name.class,·"initialize",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); |
49 | ········cls.addMethodAtBootTimeOnly("initialize",·(DynamicMethod)javaMethod); | 46 | ········cls.addMethodAtBootTimeOnly("initialize",·(DynamicMethod)javaMethod); |
50 | ········javaMethod·=·(JavaMethod)new·X509Name$INVOKER$i$0$0$to_s(cls,·Visibility.PUBLIC,·"to_s"); | 47 | ········javaMethod·=·(JavaMethod)new·X509Name$INVOKER$i$0$0$to_s(cls,·Visibility.PUBLIC,·"to_s"); |
51 | ········populateMethod(javaMethod,·-1,·"to_s",·false,·false,·(Class)X509Name.class,·"to_s",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject[].class·}); | 48 | ········populateMethod(javaMethod,·-1,·"to_s",·false,·false,·(Class)X509Name.class,·"to_s",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject[].class·}); |
52 | ········cls.addMethodAtBootTimeOnly("to_s",·(DynamicMethod)javaMethod); | 49 | ········cls.addMethodAtBootTimeOnly("to_s",·(DynamicMethod)javaMethod); |
53 | ········javaMethod·=·(JavaMethod)new·X509Name$INVOKER$i$add_entry(cls,·Visibility.PUBLIC,·"add_entry"); | 50 | ········javaMethod·=·(JavaMethod)new·X509Name$INVOKER$i$add_entry(cls,·Visibility.PUBLIC,·"add_entry"); |
54 | ········populateMethod(javaMethod,·-1,·"add_entry",·false,·false,·(Class)X509Name.class,·"add_entry",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class,·IRubyObject.class·}); | 51 | ········populateMethod(javaMethod,·-1,·"add_entry",·false,·false,·(Class)X509Name.class,·"add_entry",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class,·IRubyObject.class·}); |
55 | ········cls.addMethodAtBootTimeOnly("add_entry",·(DynamicMethod)javaMethod); | 52 | ········cls.addMethodAtBootTimeOnly("add_entry",·(DynamicMethod)javaMethod); |
56 | ········javaMethod·=·(JavaMethod)new·X509Name$INVOKER$i$0$0$inspect(cls,·Visibility.PUBLIC,·"inspect"); | 53 | ········javaMethod·=·(JavaMethod)new·X509Name$INVOKER$i$0$0$inspect(cls,·Visibility.PUBLIC,·"inspect"); |
57 | ········populateMethod(javaMethod,·0,·"inspect",·false,·false,·(Class)X509Name.class,·"inspect",·(Class)IRubyObject.class,·new·Class[0]); | 54 | ········populateMethod(javaMethod,·0,·"inspect",·false,·false,·(Class)X509Name.class,·"inspect",·(Class)IRubyObject.class,·new·Class[0]); |
58 | ········cls.addMethodAtBootTimeOnly("inspect",·(DynamicMethod)javaMethod); | 55 | ········cls.addMethodAtBootTimeOnly("inspect",·(DynamicMethod)javaMethod); |
56 | ········javaMethod·=·(JavaMethod)new·X509Name$INVOKER$i$0$0$to_der(cls,·Visibility.PUBLIC,·"to_der"); | ||
57 | ········populateMethod(javaMethod,·0,·"to_der",·false,·false,·(Class)X509Name.class,·"to_der",·(Class)RubyString.class,·new·Class[]·{·ThreadContext.class·}); | ||
58 | ········cls.addMethodAtBootTimeOnly("to_der",·(DynamicMethod)javaMethod); | ||
59 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Name",·"eql_p",·"eql?"); | 59 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Name",·"eql_p",·"eql?"); |
60 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Name",·"to_a",·"to_a"); | 60 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Name",·"to_a",·"to_a"); |
61 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Name",·"hash",·"hash"); | 61 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Name",·"hash",·"hash"); |
62 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Name",·"cmp",·"cmp"); | 62 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Name",·"cmp",·"cmp"); |
63 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Name",·"to_der",·"to_der"); | ||
64 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Name",·"initialize",·"initialize"); | 63 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Name",·"initialize",·"initialize"); |
65 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Name",·"to_s",·"to_s"); | 64 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Name",·"to_s",·"to_s"); |
66 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Name",·"add_entry",·"add_entry"); | 65 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Name",·"add_entry",·"add_entry"); |
67 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Name",·"inspect",·"inspect"); | 66 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Name",·"inspect",·"inspect"); |
67 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Name",·"to_der",·"to_der"); | ||
68 | ····} | 68 | ····} |
69 | } | 69 | } |
Offset 1, 106 lines modified | Offset 1, 106 lines modified | ||
1 | package·org.jruby.gen; | 1 | package·org.jruby.gen; |
2 | import·org.jruby.internal.runtime.methods.JavaMethod; | 2 | import·org.jruby.internal.runtime.methods.JavaMethod; |
3 | import·org.jruby.Ruby; | 3 | import·org.jruby.Ruby; |
4 | import·org.jruby.ext.openssl.X509Request$INVOKER$i$0$0$signature_algorithm; | ||
5 | import·org.jruby.ext.openssl.X509Request$INVOKER$i$0$0$initialize; | 4 | import·org.jruby.ext.openssl.X509Request$INVOKER$i$0$0$initialize; |
5 | import·org.jruby.ext.openssl.X509Request$INVOKER$i$0$0$to_der; | ||
6 | import·org.jruby.ext.openssl.X509Request$INVOKER$i$1$0$add_attribute; | 6 | import·org.jruby.ext.openssl.X509Request$INVOKER$i$1$0$add_attribute; |
7 | import·org.jruby.ext.openssl.X509Request$INVOKER$i$1$0$initialize_copy; | ||
8 | import·org.jruby.ext.openssl.X509Request$INVOKER$i$0$0$version; | ||
7 | import·org.jruby.ext.openssl.X509Request$INVOKER$i$1$0$set_subject; | 9 | import·org.jruby.ext.openssl.X509Request$INVOKER$i$1$0$set_subject; |
10 | import·org.jruby.ext.openssl.X509Request$INVOKER$i$1$0$verify; | ||
8 | import·org.jruby.ext.openssl.X509Request$INVOKER$i$1$0$set_public_key; | 11 | import·org.jruby.ext.openssl.X509Request$INVOKER$i$1$0$set_public_key; |
12 | import·org.jruby.RubyString; | ||
9 | import·org.jruby.ext.openssl.X509Request$INVOKER$i$0$0$to_pem; | 13 | import·org.jruby.ext.openssl.X509Request$INVOKER$i$0$0$to_pem; |
10 | import·org.jruby.ext.openssl.X509Request$INVOKER$i$0$0$version; | ||
11 | import·org.jruby.ext.openssl.X509Request$INVOKER$i$0$0$to_text; | ||
12 | import·org.jruby.ext.openssl.X509Request$INVOKER$i$0$0$attributes; | 14 | import·org.jruby.ext.openssl.X509Request$INVOKER$i$0$0$attributes; |
13 | import·org.jruby.ext.openssl.X509Request$INVOKER$i$0$0$subject; | 15 | import·org.jruby.ext.openssl.X509Request$INVOKER$i$0$0$subject; |
14 | import·org.jruby.ext.openssl.X509Request$INVOKER$i$1$0$set_version; | 16 | import·org.jruby.ext.openssl.X509Request$INVOKER$i$1$0$set_version; |
15 | import·org.jruby.ext.openssl.X509Request$INVOKER$i$ | 17 | import·org.jruby.ext.openssl.X509Request$INVOKER$i$0$0$signature_algorithm; |
16 | import·org.jruby.ext.openssl.X509Request$INVOKER$i$1$0$verify; | ||
17 | import·org.jruby.RubyString; | ||
18 | import·org.jruby.ext.openssl.X509Request$INVOKER$i$0$0$to_der; | ||
19 | import·org.jruby.ext.openssl.X509Request$INVOKER$i$1$0$set_attributes; | 18 | import·org.jruby.ext.openssl.X509Request$INVOKER$i$1$0$set_attributes; |
20 | import·org.jruby.ext.openssl.X509Request$INVOKER$i$0$0$public_key; | 19 | import·org.jruby.ext.openssl.X509Request$INVOKER$i$0$0$public_key; |
20 | import·org.jruby.ext.openssl.X509Request$INVOKER$i$2$0$sign; | ||
21 | import·org.jruby.internal.runtime.methods.DynamicMethod; | 21 | import·org.jruby.internal.runtime.methods.DynamicMethod; |
22 | import·org.jruby.runtime.ThreadContext; | 22 | import·org.jruby.runtime.ThreadContext; |
23 | import·org.jruby.runtime.builtin.IRubyObject; | 23 | import·org.jruby.runtime.builtin.IRubyObject; |
24 | import·org.jruby.ext.openssl.X509Request; | 24 | import·org.jruby.ext.openssl.X509Request; |
25 | import·org.jruby.ext.openssl.X509Request$INVOKER$i$ | 25 | import·org.jruby.ext.openssl.X509Request$INVOKER$i$0$0$to_text; |
26 | import·org.jruby.runtime.Visibility; | 26 | import·org.jruby.runtime.Visibility; |
27 | import·org.jruby.RubyModule; | 27 | import·org.jruby.RubyModule; |
28 | import·org.jruby.anno.TypePopulator; | 28 | import·org.jruby.anno.TypePopulator; |
29 | public·class·org$jruby$ext$openssl$X509Request$POPULATOR·extends·TypePopulator | 29 | public·class·org$jruby$ext$openssl$X509Request$POPULATOR·extends·TypePopulator |
30 | { | 30 | { |
31 | ····public·void·populate(final·RubyModule·cls,·final·Class·clazz)·{ | 31 | ····public·void·populate(final·RubyModule·cls,·final·Class·clazz)·{ |
32 | ········final·Ruby·runtime·=·cls.getRuntime(); | 32 | ········final·Ruby·runtime·=·cls.getRuntime(); |
33 | ········JavaMethod·javaMethod·=·(JavaMethod)new·X509Request$INVOKER$i$ | 33 | ········JavaMethod·javaMethod·=·(JavaMethod)new·X509Request$INVOKER$i$0$0$to_text(cls,·Visibility.PUBLIC,·"to_text"); |
34 | ········populateMethod(javaMethod,·0,·"to_text",·false,·false,·(Class)X509Request.class,·"to_text",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); | ||
35 | ········cls.addMethodAtBootTimeOnly("to_text",·(DynamicMethod)javaMethod); | ||
36 | ········javaMethod·=·(JavaMethod)new·X509Request$INVOKER$i$2$0$sign(cls,·Visibility.PUBLIC,·"sign"); | ||
34 | ········populateMethod(javaMethod,·2,·"sign",·false,·false,·(Class)X509Request.class,·"sign",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class,·IRubyObject.class·}); | 37 | ········populateMethod(javaMethod,·2,·"sign",·false,·false,·(Class)X509Request.class,·"sign",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class,·IRubyObject.class·}); |
35 | ········cls.addMethodAtBootTimeOnly("sign",·(DynamicMethod)javaMethod); | 38 | ········cls.addMethodAtBootTimeOnly("sign",·(DynamicMethod)javaMethod); |
36 | ········javaMethod·=·(JavaMethod)new·X509Request$INVOKER$i$0$0$public_key(cls,·Visibility.PUBLIC,·"public_key"); | 39 | ········javaMethod·=·(JavaMethod)new·X509Request$INVOKER$i$0$0$public_key(cls,·Visibility.PUBLIC,·"public_key"); |
37 | ········populateMethod(javaMethod,·0,·"public_key",·false,·false,·(Class)X509Request.class,·"public_key",·(Class)IRubyObject.class,·new·Class[0]); | 40 | ········populateMethod(javaMethod,·0,·"public_key",·false,·false,·(Class)X509Request.class,·"public_key",·(Class)IRubyObject.class,·new·Class[0]); |
38 | ········cls.addMethodAtBootTimeOnly("public_key",·(DynamicMethod)javaMethod); | 41 | ········cls.addMethodAtBootTimeOnly("public_key",·(DynamicMethod)javaMethod); |
39 | ········javaMethod·=·(JavaMethod)new·X509Request$INVOKER$i$1$0$set_attributes(cls,·Visibility.PUBLIC,·"attributes="); | 42 | ········javaMethod·=·(JavaMethod)new·X509Request$INVOKER$i$1$0$set_attributes(cls,·Visibility.PUBLIC,·"attributes="); |
40 | ········populateMethod(javaMethod,·1,·"set_attributes",·false,·false,·(Class)X509Request.class,·"set_attributes",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); | 43 | ········populateMethod(javaMethod,·1,·"set_attributes",·false,·false,·(Class)X509Request.class,·"set_attributes",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); |
41 | ········cls.addMethodAtBootTimeOnly("attributes=",·(DynamicMethod)javaMethod); | 44 | ········cls.addMethodAtBootTimeOnly("attributes=",·(DynamicMethod)javaMethod); |
42 | ········javaMethod·=·(JavaMethod)new·X509Request$INVOKER$i$0$0$t | 45 | ········javaMethod·=·(JavaMethod)new·X509Request$INVOKER$i$0$0$signature_algorithm(cls,·Visibility.PUBLIC,·"signature_algorithm"); |
43 | ········populateMethod(javaMethod,·0,·"t | 46 | ········populateMethod(javaMethod,·0,·"signature_algorithm",·false,·false,·(Class)X509Request.class,·"signature_algorithm",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); |
44 | ········cls.addMethodAtBootTimeOnly("t | 47 | ········cls.addMethodAtBootTimeOnly("signature_algorithm",·(DynamicMethod)javaMethod); |
45 | ········javaMethod·=·(JavaMethod)new·X509Request$INVOKER$i$1$0$verify(cls,·Visibility.PUBLIC,·"verify"); | ||
46 | ········populateMethod(javaMethod,·1,·"verify",·false,·false,·(Class)X509Request.class,·"verify",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); | ||
47 | ········cls.addMethodAtBootTimeOnly("verify",·(DynamicMethod)javaMethod); | ||
48 | ········javaMethod·=·(JavaMethod)new·X509Request$INVOKER$i$1$0$initialize_copy(cls,·Visibility.PRIVATE,·"initialize_copy"); | ||
49 | ········populateMethod(javaMethod,·1,·"initialize_copy",·false,·false,·(Class)X509Request.class,·"initialize_copy",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); | ||
50 | ········cls.addMethodAtBootTimeOnly("initialize_copy",·(DynamicMethod)javaMethod); | ||
51 | ········javaMethod·=·(JavaMethod)new·X509Request$INVOKER$i$1$0$set_version(cls,·Visibility.PUBLIC,·"version="); | 48 | ········javaMethod·=·(JavaMethod)new·X509Request$INVOKER$i$1$0$set_version(cls,·Visibility.PUBLIC,·"version="); |
52 | ········populateMethod(javaMethod,·1,·"set_version",·false,·false,·(Class)X509Request.class,·"set_version",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); | 49 | ········populateMethod(javaMethod,·1,·"set_version",·false,·false,·(Class)X509Request.class,·"set_version",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); |
53 | ········cls.addMethodAtBootTimeOnly("version=",·(DynamicMethod)javaMethod); | 50 | ········cls.addMethodAtBootTimeOnly("version=",·(DynamicMethod)javaMethod); |
54 | ········javaMethod·=·(JavaMethod)new·X509Request$INVOKER$i$0$0$subject(cls,·Visibility.PUBLIC,·"subject"); | 51 | ········javaMethod·=·(JavaMethod)new·X509Request$INVOKER$i$0$0$subject(cls,·Visibility.PUBLIC,·"subject"); |
55 | ········populateMethod(javaMethod,·0,·"subject",·false,·false,·(Class)X509Request.class,·"subject",·(Class)IRubyObject.class,·new·Class[0]); | 52 | ········populateMethod(javaMethod,·0,·"subject",·false,·false,·(Class)X509Request.class,·"subject",·(Class)IRubyObject.class,·new·Class[0]); |
56 | ········cls.addMethodAtBootTimeOnly("subject",·(DynamicMethod)javaMethod); | 53 | ········cls.addMethodAtBootTimeOnly("subject",·(DynamicMethod)javaMethod); |
57 | ········javaMethod·=·(JavaMethod)new·X509Request$INVOKER$i$0$0$attributes(cls,·Visibility.PUBLIC,·"attributes"); | 54 | ········javaMethod·=·(JavaMethod)new·X509Request$INVOKER$i$0$0$attributes(cls,·Visibility.PUBLIC,·"attributes"); |
58 | ········populateMethod(javaMethod,·0,·"attributes",·false,·false,·(Class)X509Request.class,·"attributes",·(Class)IRubyObject.class,·new·Class[0]); | 55 | ········populateMethod(javaMethod,·0,·"attributes",·false,·false,·(Class)X509Request.class,·"attributes",·(Class)IRubyObject.class,·new·Class[0]); |
59 | ········cls.addMethodAtBootTimeOnly("attributes",·(DynamicMethod)javaMethod); | 56 | ········cls.addMethodAtBootTimeOnly("attributes",·(DynamicMethod)javaMethod); |
60 | ········javaMethod·=·(JavaMethod)new·X509Request$INVOKER$i$0$0$to_text(cls,·Visibility.PUBLIC,·"to_text"); | ||
61 | ········populateMethod(javaMethod,·0,·"to_text",·false,·false,·(Class)X509Request.class,·"to_text",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); | ||
62 | ········cls.addMethodAtBootTimeOnly("to_text",·(DynamicMethod)javaMethod); | ||
63 | ········javaMethod·=·(JavaMethod)new·X509Request$INVOKER$i$0$0$version(cls,·Visibility.PUBLIC,·"version"); | ||
64 | ········populateMethod(javaMethod,·0,·"version",·false,·false,·(Class)X509Request.class,·"version",·(Class)IRubyObject.class,·new·Class[0]); | ||
65 | ········cls.addMethodAtBootTimeOnly("version",·(DynamicMethod)javaMethod); | ||
66 | ········javaMethod·=·(JavaMethod)new·X509Request$INVOKER$i$0$0$to_pem(cls,·Visibility.PUBLIC,·"to_pem"); | 57 | ········javaMethod·=·(JavaMethod)new·X509Request$INVOKER$i$0$0$to_pem(cls,·Visibility.PUBLIC,·"to_pem"); |
67 | ········populateMethod(javaMethod,·0,·"to_pem",·false,·false,·(Class)X509Request.class,·"to_pem",·(Class)RubyString.class,·new·Class[0]); | 58 | ········populateMethod(javaMethod,·0,·"to_pem",·false,·false,·(Class)X509Request.class,·"to_pem",·(Class)RubyString.class,·new·Class[0]); |
68 | ········cls.addMethodAtBootTimeOnly("to_pem",·(DynamicMethod)javaMethod); | 59 | ········cls.addMethodAtBootTimeOnly("to_pem",·(DynamicMethod)javaMethod); |
69 | ········cls.addMethodAtBootTimeOnly("to_s",·(DynamicMethod)javaMethod); | 60 | ········cls.addMethodAtBootTimeOnly("to_s",·(DynamicMethod)javaMethod); |
70 | ········javaMethod·=·(JavaMethod)new·X509Request$INVOKER$i$1$0$set_public_key(cls,·Visibility.PUBLIC,·"public_key="); | 61 | ········javaMethod·=·(JavaMethod)new·X509Request$INVOKER$i$1$0$set_public_key(cls,·Visibility.PUBLIC,·"public_key="); |
71 | ········populateMethod(javaMethod,·1,·"set_public_key",·false,·false,·(Class)X509Request.class,·"set_public_key",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); | 62 | ········populateMethod(javaMethod,·1,·"set_public_key",·false,·false,·(Class)X509Request.class,·"set_public_key",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); |
72 | ········cls.addMethodAtBootTimeOnly("public_key=",·(DynamicMethod)javaMethod); | 63 | ········cls.addMethodAtBootTimeOnly("public_key=",·(DynamicMethod)javaMethod); |
64 | ········javaMethod·=·(JavaMethod)new·X509Request$INVOKER$i$1$0$verify(cls,·Visibility.PUBLIC,·"verify"); | ||
65 | ········populateMethod(javaMethod,·1,·"verify",·false,·false,·(Class)X509Request.class,·"verify",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); | ||
66 | ········cls.addMethodAtBootTimeOnly("verify",·(DynamicMethod)javaMethod); | ||
73 | ········javaMethod·=·(JavaMethod)new·X509Request$INVOKER$i$1$0$set_subject(cls,·Visibility.PUBLIC,·"subject="); | 67 | ········javaMethod·=·(JavaMethod)new·X509Request$INVOKER$i$1$0$set_subject(cls,·Visibility.PUBLIC,·"subject="); |
74 | ········populateMethod(javaMethod,·1,·"set_subject",·false,·false,·(Class)X509Request.class,·"set_subject",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); | 68 | ········populateMethod(javaMethod,·1,·"set_subject",·false,·false,·(Class)X509Request.class,·"set_subject",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); |
75 | ········cls.addMethodAtBootTimeOnly("subject=",·(DynamicMethod)javaMethod); | 69 | ········cls.addMethodAtBootTimeOnly("subject=",·(DynamicMethod)javaMethod); |
70 | ········javaMethod·=·(JavaMethod)new·X509Request$INVOKER$i$0$0$version(cls,·Visibility.PUBLIC,·"version"); | ||
71 | ········populateMethod(javaMethod,·0,·"version",·false,·false,·(Class)X509Request.class,·"version",·(Class)IRubyObject.class,·new·Class[0]); | ||
72 | ········cls.addMethodAtBootTimeOnly("version",·(DynamicMethod)javaMethod); | ||
73 | ········javaMethod·=·(JavaMethod)new·X509Request$INVOKER$i$1$0$initialize_copy(cls,·Visibility.PRIVATE,·"initialize_copy"); | ||
74 | ········populateMethod(javaMethod,·1,·"initialize_copy",·false,·false,·(Class)X509Request.class,·"initialize_copy",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); | ||
75 | ········cls.addMethodAtBootTimeOnly("initialize_copy",·(DynamicMethod)javaMethod); | ||
76 | ········javaMethod·=·(JavaMethod)new·X509Request$INVOKER$i$1$0$add_attribute(cls,·Visibility.PUBLIC,·"add_attribute"); | 76 | ········javaMethod·=·(JavaMethod)new·X509Request$INVOKER$i$1$0$add_attribute(cls,·Visibility.PUBLIC,·"add_attribute"); |
77 | ········populateMethod(javaMethod,·1,·"add_attribute",·false,·false,·(Class)X509Request.class,·"add_attribute",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); | 77 | ········populateMethod(javaMethod,·1,·"add_attribute",·false,·false,·(Class)X509Request.class,·"add_attribute",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); |
78 | ········cls.addMethodAtBootTimeOnly("add_attribute",·(DynamicMethod)javaMethod); | 78 | ········cls.addMethodAtBootTimeOnly("add_attribute",·(DynamicMethod)javaMethod); |
79 | ········javaMethod·=·(JavaMethod)new·X509Request$INVOKER$i$0$0$to_der(cls,·Visibility.PUBLIC,·"to_der"); | ||
80 | ········populateMethod(javaMethod,·0,·"to_der",·false,·false,·(Class)X509Request.class,·"to_der",·(Class)RubyString.class,·new·Class[0]); | ||
81 | ········cls.addMethodAtBootTimeOnly("to_der",·(DynamicMethod)javaMethod); | ||
79 | ········javaMethod·=·(JavaMethod)new·X509Request$INVOKER$i$0$0$initialize(cls,·Visibility.PRIVATE,·"initialize"); | 82 | ········javaMethod·=·(JavaMethod)new·X509Request$INVOKER$i$0$0$initialize(cls,·Visibility.PRIVATE,·"initialize"); |
80 | ········populateMethod(javaMethod,·-1,·"initialize",·false,·false,·(Class)X509Request.class,·"initialize",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject[].class·}); | 83 | ········populateMethod(javaMethod,·-1,·"initialize",·false,·false,·(Class)X509Request.class,·"initialize",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject[].class·}); |
81 | ········cls.addMethodAtBootTimeOnly("initialize",·(DynamicMethod)javaMethod); | 84 | ········cls.addMethodAtBootTimeOnly("initialize",·(DynamicMethod)javaMethod); |
82 | ········ | 85 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Request",·"to_text",·"to_text"); |
83 | ········populateMethod(javaMethod,·0,·"signature_algorithm",·false,·false,·(Class)X509Request.class,·"signature_algorithm",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); | ||
84 | ········cls.addMethodAtBootTimeOnly("signature_algorithm",·(DynamicMethod)javaMethod); | ||
85 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Request",·"sign",·"sign"); | 86 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Request",·"sign",·"sign"); |
86 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Request",·"public_key",·"public_key"); | 87 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Request",·"public_key",·"public_key"); |
87 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Request",·"set_attributes",·"attributes="); | 88 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Request",·"set_attributes",·"attributes="); |
88 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Request",·"t | 89 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Request",·"signature_algorithm",·"signature_algorithm"); |
89 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Request",·"verify",·"verify"); | ||
90 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Request",·"initialize_copy",·"initialize_copy"); | ||
91 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Request",·"set_version",·"version="); | 90 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Request",·"set_version",·"version="); |
92 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Request",·"subject",·"subject"); | 91 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Request",·"subject",·"subject"); |
93 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Request",·"attributes",·"attributes"); | 92 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Request",·"attributes",·"attributes"); |
94 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Request",·"to_text",·"to_text"); | ||
95 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Request",·"version",·"version"); | ||
96 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Request",·"to_pem",·"to_pem"); | 93 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Request",·"to_pem",·"to_pem"); |
97 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Request",·"set_public_key",·"public_key="); | 94 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Request",·"set_public_key",·"public_key="); |
95 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Request",·"verify",·"verify"); | ||
98 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Request",·"set_subject",·"subject="); | 96 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Request",·"set_subject",·"subject="); |
97 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Request",·"version",·"version"); | ||
98 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Request",·"initialize_copy",·"initialize_copy"); | ||
99 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Request",·"add_attribute",·"add_attribute"); | 99 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Request",·"add_attribute",·"add_attribute"); |
100 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Request",·"to_der",·"to_der"); | ||
Max diff block lines reached; 126/13070 bytes (0.96%) of diff not shown. |
Offset 2, 64 lines modified | Offset 2, 64 lines modified | ||
2 | package·org.jruby.gen; | 2 | package·org.jruby.gen; |
3 | import·org.jruby.internal.runtime.methods.JavaMethod; | 3 | import·org.jruby.internal.runtime.methods.JavaMethod; |
4 | import·org.jruby.Ruby; | 4 | import·org.jruby.Ruby; |
5 | import·org.jruby.ext.openssl.X509Revoked$INVOKER$i$1$0$set_extensions; | 5 | import·org.jruby.ext.openssl.X509Revoked$INVOKER$i$1$0$set_extensions; |
6 | import·org.jruby.ext.openssl.X509Revoked$INVOKER$i$0$0$initialize; | 6 | import·org.jruby.ext.openssl.X509Revoked$INVOKER$i$0$0$initialize; |
7 | import·org.jruby.ext.openssl.X509Revoked$INVOKER$i$0$0$inspect; | 7 | import·org.jruby.ext.openssl.X509Revoked$INVOKER$i$0$0$inspect; |
8 | import·org.jruby. | 8 | import·org.jruby.runtime.ThreadContext; |
9 | import·org.jruby.ext.openssl.X509Revoked$INVOKER$i$1$0$add_extension; | ||
9 | import·org.jruby.ext.openssl.X509Revoked$INVOKER$i$0$0$serial; | 10 | import·org.jruby.ext.openssl.X509Revoked$INVOKER$i$0$0$serial; |
11 | import·org.jruby.RubyArray; | ||
12 | import·org.jruby.ext.openssl.X509Revoked$INVOKER$i$0$0$extensions; | ||
10 | import·org.jruby.ext.openssl.X509Revoked$INVOKER$i$1$0$set_time; | 13 | import·org.jruby.ext.openssl.X509Revoked$INVOKER$i$1$0$set_time; |
11 | import·org.jruby.ext.openssl.X509Revoked$INVOKER$i$1$0$set_serial; | 14 | import·org.jruby.ext.openssl.X509Revoked$INVOKER$i$1$0$set_serial; |
12 | import·org.jruby.runtime.ThreadContext; | ||
13 | import·org.jruby.runtime.builtin.IRubyObject; | ||
14 | import·org.jruby.ext.openssl.X509Revoked$INVOKER$i$1$0$add_extension; | ||
15 | import·org.jruby.internal.runtime.methods.DynamicMethod; | 15 | import·org.jruby.internal.runtime.methods.DynamicMethod; |
16 | import·org.jruby.Ruby | 16 | import·org.jruby.runtime.builtin.IRubyObject; |
17 | import·org.jruby.ext.openssl.X509Revoked; | 17 | import·org.jruby.ext.openssl.X509Revoked; |
18 | import·org.jruby.ext.openssl.X509Revoked$INVOKER$i$0$0$ | 18 | import·org.jruby.ext.openssl.X509Revoked$INVOKER$i$0$0$time; |
19 | import·org.jruby.runtime.Visibility; | 19 | import·org.jruby.runtime.Visibility; |
20 | import·org.jruby.RubyModule; | 20 | import·org.jruby.RubyModule; |
21 | import·org.jruby.anno.TypePopulator; | 21 | import·org.jruby.anno.TypePopulator; |
22 | public·class·org$jruby$ext$openssl$X509Revoked$POPULATOR·extends·TypePopulator | 22 | public·class·org$jruby$ext$openssl$X509Revoked$POPULATOR·extends·TypePopulator |
23 | { | 23 | { |
24 | ····public·void·populate(final·RubyModule·cls,·final·Class·clazz)·{ | 24 | ····public·void·populate(final·RubyModule·cls,·final·Class·clazz)·{ |
25 | ········final·Ruby·runtime·=·cls.getRuntime(); | 25 | ········final·Ruby·runtime·=·cls.getRuntime(); |
26 | ········JavaMethod·javaMethod·=·(JavaMethod)new·X509Revoked$INVOKER$i$0$0$ | 26 | ········JavaMethod·javaMethod·=·(JavaMethod)new·X509Revoked$INVOKER$i$0$0$time(cls,·Visibility.PUBLIC,·"time"); |
27 | ········populateMethod(javaMethod,·0,·" | 27 | ········populateMethod(javaMethod,·0,·"time",·false,·false,·(Class)X509Revoked.class,·"time",·(Class)IRubyObject.class,·new·Class[0]); |
28 | ········cls.addMethodAtBootTimeOnly(" | 28 | ········cls.addMethodAtBootTimeOnly("time",·(DynamicMethod)javaMethod); |
29 | ········javaMethod·=·(JavaMethod)new·X509Revoked$INVOKER$i$1$0$add_extension(cls,·Visibility.PUBLIC,·"add_extension"); | ||
30 | ········populateMethod(javaMethod,·1,·"add_extension",·false,·false,·(Class)X509Revoked.class,·"add_extension",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); | ||
31 | ········cls.addMethodAtBootTimeOnly("add_extension",·(DynamicMethod)javaMethod); | ||
32 | ········javaMethod·=·(JavaMethod)new·X509Revoked$INVOKER$i$1$0$set_serial(cls,·Visibility.PUBLIC,·"serial="); | 29 | ········javaMethod·=·(JavaMethod)new·X509Revoked$INVOKER$i$1$0$set_serial(cls,·Visibility.PUBLIC,·"serial="); |
33 | ········populateMethod(javaMethod,·1,·"set_serial",·false,·false,·(Class)X509Revoked.class,·"set_serial",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); | 30 | ········populateMethod(javaMethod,·1,·"set_serial",·false,·false,·(Class)X509Revoked.class,·"set_serial",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); |
34 | ········cls.addMethodAtBootTimeOnly("serial=",·(DynamicMethod)javaMethod); | 31 | ········cls.addMethodAtBootTimeOnly("serial=",·(DynamicMethod)javaMethod); |
35 | ········javaMethod·=·(JavaMethod)new·X509Revoked$INVOKER$i$1$0$set_time(cls,·Visibility.PUBLIC,·"time="); | 32 | ········javaMethod·=·(JavaMethod)new·X509Revoked$INVOKER$i$1$0$set_time(cls,·Visibility.PUBLIC,·"time="); |
36 | ········populateMethod(javaMethod,·1,·"set_time",·false,·false,·(Class)X509Revoked.class,·"set_time",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); | 33 | ········populateMethod(javaMethod,·1,·"set_time",·false,·false,·(Class)X509Revoked.class,·"set_time",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); |
37 | ········cls.addMethodAtBootTimeOnly("time=",·(DynamicMethod)javaMethod); | 34 | ········cls.addMethodAtBootTimeOnly("time=",·(DynamicMethod)javaMethod); |
35 | ········javaMethod·=·(JavaMethod)new·X509Revoked$INVOKER$i$0$0$extensions(cls,·Visibility.PUBLIC,·"extensions"); | ||
36 | ········populateMethod(javaMethod,·0,·"extensions",·false,·false,·(Class)X509Revoked.class,·"extensions",·(Class)RubyArray.class,·new·Class[0]); | ||
37 | ········cls.addMethodAtBootTimeOnly("extensions",·(DynamicMethod)javaMethod); | ||
38 | ········javaMethod·=·(JavaMethod)new·X509Revoked$INVOKER$i$0$0$serial(cls,·Visibility.PUBLIC,·"serial"); | 38 | ········javaMethod·=·(JavaMethod)new·X509Revoked$INVOKER$i$0$0$serial(cls,·Visibility.PUBLIC,·"serial"); |
39 | ········populateMethod(javaMethod,·0,·"serial",·false,·false,·(Class)X509Revoked.class,·"serial",·(Class)IRubyObject.class,·new·Class[0]); | 39 | ········populateMethod(javaMethod,·0,·"serial",·false,·false,·(Class)X509Revoked.class,·"serial",·(Class)IRubyObject.class,·new·Class[0]); |
40 | ········cls.addMethodAtBootTimeOnly("serial",·(DynamicMethod)javaMethod); | 40 | ········cls.addMethodAtBootTimeOnly("serial",·(DynamicMethod)javaMethod); |
41 | ········javaMethod·=·(JavaMethod)new·X509Revoked$INVOKER$i$ | 41 | ········javaMethod·=·(JavaMethod)new·X509Revoked$INVOKER$i$1$0$add_extension(cls,·Visibility.PUBLIC,·"add_extension"); |
42 | ········populateMethod(javaMethod,· | 42 | ········populateMethod(javaMethod,·1,·"add_extension",·false,·false,·(Class)X509Revoked.class,·"add_extension",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); |
43 | ········cls.addMethodAtBootTimeOnly("ti | 43 | ········cls.addMethodAtBootTimeOnly("add_extension",·(DynamicMethod)javaMethod); |
44 | ········javaMethod·=·(JavaMethod)new·X509Revoked$INVOKER$i$0$0$inspect(cls,·Visibility.PUBLIC,·"inspect"); | 44 | ········javaMethod·=·(JavaMethod)new·X509Revoked$INVOKER$i$0$0$inspect(cls,·Visibility.PUBLIC,·"inspect"); |
45 | ········populateMethod(javaMethod,·0,·"inspect",·false,·false,·(Class)X509Revoked.class,·"inspect",·(Class)IRubyObject.class,·new·Class[0]); | 45 | ········populateMethod(javaMethod,·0,·"inspect",·false,·false,·(Class)X509Revoked.class,·"inspect",·(Class)IRubyObject.class,·new·Class[0]); |
46 | ········cls.addMethodAtBootTimeOnly("inspect",·(DynamicMethod)javaMethod); | 46 | ········cls.addMethodAtBootTimeOnly("inspect",·(DynamicMethod)javaMethod); |
47 | ········javaMethod·=·(JavaMethod)new·X509Revoked$INVOKER$i$0$0$initialize(cls,·Visibility.PRIVATE,·"initialize"); | 47 | ········javaMethod·=·(JavaMethod)new·X509Revoked$INVOKER$i$0$0$initialize(cls,·Visibility.PRIVATE,·"initialize"); |
48 | ········populateMethod(javaMethod,·-1,·"initialize",·false,·false,·(Class)X509Revoked.class,·"initialize",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject[].class·}); | 48 | ········populateMethod(javaMethod,·-1,·"initialize",·false,·false,·(Class)X509Revoked.class,·"initialize",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject[].class·}); |
49 | ········cls.addMethodAtBootTimeOnly("initialize",·(DynamicMethod)javaMethod); | 49 | ········cls.addMethodAtBootTimeOnly("initialize",·(DynamicMethod)javaMethod); |
50 | ········javaMethod·=·(JavaMethod)new·X509Revoked$INVOKER$i$1$0$set_extensions(cls,·Visibility.PUBLIC,·"extensions="); | 50 | ········javaMethod·=·(JavaMethod)new·X509Revoked$INVOKER$i$1$0$set_extensions(cls,·Visibility.PUBLIC,·"extensions="); |
51 | ········populateMethod(javaMethod,·1,·"set_extensions",·false,·false,·(Class)X509Revoked.class,·"set_extensions",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); | 51 | ········populateMethod(javaMethod,·1,·"set_extensions",·false,·false,·(Class)X509Revoked.class,·"set_extensions",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); |
52 | ········cls.addMethodAtBootTimeOnly("extensions=",·(DynamicMethod)javaMethod); | 52 | ········cls.addMethodAtBootTimeOnly("extensions=",·(DynamicMethod)javaMethod); |
53 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Revoked",·" | 53 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Revoked",·"time",·"time"); |
54 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Revoked",·"add_extension",·"add_extension"); | ||
55 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Revoked",·"set_serial",·"serial="); | 54 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Revoked",·"set_serial",·"serial="); |
56 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Revoked",·"set_time",·"time="); | 55 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Revoked",·"set_time",·"time="); |
56 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Revoked",·"extensions",·"extensions"); | ||
57 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Revoked",·"serial",·"serial"); | 57 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Revoked",·"serial",·"serial"); |
58 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Revoked",·"ti | 58 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Revoked",·"add_extension",·"add_extension"); |
59 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Revoked",·"inspect",·"inspect"); | 59 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Revoked",·"inspect",·"inspect"); |
60 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Revoked",·"initialize",·"initialize"); | 60 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Revoked",·"initialize",·"initialize"); |
61 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Revoked",·"set_extensions",·"extensions="); | 61 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Revoked",·"set_extensions",·"extensions="); |
62 | ····} | 62 | ····} |
63 | } | 63 | } |
Offset 1, 25 lines modified | Offset 1, 25 lines modified | ||
1 | package·org.jruby.gen; | 1 | package·org.jruby.gen; |
2 | import·org.jruby.internal.runtime.methods.JavaMethod; | 2 | import·org.jruby.internal.runtime.methods.JavaMethod; |
3 | import·org.jruby.Ruby; | 3 | import·org.jruby.Ruby; |
4 | import·org.jruby.ext.openssl.X509Store$INVOKER$i$0$0$set_default_paths; | ||
4 | import·org.jruby.ext.openssl.X509Store$INVOKER$i$1$0$set_purpose; | 5 | import·org.jruby.ext.openssl.X509Store$INVOKER$i$1$0$set_purpose; |
5 | import·org.jruby.ext.openssl.X509Store$INVOKER$i$1$0$set_flags; | 6 | import·org.jruby.ext.openssl.X509Store$INVOKER$i$1$0$set_flags; |
6 | import·org.jruby.ext.openssl.X509Store$INVOKER$i$0$0$initialize; | 7 | import·org.jruby.ext.openssl.X509Store$INVOKER$i$0$0$initialize; |
7 | import·org.jruby.ext.openssl.X509Store$INVOKER$i$1$0$add_file; | 8 | import·org.jruby.ext.openssl.X509Store$INVOKER$i$1$0$add_file; |
8 | import·org.jruby.ext.openssl.X509Store$INVOKER$i$1$0$add_path; | 9 | import·org.jruby.ext.openssl.X509Store$INVOKER$i$1$0$add_path; |
9 | import·org.jruby.ext.openssl.X509Store$INVOKER$i$1$0$add_cert; | ||
10 | import·org.jruby.ext.openssl.X509Store$INVOKER$i$1$0$set_trust; | ||
11 | import·org.jruby.runtime.Block; | 10 | import·org.jruby.runtime.Block; |
11 | import·org.jruby.runtime.ThreadContext; | ||
12 | import·org.jruby.ext.openssl.X509Store$INVOKER$i$0$0$verify; | 12 | import·org.jruby.ext.openssl.X509Store$INVOKER$i$0$0$verify; |
13 | import·org.jruby.ext.openssl.X509Store$INVOKER$i$1$0$add_cert; | ||
14 | import·org.jruby.ext.openssl.X509Store$INVOKER$i$1$0$set_trust; | ||
13 | import·org.jruby.ext.openssl.X509Store$INVOKER$i$1$0$add_crl; | 15 | import·org.jruby.ext.openssl.X509Store$INVOKER$i$1$0$add_crl; |
14 | import·org.jruby.ext.openssl.X509Store$INVOKER$i$1$0$set_verify_callback; | 16 | import·org.jruby.ext.openssl.X509Store$INVOKER$i$1$0$set_verify_callback; |
15 | import·org.jruby.runtime.ThreadContext; | ||
16 | import·org.jruby.ext.openssl.X509Store$INVOKER$i$0$0$set_default_paths; | ||
17 | import·org.jruby.ext.openssl.X509Store$INVOKER$i$1$0$set_time; | 17 | import·org.jruby.ext.openssl.X509Store$INVOKER$i$1$0$set_time; |
18 | import·org.jruby.internal.runtime.methods.DynamicMethod; | 18 | import·org.jruby.internal.runtime.methods.DynamicMethod; |
19 | import·org.jruby.runtime.builtin.IRubyObject; | 19 | import·org.jruby.runtime.builtin.IRubyObject; |
20 | import·org.jruby.ext.openssl.X509Store; | 20 | import·org.jruby.ext.openssl.X509Store; |
21 | import·org.jruby.ext.openssl.X509Store$INVOKER$i$0$0$verify_callback; | 21 | import·org.jruby.ext.openssl.X509Store$INVOKER$i$0$0$verify_callback; |
22 | import·org.jruby.runtime.Visibility; | 22 | import·org.jruby.runtime.Visibility; |
23 | import·org.jruby.RubyModule; | 23 | import·org.jruby.RubyModule; |
Offset 31, 32 lines modified | Offset 31, 29 lines modified | ||
31 | ········final·Ruby·runtime·=·cls.getRuntime(); | 31 | ········final·Ruby·runtime·=·cls.getRuntime(); |
32 | ········JavaMethod·javaMethod·=·(JavaMethod)new·X509Store$INVOKER$i$0$0$verify_callback(cls,·Visibility.PUBLIC,·"verify_callback"); | 32 | ········JavaMethod·javaMethod·=·(JavaMethod)new·X509Store$INVOKER$i$0$0$verify_callback(cls,·Visibility.PUBLIC,·"verify_callback"); |
33 | ········populateMethod(javaMethod,·0,·"verify_callback",·false,·false,·(Class)X509Store.class,·"verify_callback",·(Class)IRubyObject.class,·new·Class[0]); | 33 | ········populateMethod(javaMethod,·0,·"verify_callback",·false,·false,·(Class)X509Store.class,·"verify_callback",·(Class)IRubyObject.class,·new·Class[0]); |
34 | ········cls.addMethodAtBootTimeOnly("verify_callback",·(DynamicMethod)javaMethod); | 34 | ········cls.addMethodAtBootTimeOnly("verify_callback",·(DynamicMethod)javaMethod); |
35 | ········javaMethod·=·(JavaMethod)new·X509Store$INVOKER$i$1$0$set_time(cls,·Visibility.PUBLIC,·"time="); | 35 | ········javaMethod·=·(JavaMethod)new·X509Store$INVOKER$i$1$0$set_time(cls,·Visibility.PUBLIC,·"time="); |
36 | ········populateMethod(javaMethod,·1,·"set_time",·false,·false,·(Class)X509Store.class,·"set_time",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); | 36 | ········populateMethod(javaMethod,·1,·"set_time",·false,·false,·(Class)X509Store.class,·"set_time",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); |
37 | ········cls.addMethodAtBootTimeOnly("time=",·(DynamicMethod)javaMethod); | 37 | ········cls.addMethodAtBootTimeOnly("time=",·(DynamicMethod)javaMethod); |
38 | ········javaMethod·=·(JavaMethod)new·X509Store$INVOKER$i$0$0$set_default_paths(cls,·Visibility.PUBLIC,·"set_default_paths"); | ||
39 | ········populateMethod(javaMethod,·0,·"set_default_paths",·false,·false,·(Class)X509Store.class,·"set_default_paths",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); | ||
40 | ········cls.addMethodAtBootTimeOnly("set_default_paths",·(DynamicMethod)javaMethod); | ||
41 | ········javaMethod·=·(JavaMethod)new·X509Store$INVOKER$i$1$0$set_verify_callback(cls,·Visibility.PUBLIC,·"verify_callback="); | 38 | ········javaMethod·=·(JavaMethod)new·X509Store$INVOKER$i$1$0$set_verify_callback(cls,·Visibility.PUBLIC,·"verify_callback="); |
42 | ········populateMethod(javaMethod,·1,·"set_verify_callback",·false,·false,·(Class)X509Store.class,·"set_verify_callback",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); | 39 | ········populateMethod(javaMethod,·1,·"set_verify_callback",·false,·false,·(Class)X509Store.class,·"set_verify_callback",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); |
43 | ········cls.addMethodAtBootTimeOnly("verify_callback=",·(DynamicMethod)javaMethod); | 40 | ········cls.addMethodAtBootTimeOnly("verify_callback=",·(DynamicMethod)javaMethod); |
44 | ········javaMethod·=·(JavaMethod)new·X509Store$INVOKER$i$1$0$add_crl(cls,·Visibility.PUBLIC,·"add_crl"); | 41 | ········javaMethod·=·(JavaMethod)new·X509Store$INVOKER$i$1$0$add_crl(cls,·Visibility.PUBLIC,·"add_crl"); |
45 | ········populateMethod(javaMethod,·1,·"add_crl",·false,·false,·(Class)X509Store.class,·"add_crl",·(Class)X509Store.class,·new·Class[]·{·IRubyObject.class·}); | 42 | ········populateMethod(javaMethod,·1,·"add_crl",·false,·false,·(Class)X509Store.class,·"add_crl",·(Class)X509Store.class,·new·Class[]·{·IRubyObject.class·}); |
46 | ········cls.addMethodAtBootTimeOnly("add_crl",·(DynamicMethod)javaMethod); | 43 | ········cls.addMethodAtBootTimeOnly("add_crl",·(DynamicMethod)javaMethod); |
47 | ········javaMethod·=·(JavaMethod)new·X509Store$INVOKER$i$0$0$verify(cls,·Visibility.PUBLIC,·"verify"); | ||
48 | ········populateMethod(javaMethod,·-1,·"verify",·false,·false,·(Class)X509Store.class,·"verify",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject[].class,·Block.class·}); | ||
49 | ········cls.addMethodAtBootTimeOnly("verify",·(DynamicMethod)javaMethod); | ||
50 | ········javaMethod·=·(JavaMethod)new·X509Store$INVOKER$i$1$0$set_trust(cls,·Visibility.PUBLIC,·"trust="); | 44 | ········javaMethod·=·(JavaMethod)new·X509Store$INVOKER$i$1$0$set_trust(cls,·Visibility.PUBLIC,·"trust="); |
51 | ········populateMethod(javaMethod,·1,·"set_trust",·false,·false,·(Class)X509Store.class,·"set_trust",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); | 45 | ········populateMethod(javaMethod,·1,·"set_trust",·false,·false,·(Class)X509Store.class,·"set_trust",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); |
52 | ········cls.addMethodAtBootTimeOnly("trust=",·(DynamicMethod)javaMethod); | 46 | ········cls.addMethodAtBootTimeOnly("trust=",·(DynamicMethod)javaMethod); |
53 | ········javaMethod·=·(JavaMethod)new·X509Store$INVOKER$i$1$0$add_cert(cls,·Visibility.PUBLIC,·"add_cert"); | 47 | ········javaMethod·=·(JavaMethod)new·X509Store$INVOKER$i$1$0$add_cert(cls,·Visibility.PUBLIC,·"add_cert"); |
54 | ········populateMethod(javaMethod,·1,·"add_cert",·false,·false,·(Class)X509Store.class,·"add_cert",·(Class)X509Store.class,·new·Class[]·{·IRubyObject.class·}); | 48 | ········populateMethod(javaMethod,·1,·"add_cert",·false,·false,·(Class)X509Store.class,·"add_cert",·(Class)X509Store.class,·new·Class[]·{·IRubyObject.class·}); |
55 | ········cls.addMethodAtBootTimeOnly("add_cert",·(DynamicMethod)javaMethod); | 49 | ········cls.addMethodAtBootTimeOnly("add_cert",·(DynamicMethod)javaMethod); |
50 | ········javaMethod·=·(JavaMethod)new·X509Store$INVOKER$i$0$0$verify(cls,·Visibility.PUBLIC,·"verify"); | ||
51 | ········populateMethod(javaMethod,·-1,·"verify",·false,·false,·(Class)X509Store.class,·"verify",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject[].class,·Block.class·}); | ||
52 | ········cls.addMethodAtBootTimeOnly("verify",·(DynamicMethod)javaMethod); | ||
56 | ········javaMethod·=·(JavaMethod)new·X509Store$INVOKER$i$1$0$add_path(cls,·Visibility.PUBLIC,·"add_path"); | 53 | ········javaMethod·=·(JavaMethod)new·X509Store$INVOKER$i$1$0$add_path(cls,·Visibility.PUBLIC,·"add_path"); |
57 | ········populateMethod(javaMethod,·1,·"add_path",·false,·false,·(Class)X509Store.class,·"add_path",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); | 54 | ········populateMethod(javaMethod,·1,·"add_path",·false,·false,·(Class)X509Store.class,·"add_path",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); |
58 | ········cls.addMethodAtBootTimeOnly("add_path",·(DynamicMethod)javaMethod); | 55 | ········cls.addMethodAtBootTimeOnly("add_path",·(DynamicMethod)javaMethod); |
59 | ········javaMethod·=·(JavaMethod)new·X509Store$INVOKER$i$1$0$add_file(cls,·Visibility.PUBLIC,·"add_file"); | 56 | ········javaMethod·=·(JavaMethod)new·X509Store$INVOKER$i$1$0$add_file(cls,·Visibility.PUBLIC,·"add_file"); |
60 | ········populateMethod(javaMethod,·1,·"add_file",·false,·false,·(Class)X509Store.class,·"add_file",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); | 57 | ········populateMethod(javaMethod,·1,·"add_file",·false,·false,·(Class)X509Store.class,·"add_file",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); |
61 | ········cls.addMethodAtBootTimeOnly("add_file",·(DynamicMethod)javaMethod); | 58 | ········cls.addMethodAtBootTimeOnly("add_file",·(DynamicMethod)javaMethod); |
62 | ········javaMethod·=·(JavaMethod)new·X509Store$INVOKER$i$0$0$initialize(cls,·Visibility.PRIVATE,·"initialize"); | 59 | ········javaMethod·=·(JavaMethod)new·X509Store$INVOKER$i$0$0$initialize(cls,·Visibility.PRIVATE,·"initialize"); |
Offset 64, 22 lines modified | Offset 61, 25 lines modified | ||
64 | ········cls.addMethodAtBootTimeOnly("initialize",·(DynamicMethod)javaMethod); | 61 | ········cls.addMethodAtBootTimeOnly("initialize",·(DynamicMethod)javaMethod); |
65 | ········javaMethod·=·(JavaMethod)new·X509Store$INVOKER$i$1$0$set_flags(cls,·Visibility.PUBLIC,·"flags="); | 62 | ········javaMethod·=·(JavaMethod)new·X509Store$INVOKER$i$1$0$set_flags(cls,·Visibility.PUBLIC,·"flags="); |
66 | ········populateMethod(javaMethod,·1,·"set_flags",·false,·false,·(Class)X509Store.class,·"set_flags",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); | 63 | ········populateMethod(javaMethod,·1,·"set_flags",·false,·false,·(Class)X509Store.class,·"set_flags",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); |
67 | ········cls.addMethodAtBootTimeOnly("flags=",·(DynamicMethod)javaMethod); | 64 | ········cls.addMethodAtBootTimeOnly("flags=",·(DynamicMethod)javaMethod); |
68 | ········javaMethod·=·(JavaMethod)new·X509Store$INVOKER$i$1$0$set_purpose(cls,·Visibility.PUBLIC,·"purpose="); | 65 | ········javaMethod·=·(JavaMethod)new·X509Store$INVOKER$i$1$0$set_purpose(cls,·Visibility.PUBLIC,·"purpose="); |
69 | ········populateMethod(javaMethod,·1,·"set_purpose",·false,·false,·(Class)X509Store.class,·"set_purpose",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); | 66 | ········populateMethod(javaMethod,·1,·"set_purpose",·false,·false,·(Class)X509Store.class,·"set_purpose",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); |
70 | ········cls.addMethodAtBootTimeOnly("purpose=",·(DynamicMethod)javaMethod); | 67 | ········cls.addMethodAtBootTimeOnly("purpose=",·(DynamicMethod)javaMethod); |
68 | ········javaMethod·=·(JavaMethod)new·X509Store$INVOKER$i$0$0$set_default_paths(cls,·Visibility.PUBLIC,·"set_default_paths"); | ||
69 | ········populateMethod(javaMethod,·0,·"set_default_paths",·false,·false,·(Class)X509Store.class,·"set_default_paths",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); | ||
70 | ········cls.addMethodAtBootTimeOnly("set_default_paths",·(DynamicMethod)javaMethod); | ||
71 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Store",·"verify_callback",·"verify_callback"); | 71 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Store",·"verify_callback",·"verify_callback"); |
72 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Store",·"set_time",·"time="); | 72 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Store",·"set_time",·"time="); |
73 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Store",·"set_default_paths",·"set_default_paths"); | ||
74 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Store",·"set_verify_callback",·"verify_callback="); | 73 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Store",·"set_verify_callback",·"verify_callback="); |
75 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Store",·"add_crl",·"add_crl"); | 74 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Store",·"add_crl",·"add_crl"); |
76 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Store",·"verify",·"verify"); | ||
77 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Store",·"set_trust",·"trust="); | 75 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Store",·"set_trust",·"trust="); |
78 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Store",·"add_cert",·"add_cert"); | 76 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Store",·"add_cert",·"add_cert"); |
77 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Store",·"verify",·"verify"); | ||
79 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Store",·"add_path",·"add_path"); | 78 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Store",·"add_path",·"add_path"); |
80 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Store",·"add_file",·"add_file"); | 79 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Store",·"add_file",·"add_file"); |
81 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Store",·"initialize",·"initialize"); | 80 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Store",·"initialize",·"initialize"); |
82 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Store",·"set_flags",·"flags="); | 81 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Store",·"set_flags",·"flags="); |
83 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Store",·"set_purpose",·"purpose="); | 82 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Store",·"set_purpose",·"purpose="); |
83 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509Store",·"set_default_paths",·"set_default_paths"); | ||
84 | ····} | 84 | ····} |
85 | } | 85 | } |
Offset 5, 18 lines modified | Offset 5, 18 lines modified | ||
5 | import·org.jruby.Ruby; | 5 | import·org.jruby.Ruby; |
6 | import·org.jruby.ext.openssl.X509StoreContext$INVOKER$i$1$0$set_purpose; | 6 | import·org.jruby.ext.openssl.X509StoreContext$INVOKER$i$1$0$set_purpose; |
7 | import·org.jruby.ext.openssl.X509StoreContext$INVOKER$i$1$0$set_flags; | 7 | import·org.jruby.ext.openssl.X509StoreContext$INVOKER$i$1$0$set_flags; |
8 | import·org.jruby.ext.openssl.X509StoreContext$INVOKER$i$0$0$initialize; | 8 | import·org.jruby.ext.openssl.X509StoreContext$INVOKER$i$0$0$initialize; |
9 | import·org.jruby.ext.openssl.X509StoreContext$INVOKER$i$0$0$chain; | 9 | import·org.jruby.ext.openssl.X509StoreContext$INVOKER$i$0$0$chain; |
10 | import·org.jruby.ext.openssl.X509StoreContext$INVOKER$i$0$0$error_depth; | 10 | import·org.jruby.ext.openssl.X509StoreContext$INVOKER$i$0$0$error_depth; |
11 | import·org.jruby.ext.openssl.X509StoreContext$INVOKER$i$0$0$error_string; | 11 | import·org.jruby.ext.openssl.X509StoreContext$INVOKER$i$0$0$error_string; |
12 | import·org.jruby.ext.openssl.X509StoreContext$INVOKER$i$0$0$verify; | ||
12 | import·org.jruby.ext.openssl.X509StoreContext$INVOKER$i$0$0$current_crl; | 13 | import·org.jruby.ext.openssl.X509StoreContext$INVOKER$i$0$0$current_crl; |
13 | import·org.jruby.ext.openssl.X509StoreContext$INVOKER$i$1$0$set_trust; | 14 | import·org.jruby.ext.openssl.X509StoreContext$INVOKER$i$1$0$set_trust; |
14 | import·org.jruby.ext.openssl.X509StoreContext$INVOKER$i$0$0$error; | 15 | import·org.jruby.ext.openssl.X509StoreContext$INVOKER$i$0$0$error; |
15 | import·org.jruby.ext.openssl.X509StoreContext$INVOKER$i$0$0$verify; | ||
16 | import·org.jruby.ext.openssl.X509StoreContext$INVOKER$i$0$0$cleanup; | 16 | import·org.jruby.ext.openssl.X509StoreContext$INVOKER$i$0$0$cleanup; |
17 | import·org.jruby.ext.openssl.X509StoreContext$INVOKER$i$1$0$set_time; | 17 | import·org.jruby.ext.openssl.X509StoreContext$INVOKER$i$1$0$set_time; |
18 | import·org.jruby.runtime.ThreadContext; | 18 | import·org.jruby.runtime.ThreadContext; |
19 | import·org.jruby.ext.openssl.X509StoreContext$INVOKER$i$0$0$current_cert; | 19 | import·org.jruby.ext.openssl.X509StoreContext$INVOKER$i$0$0$current_cert; |
20 | import·org.jruby.internal.runtime.methods.DynamicMethod; | 20 | import·org.jruby.internal.runtime.methods.DynamicMethod; |
21 | import·org.jruby.runtime.builtin.IRubyObject; | 21 | import·org.jruby.runtime.builtin.IRubyObject; |
22 | import·org.jruby.ext.openssl.X509StoreContext; | 22 | import·org.jruby.ext.openssl.X509StoreContext; |
Offset 37, 26 lines modified | Offset 37, 26 lines modified | ||
37 | ········cls.addMethodAtBootTimeOnly("current_cert",·(DynamicMethod)javaMethod); | 37 | ········cls.addMethodAtBootTimeOnly("current_cert",·(DynamicMethod)javaMethod); |
38 | ········javaMethod·=·(JavaMethod)new·X509StoreContext$INVOKER$i$1$0$set_time(cls,·Visibility.PUBLIC,·"time="); | 38 | ········javaMethod·=·(JavaMethod)new·X509StoreContext$INVOKER$i$1$0$set_time(cls,·Visibility.PUBLIC,·"time="); |
39 | ········populateMethod(javaMethod,·1,·"set_time",·false,·false,·(Class)X509StoreContext.class,·"set_time",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); | 39 | ········populateMethod(javaMethod,·1,·"set_time",·false,·false,·(Class)X509StoreContext.class,·"set_time",·(Class)IRubyObject.class,·new·Class[]·{·IRubyObject.class·}); |
40 | ········cls.addMethodAtBootTimeOnly("time=",·(DynamicMethod)javaMethod); | 40 | ········cls.addMethodAtBootTimeOnly("time=",·(DynamicMethod)javaMethod); |
41 | ········javaMethod·=·(JavaMethod)new·X509StoreContext$INVOKER$i$0$0$cleanup(cls,·Visibility.PUBLIC,·"cleanup"); | 41 | ········javaMethod·=·(JavaMethod)new·X509StoreContext$INVOKER$i$0$0$cleanup(cls,·Visibility.PUBLIC,·"cleanup"); |
42 | ········populateMethod(javaMethod,·0,·"cleanup",·false,·false,·(Class)X509StoreContext.class,·"cleanup",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); | 42 | ········populateMethod(javaMethod,·0,·"cleanup",·false,·false,·(Class)X509StoreContext.class,·"cleanup",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); |
43 | ········cls.addMethodAtBootTimeOnly("cleanup",·(DynamicMethod)javaMethod); | 43 | ········cls.addMethodAtBootTimeOnly("cleanup",·(DynamicMethod)javaMethod); |
44 | ········javaMethod·=·(JavaMethod)new·X509StoreContext$INVOKER$i$0$0$verify(cls,·Visibility.PUBLIC,·"verify"); | ||
45 | ········populateMethod(javaMethod,·0,·"verify",·false,·false,·(Class)X509StoreContext.class,·"verify",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); | ||
46 | ········cls.addMethodAtBootTimeOnly("verify",·(DynamicMethod)javaMethod); | ||
47 | ········javaMethod·=·(JavaMethod)new·X509StoreContext$INVOKER$i$0$0$error(cls,·Visibility.PUBLIC,·"error"); | 44 | ········javaMethod·=·(JavaMethod)new·X509StoreContext$INVOKER$i$0$0$error(cls,·Visibility.PUBLIC,·"error"); |
48 | ········populateMethod(javaMethod,·0,·"error",·false,·false,·(Class)X509StoreContext.class,·"error",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); | 45 | ········populateMethod(javaMethod,·0,·"error",·false,·false,·(Class)X509StoreContext.class,·"error",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); |
49 | ········cls.addMethodAtBootTimeOnly("error",·(DynamicMethod)javaMethod); | 46 | ········cls.addMethodAtBootTimeOnly("error",·(DynamicMethod)javaMethod); |
50 | ········javaMethod·=·(JavaMethod)new·X509StoreContext$INVOKER$i$1$0$set_trust(cls,·Visibility.PUBLIC,·"trust="); | 47 | ········javaMethod·=·(JavaMethod)new·X509StoreContext$INVOKER$i$1$0$set_trust(cls,·Visibility.PUBLIC,·"trust="); |
51 | ········populateMethod(javaMethod,·1,·"set_trust",·false,·false,·(Class)X509StoreContext.class,·"set_trust",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); | 48 | ········populateMethod(javaMethod,·1,·"set_trust",·false,·false,·(Class)X509StoreContext.class,·"set_trust",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); |
52 | ········cls.addMethodAtBootTimeOnly("trust=",·(DynamicMethod)javaMethod); | 49 | ········cls.addMethodAtBootTimeOnly("trust=",·(DynamicMethod)javaMethod); |
53 | ········javaMethod·=·(JavaMethod)new·X509StoreContext$INVOKER$i$0$0$current_crl(cls,·Visibility.PUBLIC,·"current_crl"); | 50 | ········javaMethod·=·(JavaMethod)new·X509StoreContext$INVOKER$i$0$0$current_crl(cls,·Visibility.PUBLIC,·"current_crl"); |
54 | ········populateMethod(javaMethod,·0,·"current_crl",·false,·false,·(Class)X509StoreContext.class,·"current_crl",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); | 51 | ········populateMethod(javaMethod,·0,·"current_crl",·false,·false,·(Class)X509StoreContext.class,·"current_crl",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); |
55 | ········cls.addMethodAtBootTimeOnly("current_crl",·(DynamicMethod)javaMethod); | 52 | ········cls.addMethodAtBootTimeOnly("current_crl",·(DynamicMethod)javaMethod); |
53 | ········javaMethod·=·(JavaMethod)new·X509StoreContext$INVOKER$i$0$0$verify(cls,·Visibility.PUBLIC,·"verify"); | ||
54 | ········populateMethod(javaMethod,·0,·"verify",·false,·false,·(Class)X509StoreContext.class,·"verify",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); | ||
55 | ········cls.addMethodAtBootTimeOnly("verify",·(DynamicMethod)javaMethod); | ||
56 | ········javaMethod·=·(JavaMethod)new·X509StoreContext$INVOKER$i$0$0$error_string(cls,·Visibility.PUBLIC,·"error_string"); | 56 | ········javaMethod·=·(JavaMethod)new·X509StoreContext$INVOKER$i$0$0$error_string(cls,·Visibility.PUBLIC,·"error_string"); |
57 | ········populateMethod(javaMethod,·0,·"error_string",·false,·false,·(Class)X509StoreContext.class,·"error_string",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); | 57 | ········populateMethod(javaMethod,·0,·"error_string",·false,·false,·(Class)X509StoreContext.class,·"error_string",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); |
58 | ········cls.addMethodAtBootTimeOnly("error_string",·(DynamicMethod)javaMethod); | 58 | ········cls.addMethodAtBootTimeOnly("error_string",·(DynamicMethod)javaMethod); |
59 | ········javaMethod·=·(JavaMethod)new·X509StoreContext$INVOKER$i$0$0$error_depth(cls,·Visibility.PUBLIC,·"error_depth"); | 59 | ········javaMethod·=·(JavaMethod)new·X509StoreContext$INVOKER$i$0$0$error_depth(cls,·Visibility.PUBLIC,·"error_depth"); |
60 | ········populateMethod(javaMethod,·0,·"error_depth",·false,·false,·(Class)X509StoreContext.class,·"error_depth",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); | 60 | ········populateMethod(javaMethod,·0,·"error_depth",·false,·false,·(Class)X509StoreContext.class,·"error_depth",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class·}); |
61 | ········cls.addMethodAtBootTimeOnly("error_depth",·(DynamicMethod)javaMethod); | 61 | ········cls.addMethodAtBootTimeOnly("error_depth",·(DynamicMethod)javaMethod); |
62 | ········javaMethod·=·(JavaMethod)new·X509StoreContext$INVOKER$i$0$0$chain(cls,·Visibility.PUBLIC,·"chain"); | 62 | ········javaMethod·=·(JavaMethod)new·X509StoreContext$INVOKER$i$0$0$chain(cls,·Visibility.PUBLIC,·"chain"); |
Offset 71, 18 lines modified | Offset 71, 18 lines modified | ||
71 | ········javaMethod·=·(JavaMethod)new·X509StoreContext$INVOKER$i$1$0$set_purpose(cls,·Visibility.PUBLIC,·"purpose="); | 71 | ········javaMethod·=·(JavaMethod)new·X509StoreContext$INVOKER$i$1$0$set_purpose(cls,·Visibility.PUBLIC,·"purpose="); |
72 | ········populateMethod(javaMethod,·1,·"set_purpose",·false,·false,·(Class)X509StoreContext.class,·"set_purpose",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); | 72 | ········populateMethod(javaMethod,·1,·"set_purpose",·false,·false,·(Class)X509StoreContext.class,·"set_purpose",·(Class)IRubyObject.class,·new·Class[]·{·ThreadContext.class,·IRubyObject.class·}); |
73 | ········cls.addMethodAtBootTimeOnly("purpose=",·(DynamicMethod)javaMethod); | 73 | ········cls.addMethodAtBootTimeOnly("purpose=",·(DynamicMethod)javaMethod); |
74 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509StoreContext",·"set_error",·"error="); | 74 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509StoreContext",·"set_error",·"error="); |
75 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509StoreContext",·"current_cert",·"current_cert"); | 75 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509StoreContext",·"current_cert",·"current_cert"); |
76 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509StoreContext",·"set_time",·"time="); | 76 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509StoreContext",·"set_time",·"time="); |
77 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509StoreContext",·"cleanup",·"cleanup"); | 77 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509StoreContext",·"cleanup",·"cleanup"); |
78 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509StoreContext",·"verify",·"verify"); | ||
79 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509StoreContext",·"error",·"error"); | 78 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509StoreContext",·"error",·"error"); |
80 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509StoreContext",·"set_trust",·"trust="); | 79 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509StoreContext",·"set_trust",·"trust="); |
81 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509StoreContext",·"current_crl",·"current_crl"); | 80 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509StoreContext",·"current_crl",·"current_crl"); |
81 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509StoreContext",·"verify",·"verify"); | ||
82 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509StoreContext",·"error_string",·"error_string"); | 82 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509StoreContext",·"error_string",·"error_string"); |
83 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509StoreContext",·"error_depth",·"error_depth"); | 83 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509StoreContext",·"error_depth",·"error_depth"); |
84 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509StoreContext",·"chain",·"chain"); | 84 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509StoreContext",·"chain",·"chain"); |
85 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509StoreContext",·"initialize",·"initialize"); | 85 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509StoreContext",·"initialize",·"initialize"); |
86 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509StoreContext",·"set_flags",·"flags="); | 86 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509StoreContext",·"set_flags",·"flags="); |
87 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509StoreContext",·"set_purpose",·"purpose="); | 87 | ········runtime.addBoundMethod("org.jruby.ext.openssl.X509StoreContext",·"set_purpose",·"purpose="); |
88 | ····} | 88 | ····} |
Offset 3, 10 lines modified | Offset 3, 10 lines modified | ||
3 | ··<groupId>org.bouncycastle</groupId> | 3 | ··<groupId>org.bouncycastle</groupId> |
4 | ··<artifactId>bcpkix</artifactId> | 4 | ··<artifactId>bcpkix</artifactId> |
5 | ··<versioning> | 5 | ··<versioning> |
6 | ····<release>debian</release> | 6 | ····<release>debian</release> |
7 | ····<versions> | 7 | ····<versions> |
8 | ······<version>debian</version> | 8 | ······<version>debian</version> |
9 | ····</versions> | 9 | ····</versions> |
10 | ····<lastUpdated>2020052718 | 10 | ····<lastUpdated>20200527182630</lastUpdated> |
11 | ··</versioning> | 11 | ··</versioning> |
12 | </metadata> | 12 | </metadata> |
Offset 3, 10 lines modified | Offset 3, 10 lines modified | ||
3 | ··<groupId>org.bouncycastle</groupId> | 3 | ··<groupId>org.bouncycastle</groupId> |
4 | ··<artifactId>bcprov</artifactId> | 4 | ··<artifactId>bcprov</artifactId> |
5 | ··<versioning> | 5 | ··<versioning> |
6 | ····<release>debian</release> | 6 | ····<release>debian</release> |
7 | ····<versions> | 7 | ····<versions> |
8 | ······<version>debian</version> | 8 | ······<version>debian</version> |
9 | ····</versions> | 9 | ····</versions> |
10 | ····<lastUpdated>2020052718 | 10 | ····<lastUpdated>20200527182630</lastUpdated> |
11 | ··</versioning> | 11 | ··</versioning> |
12 | </metadata> | 12 | </metadata> |