Hello, вт, 31 мар. 2020 г. в 06:20, Kinichiro Inoguchi <kinichiro.inogu...@gmail.com>: > > Hi, > > Where can we see the specifcation for these 3 different format, wrapped in > OCTET STRING, INTEGER and unwrapped but masked ? > I tried to find but couldn't.
There is no English specification for GOST PKCS8 files yet, unfortunately. You can find similar pieces of code in OpenSSL's GOST engine (https://github.com/gost-engine/engine/blob/master/gost_ameth.c#L347) and in GnuTLS (https://gitlab.com/gnutls/gnutls/-/blob/master/lib/x509/privkey_pkcs8.c#L1159). -- With best wishes Dmitry