[saag] Re: A simpler form of OID

Viktor Dukhovni <[email protected]>
Newsgroups gmane.ietf.saag
Message-ID <[email protected]>
On Wed, Sep 17, 2025 at 11:38:40PM -0400, Michael Richardson wrote:
> 
> Phillip Hallam-Baker <[email protected]> wrote:
>     > So I had a bunch of thoughts on using variants for the purpose and
>     > suddenly realized there is a much simpler approach than specifying the
>     > conversion of integers to strings of octets: The octet sequence is
>     > sufficient.
> 
> Yes.  I think you've just repeated how DER encodes integers in unbounded ways.

This is a base-128 encoding, only the termination signal is in the
low-order bit, so instead of non-final bytes having the high bit set,
they have the low bit set.  This perhaps makes for smaller numbers in
the encoding, that could be easier to remember.

And of course base-128 is not how DER encodes integers generally, but it
is how DER encodes the integer elements of OIDs.

-- 
    Viktor.  🇺🇦 Слава Україні!

_______________________________________________
saag mailing list -- [email protected]
To unsubscribe send an email to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.