krypt-core 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. data/LICENSE +20 -0
  2. data/ext/krypt/core/Makefile +221 -0
  3. data/ext/krypt/core/binyo-error.h +40 -0
  4. data/ext/krypt/core/binyo-io-buffer.h +54 -0
  5. data/ext/krypt/core/binyo-io.h +131 -0
  6. data/ext/krypt/core/extconf.h +8 -0
  7. data/ext/krypt/core/extconf.rb +80 -0
  8. data/ext/krypt/core/krypt-core.c +110 -0
  9. data/ext/krypt/core/krypt-core.h +97 -0
  10. data/ext/krypt/core/krypt-core.o +0 -0
  11. data/ext/krypt/core/krypt-provider.h +86 -0
  12. data/ext/krypt/core/krypt_asn1-internal.c +681 -0
  13. data/ext/krypt/core/krypt_asn1-internal.h +117 -0
  14. data/ext/krypt/core/krypt_asn1-internal.o +0 -0
  15. data/ext/krypt/core/krypt_asn1.c +2109 -0
  16. data/ext/krypt/core/krypt_asn1.h +88 -0
  17. data/ext/krypt/core/krypt_asn1.o +0 -0
  18. data/ext/krypt/core/krypt_asn1_codec.c +973 -0
  19. data/ext/krypt/core/krypt_asn1_codec.o +0 -0
  20. data/ext/krypt/core/krypt_asn1_in_adapter.c +178 -0
  21. data/ext/krypt/core/krypt_asn1_in_adapter.o +0 -0
  22. data/ext/krypt/core/krypt_asn1_in_chunked.c +292 -0
  23. data/ext/krypt/core/krypt_asn1_in_chunked.o +0 -0
  24. data/ext/krypt/core/krypt_asn1_in_definite.c +156 -0
  25. data/ext/krypt/core/krypt_asn1_in_definite.o +0 -0
  26. data/ext/krypt/core/krypt_asn1_parser.c +592 -0
  27. data/ext/krypt/core/krypt_asn1_parser.o +0 -0
  28. data/ext/krypt/core/krypt_asn1_template-internal.h +185 -0
  29. data/ext/krypt/core/krypt_asn1_template.c +459 -0
  30. data/ext/krypt/core/krypt_asn1_template.h +56 -0
  31. data/ext/krypt/core/krypt_asn1_template.o +0 -0
  32. data/ext/krypt/core/krypt_asn1_template_encoder.c +76 -0
  33. data/ext/krypt/core/krypt_asn1_template_encoder.o +0 -0
  34. data/ext/krypt/core/krypt_asn1_template_parser.c +1176 -0
  35. data/ext/krypt/core/krypt_asn1_template_parser.o +0 -0
  36. data/ext/krypt/core/krypt_b64-internal.h +38 -0
  37. data/ext/krypt/core/krypt_b64.c +391 -0
  38. data/ext/krypt/core/krypt_b64.h +41 -0
  39. data/ext/krypt/core/krypt_b64.o +0 -0
  40. data/ext/krypt/core/krypt_digest.c +391 -0
  41. data/ext/krypt/core/krypt_digest.h +51 -0
  42. data/ext/krypt/core/krypt_digest.o +0 -0
  43. data/ext/krypt/core/krypt_error.c +221 -0
  44. data/ext/krypt/core/krypt_error.h +46 -0
  45. data/ext/krypt/core/krypt_error.o +0 -0
  46. data/ext/krypt/core/krypt_hex-internal.h +36 -0
  47. data/ext/krypt/core/krypt_hex.c +255 -0
  48. data/ext/krypt/core/krypt_hex.h +41 -0
  49. data/ext/krypt/core/krypt_hex.o +0 -0
  50. data/ext/krypt/core/krypt_io.c +65 -0
  51. data/ext/krypt/core/krypt_io.h +56 -0
  52. data/ext/krypt/core/krypt_io.o +0 -0
  53. data/ext/krypt/core/krypt_io_in_pem.c +397 -0
  54. data/ext/krypt/core/krypt_io_in_pem.o +0 -0
  55. data/ext/krypt/core/krypt_missing.c +238 -0
  56. data/ext/krypt/core/krypt_missing.h +62 -0
  57. data/ext/krypt/core/krypt_missing.o +0 -0
  58. data/ext/krypt/core/krypt_pem.c +171 -0
  59. data/ext/krypt/core/krypt_pem.o +0 -0
  60. data/ext/krypt/core/krypt_provider-internal.h +40 -0
  61. data/ext/krypt/core/krypt_provider.c +136 -0
  62. data/ext/krypt/core/krypt_provider.o +0 -0
  63. data/ext/krypt/core/kryptcore.so +0 -0
  64. data/ext/krypt/core/mkmf.log +130 -0
  65. data/lib/krypt-core/version.rb +3 -0
  66. data/lib/krypt-core.rb +35 -0
  67. data/lib/kryptcore.so +0 -0
  68. data/spec/README +2 -0
  69. data/test/README +2 -0
  70. data/test/res/certificate.cer +0 -0
  71. data/test/resources.rb +48 -0
  72. data/test/scratch.rb +17 -0
  73. metadata +150 -0
metadata ADDED
@@ -0,0 +1,150 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: krypt-core
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Hiroshi Nakamura, Martin Bosslet
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2013-02-27 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: binyo
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - '='
20
+ - !ruby/object:Gem::Version
21
+ version: 0.0.1
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - '='
28
+ - !ruby/object:Gem::Version
29
+ version: 0.0.1
30
+ - !ruby/object:Gem::Dependency
31
+ name: krypt-provider-openssl
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - '='
36
+ - !ruby/object:Gem::Version
37
+ version: 0.0.1
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - '='
44
+ - !ruby/object:Gem::Version
45
+ version: 0.0.1
46
+ description: krypt-core API for C(++)-based Rubies
47
+ email: Martin.Bosslet@gmail.com
48
+ executables: []
49
+ extensions:
50
+ - ext/krypt/core/extconf.rb
51
+ extra_rdoc_files: []
52
+ files:
53
+ - LICENSE
54
+ - ext/krypt/core/krypt_asn1_template.o
55
+ - ext/krypt/core/krypt_io.h
56
+ - ext/krypt/core/krypt_asn1_in_adapter.c
57
+ - ext/krypt/core/krypt_missing.h
58
+ - ext/krypt/core/krypt_asn1_in_definite.c
59
+ - ext/krypt/core/krypt-core.h
60
+ - ext/krypt/core/Makefile
61
+ - ext/krypt/core/binyo-io-buffer.h
62
+ - ext/krypt/core/krypt_asn1.h
63
+ - ext/krypt/core/krypt_io_in_pem.c
64
+ - ext/krypt/core/krypt_io_in_pem.o
65
+ - ext/krypt/core/krypt_hex.c
66
+ - ext/krypt/core/krypt_asn1_in_definite.o
67
+ - ext/krypt/core/krypt_asn1_template-internal.h
68
+ - ext/krypt/core/krypt_provider.c
69
+ - ext/krypt/core/krypt_b64.o
70
+ - ext/krypt/core/binyo-error.h
71
+ - ext/krypt/core/krypt_error.o
72
+ - ext/krypt/core/extconf.rb
73
+ - ext/krypt/core/krypt_asn1-internal.c
74
+ - ext/krypt/core/krypt_pem.o
75
+ - ext/krypt/core/krypt_hex.h
76
+ - ext/krypt/core/krypt_digest.h
77
+ - ext/krypt/core/binyo-io.h
78
+ - ext/krypt/core/krypt_io.o
79
+ - ext/krypt/core/krypt_error.c
80
+ - ext/krypt/core/krypt_asn1_template_encoder.c
81
+ - ext/krypt/core/krypt_asn1_parser.c
82
+ - ext/krypt/core/krypt_b64.h
83
+ - ext/krypt/core/krypt_provider.o
84
+ - ext/krypt/core/krypt-core.c
85
+ - ext/krypt/core/krypt_asn1_template_parser.o
86
+ - ext/krypt/core/krypt_asn1-internal.o
87
+ - ext/krypt/core/krypt_asn1-internal.h
88
+ - ext/krypt/core/krypt_asn1_template_encoder.o
89
+ - ext/krypt/core/krypt_asn1_in_adapter.o
90
+ - ext/krypt/core/krypt_digest.o
91
+ - ext/krypt/core/krypt_asn1.o
92
+ - ext/krypt/core/krypt_asn1_codec.o
93
+ - ext/krypt/core/krypt_io.c
94
+ - ext/krypt/core/krypt-core.o
95
+ - ext/krypt/core/krypt_digest.c
96
+ - ext/krypt/core/krypt_missing.c
97
+ - ext/krypt/core/krypt_asn1_template_parser.c
98
+ - ext/krypt/core/krypt_asn1_template.c
99
+ - ext/krypt/core/mkmf.log
100
+ - ext/krypt/core/krypt_b64-internal.h
101
+ - ext/krypt/core/kryptcore.so
102
+ - ext/krypt/core/krypt_hex.o
103
+ - ext/krypt/core/krypt_asn1_parser.o
104
+ - ext/krypt/core/krypt_pem.c
105
+ - ext/krypt/core/extconf.h
106
+ - ext/krypt/core/krypt_asn1_in_chunked.o
107
+ - ext/krypt/core/krypt_asn1_codec.c
108
+ - ext/krypt/core/krypt_missing.o
109
+ - ext/krypt/core/krypt_b64.c
110
+ - ext/krypt/core/krypt_error.h
111
+ - ext/krypt/core/krypt_asn1_in_chunked.c
112
+ - ext/krypt/core/krypt_hex-internal.h
113
+ - ext/krypt/core/krypt-provider.h
114
+ - ext/krypt/core/krypt_provider-internal.h
115
+ - ext/krypt/core/krypt_asn1_template.h
116
+ - ext/krypt/core/krypt_asn1.c
117
+ - lib/krypt-core.rb
118
+ - lib/krypt-core/version.rb
119
+ - lib/kryptcore.so
120
+ - spec/README
121
+ - test/scratch.rb
122
+ - test/README
123
+ - test/resources.rb
124
+ - test/res/certificate.cer
125
+ homepage: https://github.com/krypt/krypt-core-c
126
+ licenses:
127
+ - MIT
128
+ post_install_message:
129
+ rdoc_options: []
130
+ require_paths:
131
+ - lib
132
+ required_ruby_version: !ruby/object:Gem::Requirement
133
+ none: false
134
+ requirements:
135
+ - - ! '>='
136
+ - !ruby/object:Gem::Version
137
+ version: 1.9.3
138
+ required_rubygems_version: !ruby/object:Gem::Requirement
139
+ none: false
140
+ requirements:
141
+ - - ! '>='
142
+ - !ruby/object:Gem::Version
143
+ version: '0'
144
+ requirements: []
145
+ rubyforge_project:
146
+ rubygems_version: 1.8.23
147
+ signing_key:
148
+ specification_version: 3
149
+ summary: C implementation of the krypt-core API
150
+ test_files: []