OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
x509_req.c File Reference
#include <stdio.h>
#include "cryptlib.h"
#include <openssl/bn.h>
#include <openssl/evp.h>
#include <openssl/asn1.h>
#include <openssl/asn1t.h>
#include <openssl/x509.h>
#include <openssl/objects.h>
#include <openssl/buffer.h>
#include <openssl/pem.h>

Go to the source code of this file.

Functions

X509_REQX509_to_X509_REQ (X509 *x, EVP_PKEY *pkey, const EVP_MD *md)
 
EVP_PKEYX509_REQ_get_pubkey (X509_REQ *req)
 
int X509_REQ_check_private_key (X509_REQ *x, EVP_PKEY *k)
 
int X509_REQ_extension_nid (int req_nid)
 
int * X509_REQ_get_extension_nids (void)
 
void X509_REQ_set_extension_nids (int *nids)
 
 STACK_OF (X509_EXTENSION)
 
int X509_REQ_add_extensions_nid (X509_REQ *req, STACK_OF(X509_EXTENSION)*exts, int nid)
 
int X509_REQ_add_extensions (X509_REQ *req, STACK_OF(X509_EXTENSION)*exts)
 
int X509_REQ_get_attr_count (const X509_REQ *req)
 
int X509_REQ_get_attr_by_NID (const X509_REQ *req, int nid, int lastpos)
 
int X509_REQ_get_attr_by_OBJ (const X509_REQ *req, ASN1_OBJECT *obj, int lastpos)
 
X509_ATTRIBUTEX509_REQ_get_attr (const X509_REQ *req, int loc)
 
X509_ATTRIBUTEX509_REQ_delete_attr (X509_REQ *req, int loc)
 
int X509_REQ_add1_attr (X509_REQ *req, X509_ATTRIBUTE *attr)
 
int X509_REQ_add1_attr_by_OBJ (X509_REQ *req, const ASN1_OBJECT *obj, int type, const unsigned char *bytes, int len)
 
int X509_REQ_add1_attr_by_NID (X509_REQ *req, int nid, int type, const unsigned char *bytes, int len)
 
int X509_REQ_add1_attr_by_txt (X509_REQ *req, const char *attrname, int type, const unsigned char *bytes, int len)
 

Function Documentation

STACK_OF ( X509_EXTENSION  )

Definition at line 186 of file x509_req.c.

int X509_REQ_add1_attr ( X509_REQ req,
X509_ATTRIBUTE attr 
)

Definition at line 285 of file x509_req.c.

int X509_REQ_add1_attr_by_NID ( X509_REQ req,
int  nid,
int  type,
const unsigned char *  bytes,
int  len 
)

Definition at line 300 of file x509_req.c.

int X509_REQ_add1_attr_by_OBJ ( X509_REQ req,
const ASN1_OBJECT obj,
int  type,
const unsigned char *  bytes,
int  len 
)

Definition at line 291 of file x509_req.c.

int X509_REQ_add1_attr_by_txt ( X509_REQ req,
const char *  attrname,
int  type,
const unsigned char *  bytes,
int  len 
)

Definition at line 309 of file x509_req.c.

int X509_REQ_add_extensions ( X509_REQ req,
STACK_OF(X509_EXTENSION)*  exts 
)

Definition at line 251 of file x509_req.c.

int X509_REQ_add_extensions_nid ( X509_REQ req,
STACK_OF(X509_EXTENSION)*  exts,
int  nid 
)

Definition at line 218 of file x509_req.c.

int X509_REQ_check_private_key ( X509_REQ x,
EVP_PKEY k 
)

Definition at line 117 of file x509_req.c.

X509_ATTRIBUTE* X509_REQ_delete_attr ( X509_REQ req,
int  loc 
)

Definition at line 280 of file x509_req.c.

int X509_REQ_extension_nid ( int  req_nid)

Definition at line 166 of file x509_req.c.

X509_ATTRIBUTE* X509_REQ_get_attr ( const X509_REQ req,
int  loc 
)

Definition at line 275 of file x509_req.c.

int X509_REQ_get_attr_by_NID ( const X509_REQ req,
int  nid,
int  lastpos 
)

Definition at line 263 of file x509_req.c.

int X509_REQ_get_attr_by_OBJ ( const X509_REQ req,
ASN1_OBJECT obj,
int  lastpos 
)

Definition at line 269 of file x509_req.c.

int X509_REQ_get_attr_count ( const X509_REQ req)

Definition at line 258 of file x509_req.c.

int* X509_REQ_get_extension_nids ( void  )

Definition at line 176 of file x509_req.c.

EVP_PKEY* X509_REQ_get_pubkey ( X509_REQ req)

Definition at line 110 of file x509_req.c.

void X509_REQ_set_extension_nids ( int *  nids)

Definition at line 181 of file x509_req.c.

X509_REQ* X509_to_X509_REQ ( X509 x,
EVP_PKEY pkey,
const EVP_MD md 
)

Definition at line 70 of file x509_req.c.