Functions
pem_pk8.c File Reference
#include <openssl/pem.h>
#include <openssl/err.h>
#include <openssl/evp.h>
#include <openssl/mem.h>
#include <openssl/obj.h>
#include <openssl/pkcs8.h>
#include <openssl/rand.h>
#include <openssl/x509.h>
Include dependency graph for pem_pk8.c:

Go to the source code of this file.

Functions

EVP_PKEYd2i_PKCS8PrivateKey_bio (BIO *bp, EVP_PKEY **x, pem_password_cb *cb, void *u)
 
EVP_PKEYd2i_PKCS8PrivateKey_fp (FILE *fp, EVP_PKEY **x, pem_password_cb *cb, void *u)
 
static int do_pk8pkey (BIO *bp, EVP_PKEY *x, int isder, int nid, const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u)
 
static int do_pk8pkey_fp (FILE *bp, EVP_PKEY *x, int isder, int nid, const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u)
 
int i2d_PKCS8PrivateKey_bio (BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u)
 
int i2d_PKCS8PrivateKey_fp (FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u)
 
int i2d_PKCS8PrivateKey_nid_bio (BIO *bp, EVP_PKEY *x, int nid, char *kstr, int klen, pem_password_cb *cb, void *u)
 
int i2d_PKCS8PrivateKey_nid_fp (FILE *fp, EVP_PKEY *x, int nid, char *kstr, int klen, pem_password_cb *cb, void *u)
 
int PEM_write_bio_PKCS8PrivateKey (BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u)
 
int PEM_write_bio_PKCS8PrivateKey_nid (BIO *bp, EVP_PKEY *x, int nid, char *kstr, int klen, pem_password_cb *cb, void *u)
 
int PEM_write_PKCS8PrivateKey (FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u)
 
int PEM_write_PKCS8PrivateKey_nid (FILE *fp, EVP_PKEY *x, int nid, char *kstr, int klen, pem_password_cb *cb, void *u)
 

Function Documentation

◆ d2i_PKCS8PrivateKey_bio()

EVP_PKEY* d2i_PKCS8PrivateKey_bio ( BIO bp,
EVP_PKEY **  x,
pem_password_cb cb,
void *  u 
)

Definition at line 155 of file pem_pk8.c.

◆ d2i_PKCS8PrivateKey_fp()

EVP_PKEY* d2i_PKCS8PrivateKey_fp ( FILE *  fp,
EVP_PKEY **  x,
pem_password_cb cb,
void *  u 
)

Definition at line 236 of file pem_pk8.c.

◆ do_pk8pkey()

static int do_pk8pkey ( BIO bp,
EVP_PKEY x,
int  isder,
int  nid,
const EVP_CIPHER enc,
char *  kstr,
int  klen,
pem_password_cb cb,
void *  u 
)
static

Definition at line 109 of file pem_pk8.c.

◆ do_pk8pkey_fp()

static int do_pk8pkey_fp ( FILE *  bp,
EVP_PKEY x,
int  isder,
int  nid,
const EVP_CIPHER enc,
char *  kstr,
int  klen,
pem_password_cb cb,
void *  u 
)
static

Definition at line 221 of file pem_pk8.c.

◆ i2d_PKCS8PrivateKey_bio()

int i2d_PKCS8PrivateKey_bio ( BIO bp,
EVP_PKEY x,
const EVP_CIPHER enc,
char *  kstr,
int  klen,
pem_password_cb cb,
void *  u 
)

Definition at line 95 of file pem_pk8.c.

◆ i2d_PKCS8PrivateKey_fp()

int i2d_PKCS8PrivateKey_fp ( FILE *  fp,
EVP_PKEY x,
const EVP_CIPHER enc,
char *  kstr,
int  klen,
pem_password_cb cb,
void *  u 
)

Definition at line 194 of file pem_pk8.c.

◆ i2d_PKCS8PrivateKey_nid_bio()

int i2d_PKCS8PrivateKey_nid_bio ( BIO bp,
EVP_PKEY x,
int  nid,
char *  kstr,
int  klen,
pem_password_cb cb,
void *  u 
)

Definition at line 102 of file pem_pk8.c.

◆ i2d_PKCS8PrivateKey_nid_fp()

int i2d_PKCS8PrivateKey_nid_fp ( FILE *  fp,
EVP_PKEY x,
int  nid,
char *  kstr,
int  klen,
pem_password_cb cb,
void *  u 
)

Definition at line 200 of file pem_pk8.c.

◆ PEM_write_bio_PKCS8PrivateKey()

int PEM_write_bio_PKCS8PrivateKey ( BIO bp,
EVP_PKEY x,
const EVP_CIPHER enc,
char *  kstr,
int  klen,
pem_password_cb cb,
void *  u 
)

Definition at line 88 of file pem_pk8.c.

◆ PEM_write_bio_PKCS8PrivateKey_nid()

int PEM_write_bio_PKCS8PrivateKey_nid ( BIO bp,
EVP_PKEY x,
int  nid,
char *  kstr,
int  klen,
pem_password_cb cb,
void *  u 
)

Definition at line 81 of file pem_pk8.c.

◆ PEM_write_PKCS8PrivateKey()

int PEM_write_PKCS8PrivateKey ( FILE *  fp,
EVP_PKEY x,
const EVP_CIPHER enc,
char *  kstr,
int  klen,
pem_password_cb cb,
void *  u 
)

Definition at line 214 of file pem_pk8.c.

◆ PEM_write_PKCS8PrivateKey_nid()

int PEM_write_PKCS8PrivateKey_nid ( FILE *  fp,
EVP_PKEY x,
int  nid,
char *  kstr,
int  klen,
pem_password_cb cb,
void *  u 
)

Definition at line 207 of file pem_pk8.c.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:25