Subversion Repositories oidconverter

Rev

Rev 6 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6 Rev 9
Line 1... Line 1...
1
# OID/DER converter for C and PHP
1
# OID/DER converter for C and PHP
2
 
2
 
3
Current version: [1.3](https://github.com/m9aertner/oidConverter)+viathinksoft11
3
Current version: [1.3](https://github.com/m9aertner/oidConverter)+viathinksoft12
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"`)  
-
 
9
- Encode  **absolute**  OID in dot-notation (`"2.999.1234"`) into C-Hex-String (`"\x06\x04\x88\x37\x89\x52"`)  
8
- Encode  **absolute**  OID in dot-notation (`"2.999.1234"`) into C-Hex-String (`"\x06\x04\x88\x37\x89\x52"`)  
-
 
9
- Encode  **absolute**  OID in dot-notation (`"2.999.1234"`) into C-Array (`{ 0x06, 0x04, 0x88, 0x37, 0x89, 0x52 }`)  
-
 
10
- Encode  **relative**  OID in dot-notation (`"1234"`) into Hex-String (`"0D 02 89 52"`)  
10
- Encode  **relative**  OID in dot-notation (`"1234"`) into C-Hex-String (`"\x0D\x02\x89\x52"`)  
11
- Encode  **relative**  OID in dot-notation (`"1234"`) into C-Hex-String (`"\x0D\x02\x89\x52"`)  
-
 
12
- Encode  **relative**  OID in dot-notation (`"1234"`) into C-Array (`{ 0x0D, 0x02, 0x89, 0x52 }`)  
11
- Decode Hex-Notation (`"06 04 88 37 89 52"`  or  `"\x06\x04\x88\x37\x89\x52"`) into dot-notation (`"2.999.1234"`)  
13
- Decode Hex-Notation (`"06 04 88 37 89 52"`  or  `"\x06\x04\x88\x37\x89\x52"`  or  `{ 0x06, 0x04, 0x88, 0x37, 0x89, 0x52 }`) into dot-notation (`"2.999.1234"`)  
12
 
14
 
13
## Acknowledgements
15
## Acknowledgements
14
 
16
 
15
Object ID converter by  [Matthias Gärtner](http://www.rtner.de/software/oid.html), 06/1999. Converted to plain 'C' 07/2001.
17
Object ID converter by  [Matthias Gärtner](http://www.rtner.de/software/oid.html), 06/1999. Converted to plain 'C' 07/2001.
16
 
18