1
- ![ Version] ( https://img.shields.io/endpoint?url=https://shield.abap.space/version-shield-json/github/Marc-Bernard-Tools/ABAP-Strust/src/zcl_strust .clas.abap/c_version&label=Version&color=blue )
1
+ ![ Version] ( https://img.shields.io/endpoint?url=https://shield.abap.space/version-shield-json/github/Marc-Bernard-Tools/ABAP-Strust/src/zcl_strust2 .clas.abap/c_version&label=Version&color=blue )
2
2
3
- [ ![ License] ( https://img.shields.io/github/license/Marc-Bernard-Tools/ABAP-Strust?label=License&color=green )] ( LICENSE )
4
- [ ![ Contributor Covenant] ( https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg?color=green )] ( https://github.com/Marc-Bernard-Tools/.github/blob/main/CODE_OF_CONDUCT.md )
3
+ [ ![ License] ( https://img.shields.io/github/license/Marc-Bernard-Tools/ABAP-Strust?label=License&color=success )] ( LICENSE )
4
+ [ ![ Contributor Covenant] ( https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg?color=success )] ( https://github.com/Marc-Bernard-Tools/.github/blob/main/CODE_OF_CONDUCT.md )
5
5
[ ![ REUSE Status] ( https://api.reuse.software/badge/github.com/Marc-Bernard-Tools/ABAP-Strust )] ( https://api.reuse.software/info/github.com/Marc-Bernard-Tools/ABAP-Strust )
6
6
7
7
# Trust Management
@@ -14,7 +14,7 @@ NO WARRANTIES, [MIT License](LICENSE)
14
14
15
15
## Usage
16
16
17
- Example of creating, updating, or removing a certificate using class ` zcl_strust ` .
17
+ Example of creating, updating, or removing a certificate using class ` zcl_strust2 ` .
18
18
19
19
``` abap
20
20
CONSTANTS:
@@ -25,8 +25,8 @@ CONSTANTS:
25
25
c_subject TYPE string VALUE 'CN=*.marcbernardtools.com' ##NO_TEXT.
26
26
27
27
DATA:
28
- lo_strust TYPE REF TO zcl_strust ,
29
- lx_error TYPE REF TO zcx_strust .
28
+ lo_strust TYPE REF TO zcl_strust2 ,
29
+ lx_error TYPE REF TO zcx_strust2 .
30
30
31
31
TRY.
32
32
CREATE OBJECT lo_strust
53
53
lo_strust->update( ).
54
54
ENDIF.
55
55
56
- CATCH zcx_strust INTO lx_error.
56
+ CATCH zcx_strust2 INTO lx_error.
57
57
MESSAGE lx_error TYPE 'I' DISPLAY LIKE 'E'.
58
58
ENDTRY.
59
59
```
0 commit comments