Write a traditional DSA private key to a FILE in PEM form (deprecated).
Synopsis
Declared in <openssl/pem.h>
[[deprecated]]
int
PEM_write_DSAPrivateKey(
FILE* fp,
DSA const* x,
EVP_CIPHER const* enc,
unsigned char const* kstr,
int klen,
pem_password_cb* cb,
void* u);
|
Warning
|
Deprecated. Use of this entity is allowed but discouraged. |
Return Value
1 on success, or 0 on failure.
Parameters
Name |
Description |
fp |
FILE to write to. |
x |
DSA key to encode. |
enc |
Optional cipher for traditional PEM encryption, or NULL for cleartext. |
kstr |
Optional encryption key bytes used with |
klen |
Length of |
cb |
Password callback when encryption needs a passphrase, or NULL. |
u |
Application data passed to |
Created with MrDocs