Skip to content
Commit 6355d315 authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

Add function PKCS8_set0_pbe



This adds a new function which will encrypt a private key using PKCS#8
based on an X509_ALGOR structure and reimplements PKCS8_encrypt to use it.

Update pkcs8 utlity to use PKCS8_set0_pbe.

Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
parent fef034f8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment