#include <stdio.h>
#include <stdlib.h>
#include "cryptlib.h"
#include <openssl/x509.h>
#include <openssl/rand.h>
#include "asn1_locl.h"
Go to the source code of this file.
Functions | |
EVP_PKEY * | EVP_PKCS82PKEY (PKCS8_PRIV_KEY_INFO *p8) |
PKCS8_PRIV_KEY_INFO * | EVP_PKEY2PKCS8 (EVP_PKEY *pkey) |
PKCS8_PRIV_KEY_INFO * | EVP_PKEY2PKCS8_broken (EVP_PKEY *pkey, int broken) |
PKCS8_PRIV_KEY_INFO * | PKCS8_set_broken (PKCS8_PRIV_KEY_INFO *p8, int broken) |
int | EVP_PKEY_get_attr_count (const EVP_PKEY *key) |
int | EVP_PKEY_get_attr_by_NID (const EVP_PKEY *key, int nid, int lastpos) |
int | EVP_PKEY_get_attr_by_OBJ (const EVP_PKEY *key, ASN1_OBJECT *obj, int lastpos) |
X509_ATTRIBUTE * | EVP_PKEY_get_attr (const EVP_PKEY *key, int loc) |
X509_ATTRIBUTE * | EVP_PKEY_delete_attr (EVP_PKEY *key, int loc) |
int | EVP_PKEY_add1_attr (EVP_PKEY *key, X509_ATTRIBUTE *attr) |
int | EVP_PKEY_add1_attr_by_OBJ (EVP_PKEY *key, const ASN1_OBJECT *obj, int type, const unsigned char *bytes, int len) |
int | EVP_PKEY_add1_attr_by_NID (EVP_PKEY *key, int nid, int type, const unsigned char *bytes, int len) |
int | EVP_PKEY_add1_attr_by_txt (EVP_PKEY *key, const char *attrname, int type, const unsigned char *bytes, int len) |
EVP_PKEY* EVP_PKCS82PKEY | ( | PKCS8_PRIV_KEY_INFO * | p8 | ) |
Definition at line 68 of file evp_pkey.c.
PKCS8_PRIV_KEY_INFO* EVP_PKEY2PKCS8 | ( | EVP_PKEY * | pkey | ) |
Definition at line 112 of file evp_pkey.c.
PKCS8_PRIV_KEY_INFO* EVP_PKEY2PKCS8_broken | ( | EVP_PKEY * | pkey, |
int | broken | ||
) |
Definition at line 119 of file evp_pkey.c.
int EVP_PKEY_add1_attr | ( | EVP_PKEY * | key, |
X509_ATTRIBUTE * | attr | ||
) |
Definition at line 211 of file evp_pkey.c.
int EVP_PKEY_add1_attr_by_NID | ( | EVP_PKEY * | key, |
int | nid, | ||
int | type, | ||
const unsigned char * | bytes, | ||
int | len | ||
) |
Definition at line 226 of file evp_pkey.c.
int EVP_PKEY_add1_attr_by_OBJ | ( | EVP_PKEY * | key, |
const ASN1_OBJECT * | obj, | ||
int | type, | ||
const unsigned char * | bytes, | ||
int | len | ||
) |
Definition at line 217 of file evp_pkey.c.
int EVP_PKEY_add1_attr_by_txt | ( | EVP_PKEY * | key, |
const char * | attrname, | ||
int | type, | ||
const unsigned char * | bytes, | ||
int | len | ||
) |
Definition at line 235 of file evp_pkey.c.
X509_ATTRIBUTE* EVP_PKEY_delete_attr | ( | EVP_PKEY * | key, |
int | loc | ||
) |
Definition at line 206 of file evp_pkey.c.
X509_ATTRIBUTE* EVP_PKEY_get_attr | ( | const EVP_PKEY * | key, |
int | loc | ||
) |
Definition at line 201 of file evp_pkey.c.
int EVP_PKEY_get_attr_by_NID | ( | const EVP_PKEY * | key, |
int | nid, | ||
int | lastpos | ||
) |
Definition at line 189 of file evp_pkey.c.
int EVP_PKEY_get_attr_by_OBJ | ( | const EVP_PKEY * | key, |
ASN1_OBJECT * | obj, | ||
int | lastpos | ||
) |
Definition at line 195 of file evp_pkey.c.
int EVP_PKEY_get_attr_count | ( | const EVP_PKEY * | key | ) |
Definition at line 184 of file evp_pkey.c.
PKCS8_PRIV_KEY_INFO* PKCS8_set_broken | ( | PKCS8_PRIV_KEY_INFO * | p8, |
int | broken | ||
) |
Definition at line 161 of file evp_pkey.c.