[Swan-dev] encoding (and decoding) DERs?

Andrew Cagney andrew.cagney at gmail.com
Mon Sep 10 14:17:51 UTC 2018


Is there any existing code in libreswan (or a library) for
constructing DERs? The ASN.1 construct:

         * Dss-Sig-Value  ::=  SEQUENCE  {
         *     r       INTEGER,
         *     s       INTEGER
         * }

needs to be output perfectly (if it isn't authentication fails).

Do we have code for doing this?   NSS has secasn1.h and secder.h ....


More information about the Swan-dev mailing list