Toerless Eckert <[email protected]> wrote:
    > UTF8 ? ;-))

    > AcpNodeName ::= IA5String (SIZE (1..MAX))

    >> # the OID: 1.3.6.1.4.1.46930.1 is a Private Enterprise Number OID:
    >> #    iso.org.dod.internet.private.enterprise . SANDELMAN=46930 . 1
    >> @idevid.add_extension(extension_factory.create_extension(
    >> "subjectAltName",
    >> sprintf("otherName:1.3.6.1.4.1.46930.1;UTF8:%s",
    >> self.sanitized_eui64),
    >> false))

I think it's just:

 @idevid.add_extension(extension_factory.create_extension(
    "subjectAltName",
    sprintf("otherName:1.3.6.1.4.1.46930.1;IA5STRING:%s",
    self.sanitized_eui64),
    false))

Although I think "IA5" and "IA5STRING" are equvivalent here.

    >> The hardest part was figuring out the ";UTF8:" part, as I had to read 
the C
    >> code underneath to learn how that worked.
    >> (false, is I think, whether it is critical)

The table is at: openssl/crypto/asn1/asn1_gen.c.  If it's in a document
somewhere, I never found it.

--
Michael Richardson <[email protected]>, Sandelman Software Works
 -= IPv6 IoT consulting =-



Attachment: signature.asc
Description: PGP signature

_______________________________________________
Anima mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/anima

Reply via email to