Übergeordnet: Encoding algorithms (1.3.6.1.4.1.37476.3.2.3)
Punkt-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-Kodierung: | 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 (kommagetrennt) | IRI IDs (Kommagetrennt) | RA | Kommentar | Erstellt | Geändert |
---|---|---|---|---|---|---|---|
Keine Einträge vorhanden |
Statischer Link zu dieser Seite