xmldsig 0.5.1 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/README.md +2 -2
- data/lib/xmldsig/reference.rb +1 -1
- data/lib/xmldsig/signature.rb +1 -1
- data/lib/xmldsig/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 24b0b911fc3ff8735e115e84958d7ed67cb30201
|
4
|
+
data.tar.gz: 4216c7d6b5a608c9e0e6f60af86a2b3abaaedb0d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 526a3a043f0040e45dbcca923a1b7311fa760e435ef997200bdbbb1be91dd09a83614f4ee97c7dd3a5ff27cbeae438c10b3e86d6a898e8fafd17a1103abf05ae
|
7
|
+
data.tar.gz: f23638284559286c0665a76f9104ad909b5e3401caf019f4695843348fa3a88bb8de67ebf2d4b575b74b88f2675877e25628cc202f2c151e79385858ce9d208e
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -58,12 +58,12 @@ end
|
|
58
58
|
# Validation
|
59
59
|
|
60
60
|
signed_document = Xmldsig::SignedDocument.new(signed_xml)
|
61
|
-
signed_document.validate(certificate)
|
61
|
+
document_validates = signed_document.validate(certificate)
|
62
62
|
|
63
63
|
# With block
|
64
64
|
signed_document = Xmldsig::SignedDocument.new(signed_xml)
|
65
65
|
signed_document.validate do |signature_value, data|
|
66
|
-
certificate.public_key.verify(OpenSSL::Digest::SHA256.new, signature_value, data)
|
66
|
+
document_validates = certificate.public_key.verify(OpenSSL::Digest::SHA256.new, signature_value, data)
|
67
67
|
end
|
68
68
|
|
69
69
|
# Custom ID attribute
|
data/lib/xmldsig/reference.rb
CHANGED
data/lib/xmldsig/signature.rb
CHANGED
data/lib/xmldsig/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xmldsig
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- benoist
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-11-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|