]> wagner.pp.ru Git - openssl-gost/engine.git/blobdiff - README.gost
Examples of calculation of GOST2012 digest values.
[openssl-gost/engine.git] / README.gost
index 9ed86a5b885cd5e48325e0c34d1cc4fb5a4c168d..74c5eb2f55991c667769539b074c2370a1584f67 100644 (file)
@@ -81,6 +81,12 @@ And section which describes configuration of the engine should contain
        default_algorithms = ALL
        CRYPT_PARAMS = id-Gost28147-89-CryptoPro-A-ParamSet
 
+BouncyCastle cryptoprovider has some problems with private key parsing from PrivateKeyInfo,
+so if you want to use old private key representation format, which supported by BC,
+you must add:
+  PK_PARAMS = LEGACY_PK_WRAP
+to [gost_section]
+
 Where engine_id parameter specifies name of engine (should be "gost").
 dynamic_path is a location of the loadable shared library implementing the
 engine. If the engine is compiled statically or is located in the OpenSSL