OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
p12_attr.c File Reference
#include <stdio.h>
#include "cryptlib.h"
#include <openssl/pkcs12.h>

Go to the source code of this file.

Functions

int PKCS12_add_localkeyid (PKCS12_SAFEBAG *bag, unsigned char *name, int namelen)
 
int PKCS8_add_keyusage (PKCS8_PRIV_KEY_INFO *p8, int usage)
 
int PKCS12_add_friendlyname_asc (PKCS12_SAFEBAG *bag, const char *name, int namelen)
 
int PKCS12_add_friendlyname_uni (PKCS12_SAFEBAG *bag, const unsigned char *name, int namelen)
 
int PKCS12_add_CSPName_asc (PKCS12_SAFEBAG *bag, const char *name, int namelen)
 
ASN1_TYPEPKCS12_get_attr_gen (STACK_OF(X509_ATTRIBUTE)*attrs, int attr_nid)
 
char * PKCS12_get_friendlyname (PKCS12_SAFEBAG *bag)
 

Function Documentation

int PKCS12_add_CSPName_asc ( PKCS12_SAFEBAG bag,
const char *  name,
int  namelen 
)

Definition at line 111 of file p12_attr.c.

int PKCS12_add_friendlyname_asc ( PKCS12_SAFEBAG bag,
const char *  name,
int  namelen 
)

Definition at line 90 of file p12_attr.c.

int PKCS12_add_friendlyname_uni ( PKCS12_SAFEBAG bag,
const unsigned char *  name,
int  namelen 
)

Definition at line 101 of file p12_attr.c.

int PKCS12_add_localkeyid ( PKCS12_SAFEBAG bag,
unsigned char *  name,
int  namelen 
)

Definition at line 65 of file p12_attr.c.

ASN1_TYPE* PKCS12_get_attr_gen ( STACK_OF(X509_ATTRIBUTE)*  attrs,
int  attr_nid 
)

Definition at line 121 of file p12_attr.c.

char* PKCS12_get_friendlyname ( PKCS12_SAFEBAG bag)

Definition at line 137 of file p12_attr.c.

int PKCS8_add_keyusage ( PKCS8_PRIV_KEY_INFO p8,
int  usage 
)

Definition at line 77 of file p12_attr.c.