Parent node: Encoding algorithms (1.3.6.1.4.1.37476.3.2.3)
Dot notation: | 1.3.6.1.4.1.37476.3.2.3.1 |
ASN.1 notation: | { iso(1) identified-organization(3) dod(6) internet(1) private(4) enterprise(1) 37476 specifications(3) algorithm(2) encoding(3) stringToNumber(1) } |
OID-IRI notation: | /ISO/Identified-Organization/6/1/4/1/37476/Specifications/Algorithm/Encoding/StringToNumber |
WEID notation: | weid:pen:SX0-3-2-3-1-9 |
DER encoding: | 06:0C:2B:06:01:04:01:82:A4:64:03:02:03:01 |
StN (String to Number) algorithm
The StN (String to Number) algorithm works as follows:
If the input string is empty, the resulting number will be 99.
If the input string is not empty, then it will be
encoded using UTF-8 and finally encoded with Base64.
Every Base64 will be encoded to a two digit decimal number.
'A' encodes to 00, 'B' encodes to 01, ...,
'/' encodes to 63, '=' encodes to 64
All numbers will be concatenated.
Example:
'test' will encode to '2906215129006464'
Using the StN algorithm, every string, or identifier respectively,
can be mapped into the OID tree (but the client must use
BigInteger to handle the OID, or read the OID as String
instead of interprete each arc as integer).
The advantage in comparison to name based Universally
Unique Identifiers (UUIDs), which can be
mapped to the OID tree into arc 2.25 is, that the OID
can be converted back to its original string.
ID | Base36 | ASN.1 IDs (comma sep.) | IRI IDs (comma sep.) | RA | Comment | Created | Updated |
---|---|---|---|---|---|---|---|
No items available |