opcua 0.14 → 0.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +20 -16
- data/Rakefile +12 -10
- data/cert/cert.h +52 -52
- data/cert/cert_key.h +101 -101
- data/example/bug5.rb +1 -1
- data/example/client_get_float.rb +12 -0
- data/example/client_method.rb +6 -3
- data/example/server.rb +8 -0
- data/example/server_browse.rb +6 -0
- data/example/server_values.rb +40 -0
- data/example/server_xml.rb +85 -0
- data/example/test +22 -0
- data/example/test.mpf +85 -0
- data/example/test1 +12 -0
- data/example/tester.mpf +85 -0
- data/example/turm.rb +13 -0
- data/ext/opcua/client/client.c +18 -8
- data/ext/opcua/helpers/finders.c +28 -0
- data/ext/opcua/helpers/finders.h +1 -0
- data/ext/opcua/helpers/values.c +32 -4
- data/ext/opcua/helpers/values.h +1 -2
- data/ext/opcua/server/server.c +75 -18
- data/opcua.gemspec +1 -1
- metadata +13 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e658783e674985e51fa8746d8816e236358b5cc489c7b43c358f508979ae2505
|
4
|
+
data.tar.gz: 117cf84b0c098589de29493100120b04bbfe3e92faf3c5845f5966eb17a919db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0546d8df45474fe1981be5ea5b01bc0dcb1dfcb6890fe62b32fa455c0cff3b27e236b6f8bb77ffb59108d9d63a1314069dc9eb97293e8c54475360c98b3e3c1
|
7
|
+
data.tar.gz: b682cc246d4080fae51c6adc19dff2924c9583c264a847d83b228276b8bc271d08a116ca375a87377eda58fce42100f74033f3afeb44ea6b0402ca630d8a7e42
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# OPC-UA Ruby Bindings (open62541)
|
2
2
|
|
3
|
-
The development of OPC UA applications takes currently a lot of effort. This is caused by the large possibilities of the OPC UA specification. With this
|
3
|
+
The development of OPC UA applications takes currently a lot of effort. This is caused by the large possibilities of the OPC UA specification. With this implementation we want to define some conventions, which shoud make the technology more useable.
|
4
4
|
|
5
5
|
## Table of Contents
|
6
6
|
|
@@ -30,27 +30,31 @@ Copyright (C) 2019-* Jürgen "eTM" Mangler
|
|
30
30
|
|
31
31
|
## Installation
|
32
32
|
|
33
|
+
|
34
|
+
```sh
|
35
|
+
# Debian/Ubuntu
|
36
|
+
apt install build-essential cmake-curses-gui libmbedtls-dev libxml2-dev libxslt-dev libz-dev libssl-dev libicu-dev
|
37
|
+
# Fedora/Redhat
|
38
|
+
dnf install @buildsys-build @development-tools cmake libxml2-devel libxslt-devel zlib-devel libicu-devel mbedtls-devel
|
39
|
+
```
|
40
|
+
|
33
41
|
Dependency: https://github.com/open62541/open62541 > 0.4 (master branch as of 2019-04-26)
|
34
42
|
|
35
43
|
```sh
|
36
44
|
git clone https://github.com/open62541/open62541.git
|
37
45
|
cd open62541
|
38
|
-
mkdir build
|
39
|
-
|
40
|
-
cmake ..
|
41
|
-
ccmake ..
|
42
|
-
# Configuration, see picture below
|
46
|
+
mkdir build && cd build
|
47
|
+
cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DUA_ENABLE_AMALGAMATION=ON -DUA_ENABLE_ENCRYPTION=ON -DUA_ENABLE_ENCRYPTION_MBEDTLS=ON ..
|
43
48
|
make
|
44
49
|
sudo make install
|
45
50
|
gem install opcua
|
46
51
|
```
|
47
52
|
|
48
|
-
![ccmake Config](config.png)
|
49
|
-
|
50
53
|
If the installation works correctly, but examples are still complaining about missing lib62541.so, try this:
|
51
54
|
|
52
55
|
```sh
|
53
|
-
sudo echo "/usr/local/lib"
|
56
|
+
sudo echo "/usr/local/lib" >> /etc/ld.so.conf.d/local.conf # add to libs path
|
57
|
+
sudo echo "/usr/local/lib64" >> /etc/ld.so.conf.d/local.conf # add to libs path
|
54
58
|
sudo ldconfig # update libs
|
55
59
|
sudo ldconfig -p | grep libopen62541 # check if its there
|
56
60
|
```
|
@@ -67,7 +71,7 @@ The server has following functions:
|
|
67
71
|
* Find nodes in the adress space
|
68
72
|
* Loop for getting real life data
|
69
73
|
|
70
|
-
Every server application uses the
|
74
|
+
Every server application uses the Daemonite gem, which allows to run the server as service.
|
71
75
|
```ruby
|
72
76
|
Daemonite.new do
|
73
77
|
on startup do |opts|
|
@@ -93,7 +97,7 @@ server.add_namespace "https://yourdomain/testserver"
|
|
93
97
|
```
|
94
98
|
|
95
99
|
|
96
|
-
#### Create ObjectTypes
|
100
|
+
#### Create ObjectTypes
|
97
101
|
|
98
102
|
Basically all new created types are subtypes of the _BaseObjectType_. With ```server.types.add_object_type(:TestObjectType)``` a new type is defined in the information model. All nodes of the new created type are defined in the ```tap{}``` region.
|
99
103
|
|
@@ -129,7 +133,7 @@ With ```.add_object(:TestObject)``` a new object named _TestObject_ is added. Th
|
|
129
133
|
|
130
134
|
##### Add Method
|
131
135
|
|
132
|
-
Methods are added with the ```.add_method(:TestMethod)``` function. Per default the method has no input and output arguments. By adding additional arguments you can define input arguments. The code for defining a method with input arguments looks like
|
136
|
+
Methods are added with the ```.add_method(:TestMethod)``` function. Per default the method has no input and output arguments. By adding additional arguments you can define input arguments. The code for defining a method with input arguments looks like
|
133
137
|
```ruby
|
134
138
|
t.add_method :TestMethod, inputarg1: OPCUA::TYPES::STRING, inputarg2: OPCUA::TYPES::DATETIME do |node, inputarg1, inputarg2|
|
135
139
|
#do some stuff here
|
@@ -140,7 +144,7 @@ in the ```do...end```section you write the code which should be executed by call
|
|
140
144
|
|
141
145
|
#### Manifest Objects
|
142
146
|
|
143
|
-
ObjectTypes can be instiantiated with the ```.manifest``` method.
|
147
|
+
ObjectTypes can be instiantiated with the ```.manifest``` method.
|
144
148
|
|
145
149
|
```ruby
|
146
150
|
testobject =server.objects.manifest(:TestObjectType, to)
|
@@ -156,7 +160,7 @@ testobject.delete!
|
|
156
160
|
|
157
161
|
#### Find Nodes in the Addressspace
|
158
162
|
|
159
|
-
To get a specific node you should use the ```.find``` method.
|
163
|
+
To get a specific node you should use the ```.find``` method.
|
160
164
|
```ruby
|
161
165
|
tv = to.find :TestVariable
|
162
166
|
```
|
@@ -187,7 +191,7 @@ You can assign vlaues without definig a datatype. The correct _DataType_ will be
|
|
187
191
|
#### Loop for getting Real Life Data
|
188
192
|
The server loop looks like follows:
|
189
193
|
```ruby
|
190
|
-
run do
|
194
|
+
run do
|
191
195
|
sleep server.run
|
192
196
|
to.value = 'Testvariable1'
|
193
197
|
p to.value
|
@@ -196,7 +200,7 @@ The server loop looks like follows:
|
|
196
200
|
end
|
197
201
|
```
|
198
202
|
|
199
|
-
The loop starts with ```sleep server.run```. This is recommended by the open62541 developer. With the ```.value``` function you can write or get the value of a node.
|
203
|
+
The loop starts with ```sleep server.run```. This is recommended by the open62541 developer. With the ```.value``` function you can write or get the value of a node.
|
200
204
|
|
201
205
|
### Client
|
202
206
|
TBD. See examples subdirectory.
|
data/Rakefile
CHANGED
@@ -1,24 +1,26 @@
|
|
1
1
|
require 'rubygems/package_task'
|
2
|
-
require 'rake/extensiontask'
|
3
2
|
require 'fileutils'
|
4
3
|
|
5
4
|
spec = eval(File.read('opcua.gemspec'))
|
6
5
|
|
7
|
-
|
6
|
+
task :compile do
|
7
|
+
require 'rake/extensiontask'
|
8
8
|
|
9
|
-
|
10
|
-
|
9
|
+
puts `cert/generate_certificate.sh`
|
10
|
+
spec.extensions.each do |f|
|
11
|
+
Rake.application.clear
|
11
12
|
|
12
|
-
|
13
|
+
task :default => [:compile]
|
13
14
|
|
14
|
-
|
15
|
-
|
15
|
+
t = Rake::ExtensionTask.new "opcua/" + File.basename(File.dirname(f)), spec
|
16
|
+
Rake::Task[:default].invoke
|
17
|
+
end
|
18
|
+
Rake.application.clear
|
16
19
|
end
|
17
|
-
Rake.application.clear
|
18
20
|
|
19
|
-
task :default => [:
|
21
|
+
task :default => [:compile]
|
20
22
|
|
21
|
-
|
23
|
+
Gem::PackageTask.new(spec) do |pkg|
|
22
24
|
pkg.need_zip = true
|
23
25
|
pkg.need_tar = true
|
24
26
|
FileUtils.mkdir 'pkg' rescue nil
|
data/cert/cert.h
CHANGED
@@ -1,70 +1,70 @@
|
|
1
1
|
unsigned char cert_der[] = {
|
2
2
|
0x30, 0x82, 0x03, 0x18, 0x30, 0x82, 0x02, 0x00, 0xa0, 0x03, 0x02, 0x01,
|
3
|
-
0x02, 0x02, 0x14,
|
4
|
-
|
3
|
+
0x02, 0x02, 0x14, 0x3e, 0xa5, 0xc9, 0x94, 0x89, 0x4f, 0x15, 0xee, 0x1b,
|
4
|
+
0x82, 0x04, 0xec, 0x09, 0x7e, 0xb7, 0x7a, 0xc7, 0x26, 0x3d, 0x2a, 0x30,
|
5
5
|
0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x01, 0x0b,
|
6
6
|
0x05, 0x00, 0x30, 0x15, 0x31, 0x13, 0x30, 0x11, 0x06, 0x03, 0x55, 0x04,
|
7
7
|
0x03, 0x0c, 0x0a, 0x72, 0x75, 0x62, 0x79, 0x2d, 0x6f, 0x70, 0x63, 0x75,
|
8
|
-
0x61, 0x30, 0x1e, 0x17, 0x0d,
|
9
|
-
|
10
|
-
0x31, 0x34, 0x32, 0x31, 0x33,
|
8
|
+
0x61, 0x30, 0x1e, 0x17, 0x0d, 0x32, 0x30, 0x30, 0x36, 0x33, 0x30, 0x31,
|
9
|
+
0x34, 0x32, 0x31, 0x33, 0x34, 0x5a, 0x17, 0x0d, 0x32, 0x31, 0x30, 0x36,
|
10
|
+
0x32, 0x30, 0x31, 0x34, 0x32, 0x31, 0x33, 0x34, 0x5a, 0x30, 0x15, 0x31,
|
11
11
|
0x13, 0x30, 0x11, 0x06, 0x03, 0x55, 0x04, 0x03, 0x0c, 0x0a, 0x72, 0x75,
|
12
12
|
0x62, 0x79, 0x2d, 0x6f, 0x70, 0x63, 0x75, 0x61, 0x30, 0x82, 0x01, 0x22,
|
13
13
|
0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x01,
|
14
14
|
0x01, 0x05, 0x00, 0x03, 0x82, 0x01, 0x0f, 0x00, 0x30, 0x82, 0x01, 0x0a,
|
15
|
-
0x02, 0x82, 0x01, 0x01, 0x00,
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
15
|
+
0x02, 0x82, 0x01, 0x01, 0x00, 0xbd, 0x8e, 0xc3, 0x44, 0xf2, 0x43, 0x2c,
|
16
|
+
0xcc, 0x2e, 0xa2, 0x22, 0xd2, 0x31, 0x6e, 0x38, 0x85, 0x53, 0x53, 0x5d,
|
17
|
+
0x55, 0x68, 0x39, 0x0e, 0xe6, 0x4c, 0x7d, 0xe5, 0xd0, 0x52, 0x92, 0x31,
|
18
|
+
0x1b, 0xb4, 0x4f, 0xde, 0xd7, 0xba, 0x52, 0xbb, 0xdb, 0x27, 0xf7, 0x12,
|
19
|
+
0x1f, 0xef, 0x86, 0x2c, 0x41, 0x98, 0xa1, 0xca, 0xd2, 0xfd, 0x01, 0x0a,
|
20
|
+
0xc7, 0x98, 0x71, 0x4b, 0xa7, 0x93, 0xa0, 0xf3, 0x6a, 0x62, 0x23, 0xa8,
|
21
|
+
0xc3, 0x22, 0x45, 0xac, 0x2c, 0xac, 0x63, 0x95, 0x18, 0x87, 0x6a, 0xd0,
|
22
|
+
0xac, 0x3b, 0x09, 0x76, 0xb3, 0xe1, 0x4b, 0x03, 0xb3, 0x94, 0x7a, 0x65,
|
23
|
+
0xed, 0x50, 0x03, 0x8c, 0xca, 0x3c, 0xee, 0x96, 0x52, 0xe2, 0x1d, 0xad,
|
24
|
+
0x58, 0x49, 0x6f, 0x07, 0x18, 0x9d, 0x49, 0xb4, 0xe2, 0x08, 0xca, 0xe7,
|
25
|
+
0x62, 0x30, 0xb6, 0x99, 0xcc, 0x68, 0xe3, 0x85, 0xa5, 0x7f, 0xd2, 0xca,
|
26
|
+
0x24, 0x02, 0x26, 0x1c, 0x52, 0x5c, 0xa1, 0x03, 0x81, 0xca, 0x97, 0x84,
|
27
|
+
0xbb, 0x4a, 0x27, 0xba, 0x24, 0x9a, 0x3f, 0x5d, 0x31, 0xd6, 0xe2, 0xfd,
|
28
|
+
0x02, 0xa8, 0xca, 0xc6, 0x65, 0xd7, 0x09, 0x77, 0x6c, 0x19, 0xf1, 0x8c,
|
29
|
+
0x7e, 0x22, 0x6c, 0x35, 0x52, 0x61, 0x53, 0xd8, 0xd3, 0xcc, 0xfc, 0xe5,
|
30
|
+
0x26, 0x85, 0xb3, 0x39, 0x1d, 0x2d, 0xf8, 0x02, 0x1a, 0x18, 0x9d, 0x9d,
|
31
|
+
0x92, 0x88, 0x1f, 0x4b, 0x96, 0x19, 0x76, 0x22, 0x4b, 0xbf, 0x34, 0x57,
|
32
|
+
0x5a, 0xfd, 0x15, 0x22, 0x26, 0xbd, 0x30, 0xae, 0x07, 0x4b, 0x99, 0x02,
|
33
|
+
0xb6, 0xf8, 0xc2, 0xc9, 0x9f, 0x1f, 0xff, 0xe1, 0xb4, 0xf6, 0x07, 0xda,
|
34
|
+
0x46, 0xf7, 0x14, 0xa3, 0x1c, 0xdb, 0x5c, 0x25, 0x20, 0xf1, 0xa4, 0x9e,
|
35
|
+
0xd2, 0x40, 0x0b, 0x91, 0x84, 0x54, 0xb9, 0x55, 0x59, 0x49, 0x92, 0x5e,
|
36
|
+
0x3c, 0xeb, 0x55, 0x25, 0x66, 0x4a, 0xae, 0x6d, 0x89, 0x02, 0x03, 0x01,
|
37
37
|
0x00, 0x01, 0xa3, 0x60, 0x30, 0x5e, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d,
|
38
|
-
0x0e, 0x04, 0x16, 0x04, 0x14,
|
39
|
-
|
40
|
-
|
38
|
+
0x0e, 0x04, 0x16, 0x04, 0x14, 0x69, 0xb6, 0x74, 0x81, 0xb7, 0x88, 0x44,
|
39
|
+
0x9f, 0x6e, 0xb3, 0xd6, 0x1f, 0x3c, 0x06, 0xe4, 0xbd, 0xe3, 0xbe, 0xbe,
|
40
|
+
0xe9, 0x30, 0x0f, 0x06, 0x03, 0x55, 0x1d, 0x13, 0x01, 0x01, 0xff, 0x04,
|
41
41
|
0x05, 0x30, 0x03, 0x01, 0x01, 0xff, 0x30, 0x1c, 0x06, 0x03, 0x55, 0x1d,
|
42
42
|
0x11, 0x04, 0x15, 0x30, 0x13, 0x86, 0x11, 0x72, 0x75, 0x62, 0x79, 0x2d,
|
43
43
|
0x6f, 0x70, 0x63, 0x75, 0x61, 0x3a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74,
|
44
44
|
0x30, 0x0e, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, 0xff, 0x04, 0x04,
|
45
45
|
0x03, 0x02, 0x05, 0xa0, 0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86,
|
46
46
|
0xf7, 0x0d, 0x01, 0x01, 0x0b, 0x05, 0x00, 0x03, 0x82, 0x01, 0x01, 0x00,
|
47
|
-
|
48
|
-
0x9b,
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
47
|
+
0x00, 0xf2, 0x88, 0x0a, 0x87, 0xfe, 0x3f, 0xd7, 0x45, 0x4b, 0x9a, 0xee,
|
48
|
+
0x9b, 0x1e, 0xa8, 0x6f, 0x36, 0xcf, 0x7d, 0x3e, 0xd4, 0x34, 0x65,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0x8f, 0x7c, 0x21, 0x64,
|
63
|
+
0x57, 0x35, 0xba, 0x49, 0x8a, 0x1d, 0x12, 0x2c, 0x1d, 0xe0, 0xd8, 0x99,
|
64
|
+
0xc6, 0x36, 0xc1, 0x4f, 0x1a, 0x37, 0xd9, 0x6e, 0x95, 0xed, 0x94, 0x75,
|
65
|
+
0x3b, 0x3a, 0x21, 0x28, 0x28, 0xb3, 0x25, 0x5b, 0xb7, 0x5b, 0x00, 0x05,
|
66
|
+
0x72, 0xeb, 0x09, 0x43, 0x2a, 0x18, 0x17, 0x2b, 0x6d, 0x45, 0xe6, 0xaa,
|
67
|
+
0x90, 0xc8, 0x81, 0x61, 0x94, 0x8b, 0xd2, 0x72, 0xc0, 0x57, 0x0b, 0x29,
|
68
|
+
0x18, 0x5d, 0x3c, 0x81
|
69
69
|
};
|
70
70
|
unsigned int cert_der_len = 796;
|
data/cert/cert_key.h
CHANGED
@@ -1,103 +1,103 @@
|
|
1
1
|
unsigned char cert_key_der[] = {
|
2
|
-
0x30, 0x82, 0x04,
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
0x00,
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
0x4f,
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
2
|
+
0x30, 0x82, 0x04, 0xa3, 0x02, 0x01, 0x00, 0x02, 0x82, 0x01, 0x01, 0x00,
|
3
|
+
0xbd, 0x8e, 0xc3, 0x44, 0xf2, 0x43, 0x2c, 0xcc, 0x2e, 0xa2, 0x22, 0xd2,
|
4
|
+
0x31, 0x6e, 0x38, 0x85, 0x53, 0x53, 0x5d, 0x55, 0x68, 0x39, 0x0e, 0xe6,
|
5
|
+
0x4c, 0x7d, 0xe5, 0xd0, 0x52, 0x92, 0x31, 0x1b, 0xb4, 0x4f, 0xde, 0xd7,
|
6
|
+
0xba, 0x52, 0xbb, 0xdb, 0x27, 0xf7, 0x12, 0x1f, 0xef, 0x86, 0x2c, 0x41,
|
7
|
+
0x98, 0xa1, 0xca, 0xd2, 0xfd, 0x01, 0x0a, 0xc7, 0x98, 0x71, 0x4b, 0xa7,
|
8
|
+
0x93, 0xa0, 0xf3, 0x6a, 0x62, 0x23, 0xa8, 0xc3, 0x22, 0x45, 0xac, 0x2c,
|
9
|
+
0xac, 0x63, 0x95, 0x18, 0x87, 0x6a, 0xd0, 0xac, 0x3b, 0x09, 0x76, 0xb3,
|
10
|
+
0xe1, 0x4b, 0x03, 0xb3, 0x94, 0x7a, 0x65, 0xed, 0x50, 0x03, 0x8c, 0xca,
|
11
|
+
0x3c, 0xee, 0x96, 0x52, 0xe2, 0x1d, 0xad,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
|
94
|
+
0xe4, 0x0b, 0xe1, 0x3e, 0xc0, 0xf5, 0x74, 0xa7, 0x6a, 0x85, 0xcf, 0x53,
|
95
|
+
0x15, 0x8e, 0xc6, 0x57, 0xdc, 0xfd, 0xf3, 0x15, 0xd6, 0x4a, 0xbf, 0x67,
|
96
|
+
0xf6, 0x03, 0x75, 0x91, 0x83, 0x84, 0x62, 0xf7, 0x39, 0x21, 0x72, 0xa4,
|
97
|
+
0x82, 0x98, 0x84, 0x1f, 0x2a, 0x45, 0x34, 0x5e, 0xf1, 0x6f, 0x79, 0x5c,
|
98
|
+
0xc9, 0x70, 0x2c, 0xb4, 0x15, 0xe4, 0x62, 0xec, 0x93, 0xf7, 0x71, 0xe6,
|
99
|
+
0xfe, 0x54, 0xe9, 0xef, 0xd6, 0xe3, 0x0b, 0x2b, 0xc1, 0x31, 0x24, 0xe1,
|
100
|
+
0x17, 0x0b, 0x9c, 0xa4, 0x54, 0x2b, 0xa6, 0x78, 0x70, 0x0b, 0x1e, 0x62,
|
101
|
+
0x6e, 0x01, 0x48
|
102
102
|
};
|
103
|
-
unsigned int cert_key_der_len =
|
103
|
+
unsigned int cert_key_der_len = 1191;
|