epics 2.1.0 → 2.1.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 +4 -0
- data/README.md +3 -1
- data/lib/epics/client.rb +5 -7
- data/lib/epics/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 980932f78c7674473397501f8e2605ea228440f7f6eb0f8e83b64191c390fb59
|
4
|
+
data.tar.gz: 646f6c19ced2dfc713a632dee70a4bbd88bf18334593ce743b4175fcb73ee063
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3ed6cc291a2ff0a6049f3cb25312364a8165a32aaf87127cb75f655f6338dfe6f9e3ab640f81a13fe177d3e6e3229d2712df8eb9f7c1885b6ebe777597f4061
|
7
|
+
data.tar.gz: ddd2ec2d76ff97053856883471725ae1f0a9f8c97aab9f094ab9598966d3d4494f8cb76184e0a454721b9cb304d403de4e10677ea2a21bea13bad288595d759c
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -3,9 +3,11 @@
|
|
3
3
|
|
4
4
|
# Epics
|
5
5
|
|
6
|
-
EPICS is a ruby implementation of the [EBICS](
|
6
|
+
EPICS is a ruby implementation of the [EBICS](https://www.ebics.org/) (Electronic Banking Internet
|
7
7
|
Communication Standard).
|
8
8
|
|
9
|
+
It supports EBICS 2.5.
|
10
|
+
|
9
11
|
The client supports the complete initialization process comprising INI, HIA and HPB including the
|
10
12
|
INI letter generation. It offers support for the most common download and upload order types
|
11
13
|
(STA HAA HTD HPD PTK HAC HKD C52 C53 C54 CD1 CDB CDD CCT VMK).
|
data/lib/epics/client.rb
CHANGED
@@ -105,13 +105,11 @@ class Epics::Client
|
|
105
105
|
modulus = Base64.decode64(node.at_xpath(".//*[local-name() = 'Modulus']").content)
|
106
106
|
exponent = Base64.decode64(node.at_xpath(".//*[local-name() = 'Exponent']").content)
|
107
107
|
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
bank.e = OpenSSL::BN.new(exponent, 2)
|
114
|
-
end
|
108
|
+
sequence = []
|
109
|
+
sequence << OpenSSL::ASN1::Integer.new(OpenSSL::BN.new(modulus, 2))
|
110
|
+
sequence << OpenSSL::ASN1::Integer.new(OpenSSL::BN.new(exponent, 2))
|
111
|
+
|
112
|
+
bank = OpenSSL::PKey::RSA.new(OpenSSL::ASN1::Sequence(sequence).to_der)
|
115
113
|
|
116
114
|
self.keys["#{host_id.upcase}.#{type}"] = Epics::Key.new(bank)
|
117
115
|
end
|
data/lib/epics/version.rb
CHANGED