Subversion Repositories oidconverter

Rev

Rev 3 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3 Rev 6
Line 1... Line 1...
1
# OID/DER converter for C and PHP
1
# OID/DER converter for C and PHP
2
 
2
 
3
Version: 1.11
3
Current version: [1.3](https://github.com/m9aertner/oidConverter)+viathinksoft11
4
 
4
 
5
## Functionalities
5
## Functionalities
6
 
6
 
7
- Encode  **absolute**  OID in dot-notation (`"2.999.1234"`) into Hex-String (`"06 04 88 37 89 52"`)  
7
- Encode  **absolute**  OID in dot-notation (`"2.999.1234"`) into Hex-String (`"06 04 88 37 89 52"`)  
8
- Encode  **relative**  OID in dot-notation (`"1234"`) into Hex-String (`"0D 02 89 52"`)  
8
- Encode  **relative**  OID in dot-notation (`"1234"`) into Hex-String (`"0D 02 89 52"`)  
Line 11... Line 11...
11
- Decode Hex-Notation (`"06 04 88 37 89 52"`  or  `"\x06\x04\x88\x37\x89\x52"`) into dot-notation (`"2.999.1234"`)  
11
- Decode Hex-Notation (`"06 04 88 37 89 52"`  or  `"\x06\x04\x88\x37\x89\x52"`) into dot-notation (`"2.999.1234"`)  
12
 
12
 
13
## Acknowledgements
13
## Acknowledgements
14
 
14
 
15
Object ID converter by  [Matthias Gärtner](http://www.rtner.de/software/oid.html), 06/1999. Converted to plain 'C' 07/2001.  
15
Object ID converter by  [Matthias Gärtner](http://www.rtner.de/software/oid.html), 06/1999. Converted to plain 'C' 07/2001.
-
 
16
 
16
Heavily improved version by Daniel Marschall, ViaThinkSoft June-July 2011.
17
Heavily improved version by Daniel Marschall, ViaThinkSoft June-July 2011.
17
 
18
 
18
Translated from C to PHP by Daniel Marschall, ViaThinkSoft.
19
Translated from C to PHP by Daniel Marschall, ViaThinkSoft.
19
 
20
 
-
 
21
September 2022: Synchronized to upstream version 1.3 (added `-c` argument).
-
 
22
 
-
 
23
## License
-
 
24
 
20
Freeware - do with it whatever you want. Use at your own risk. No warranty of any kind.
25
Work of original author: "Freeware - do with it whatever you want. Use at your own risk. No warranty of any kind."
-
 
26
 
-
 
27
Work of Daniel Marschall (PHP): Licensed under the Apache 2.0 license