krypt-provider-jdk 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2011-2013 Hiroshi Nakamura, Martin Boßlet
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,6 @@
1
+ Rakefile
2
+ Manifest.txt
3
+ README.rdoc
4
+ License.txt
5
+ lib/krypt-provider-jdk.rb
6
+ lib/kryptproviderjdk.jar
@@ -0,0 +1,21 @@
1
+ == krypt-provider-jdk
2
+
3
+ A Java implementation of the krypt-provider API
4
+ using the standard JDK security library.
5
+
6
+ == Requirements
7
+
8
+ Java SE 6 or higher. In case you want to be able to
9
+ use Elliptic Curve Cryptography, Java SE 7 or
10
+ higher is required.
11
+
12
+ == krypt
13
+
14
+ For more information about krypt, please have a
15
+ look at the project and its wiki at
16
+
17
+ https://github.com/krypt/krypt
18
+
19
+ Copyright (c) 2011-2013
20
+ Hiroshi Nakamura <nahi@ruby-lang.org>
21
+ Martin Bosslet <Martin.Bosslet@gmail.com>
@@ -0,0 +1,26 @@
1
+ require 'rake'
2
+ require 'ant'
3
+
4
+ MANIFEST = FileList["Rakefile", "Manifest.txt", "README.rdoc", "LICENSE", "lib/**/*", "spec/**/*"]
5
+ File.open("Manifest.txt", "w") {|f| MANIFEST.each {|n| f.puts n } }
6
+
7
+ task :default => [:build]
8
+
9
+ file "lib/kryptproviderjdk.jar" => :build
10
+
11
+ desc "Delete artifact files"
12
+ task :clean do
13
+ rm_f FileList['lib/kryptproviderjdk.jar']
14
+ ant :clean
15
+ end
16
+
17
+ task :coverage_jar do
18
+ ant 'coverage-jar'
19
+ end
20
+
21
+ desc "Build a JAR file"
22
+ task :build do
23
+ ant 'jar'
24
+ end
25
+
26
+ task :java_compile => :build
@@ -0,0 +1,33 @@
1
+ =begin
2
+
3
+ = Info
4
+
5
+ krypt-provider-jdk - Implementation using the JDK security library
6
+
7
+ Copyright (C) 2011-2013
8
+ Hiroshi Nakamura <nahi@ruby-lang.org>
9
+ Martin Bosslet <martin.bosslet@gmail.com>
10
+ All rights reserved.
11
+
12
+ Permission is hereby granted, free of charge, to any person obtaining
13
+ a copy of this software and associated documentation files (the
14
+ "Software"), to deal in the Software without restriction, including
15
+ without limitation the rights to use, copy, modify, merge, publish,
16
+ distribute, sublicense, and/or sell copies of the Software, and to
17
+ permit persons to whom the Software is furnished to do so, subject to
18
+ the following conditions:
19
+
20
+ The above copyright notice and this permission notice shall be
21
+ included in all copies or substantial portions of the Software.
22
+
23
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
24
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
25
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
26
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
27
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
28
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
29
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
30
+
31
+ =end
32
+
33
+ require 'kryptproviderjdk.jar'
Binary file
metadata ADDED
@@ -0,0 +1,53 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: krypt-provider-jdk
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
+ description: Java implementation of the krypt-provider API using the standard JDK security library
15
+ email: Martin.Bosslet@gmail.com
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - Rakefile
21
+ - LICENSE
22
+ - README.rdoc
23
+ - Manifest.txt
24
+ - lib/kryptproviderjdk.jar
25
+ - !binary |-
26
+ bGliL2tyeXB0LXByb3ZpZGVyLWpkay5yYg==
27
+ homepage: https://github.com/krypt/krypt-provider-jdk
28
+ licenses:
29
+ - MIT
30
+ post_install_message:
31
+ rdoc_options: []
32
+ require_paths:
33
+ - lib
34
+ required_ruby_version: !ruby/object:Gem::Requirement
35
+ requirements:
36
+ - - ! '>='
37
+ - !ruby/object:Gem::Version
38
+ version: 1.9.3
39
+ none: false
40
+ required_rubygems_version: !ruby/object:Gem::Requirement
41
+ requirements:
42
+ - - ! '>='
43
+ - !ruby/object:Gem::Version
44
+ version: !binary |-
45
+ MA==
46
+ none: false
47
+ requirements: []
48
+ rubyforge_project:
49
+ rubygems_version: 1.8.24
50
+ signing_key:
51
+ specification_version: 3
52
+ summary: Default provider for JRuby
53
+ test_files: []