OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
x_all.c File Reference
#include <stdio.h>
#include <openssl/stack.h>
#include "cryptlib.h"
#include <openssl/buffer.h>
#include <openssl/asn1.h>
#include <openssl/evp.h>
#include <openssl/x509.h>
#include <openssl/rsa.h>
#include <openssl/dsa.h>

Go to the source code of this file.

Functions

int X509_verify (X509 *a, EVP_PKEY *r)
 
int X509_REQ_verify (X509_REQ *a, EVP_PKEY *r)
 
int NETSCAPE_SPKI_verify (NETSCAPE_SPKI *a, EVP_PKEY *r)
 
int X509_sign (X509 *x, EVP_PKEY *pkey, const EVP_MD *md)
 
int X509_sign_ctx (X509 *x, EVP_MD_CTX *ctx)
 
int X509_REQ_sign (X509_REQ *x, EVP_PKEY *pkey, const EVP_MD *md)
 
int X509_REQ_sign_ctx (X509_REQ *x, EVP_MD_CTX *ctx)
 
int X509_CRL_sign (X509_CRL *x, EVP_PKEY *pkey, const EVP_MD *md)
 
int X509_CRL_sign_ctx (X509_CRL *x, EVP_MD_CTX *ctx)
 
int NETSCAPE_SPKI_sign (NETSCAPE_SPKI *x, EVP_PKEY *pkey, const EVP_MD *md)
 
X509d2i_X509_fp (FILE *fp, X509 **x509)
 
int i2d_X509_fp (FILE *fp, X509 *x509)
 
X509d2i_X509_bio (BIO *bp, X509 **x509)
 
int i2d_X509_bio (BIO *bp, X509 *x509)
 
X509_CRLd2i_X509_CRL_fp (FILE *fp, X509_CRL **crl)
 
int i2d_X509_CRL_fp (FILE *fp, X509_CRL *crl)
 
X509_CRLd2i_X509_CRL_bio (BIO *bp, X509_CRL **crl)
 
int i2d_X509_CRL_bio (BIO *bp, X509_CRL *crl)
 
PKCS7d2i_PKCS7_fp (FILE *fp, PKCS7 **p7)
 
int i2d_PKCS7_fp (FILE *fp, PKCS7 *p7)
 
PKCS7d2i_PKCS7_bio (BIO *bp, PKCS7 **p7)
 
int i2d_PKCS7_bio (BIO *bp, PKCS7 *p7)
 
X509_REQd2i_X509_REQ_fp (FILE *fp, X509_REQ **req)
 
int i2d_X509_REQ_fp (FILE *fp, X509_REQ *req)
 
X509_REQd2i_X509_REQ_bio (BIO *bp, X509_REQ **req)
 
int i2d_X509_REQ_bio (BIO *bp, X509_REQ *req)
 
RSAd2i_RSAPrivateKey_fp (FILE *fp, RSA **rsa)
 
int i2d_RSAPrivateKey_fp (FILE *fp, RSA *rsa)
 
RSAd2i_RSAPublicKey_fp (FILE *fp, RSA **rsa)
 
RSAd2i_RSA_PUBKEY_fp (FILE *fp, RSA **rsa)
 
int i2d_RSAPublicKey_fp (FILE *fp, RSA *rsa)
 
int i2d_RSA_PUBKEY_fp (FILE *fp, RSA *rsa)
 
RSAd2i_RSAPrivateKey_bio (BIO *bp, RSA **rsa)
 
int i2d_RSAPrivateKey_bio (BIO *bp, RSA *rsa)
 
RSAd2i_RSAPublicKey_bio (BIO *bp, RSA **rsa)
 
RSAd2i_RSA_PUBKEY_bio (BIO *bp, RSA **rsa)
 
int i2d_RSAPublicKey_bio (BIO *bp, RSA *rsa)
 
int i2d_RSA_PUBKEY_bio (BIO *bp, RSA *rsa)
 
DSAd2i_DSAPrivateKey_fp (FILE *fp, DSA **dsa)
 
int i2d_DSAPrivateKey_fp (FILE *fp, DSA *dsa)
 
DSAd2i_DSA_PUBKEY_fp (FILE *fp, DSA **dsa)
 
int i2d_DSA_PUBKEY_fp (FILE *fp, DSA *dsa)
 
DSAd2i_DSAPrivateKey_bio (BIO *bp, DSA **dsa)
 
int i2d_DSAPrivateKey_bio (BIO *bp, DSA *dsa)
 
DSAd2i_DSA_PUBKEY_bio (BIO *bp, DSA **dsa)
 
int i2d_DSA_PUBKEY_bio (BIO *bp, DSA *dsa)
 
EC_KEYd2i_EC_PUBKEY_fp (FILE *fp, EC_KEY **eckey)
 
int i2d_EC_PUBKEY_fp (FILE *fp, EC_KEY *eckey)
 
EC_KEYd2i_ECPrivateKey_fp (FILE *fp, EC_KEY **eckey)
 
int i2d_ECPrivateKey_fp (FILE *fp, EC_KEY *eckey)
 
EC_KEYd2i_EC_PUBKEY_bio (BIO *bp, EC_KEY **eckey)
 
int i2d_EC_PUBKEY_bio (BIO *bp, EC_KEY *ecdsa)
 
EC_KEYd2i_ECPrivateKey_bio (BIO *bp, EC_KEY **eckey)
 
int i2d_ECPrivateKey_bio (BIO *bp, EC_KEY *eckey)
 
int X509_pubkey_digest (const X509 *data, const EVP_MD *type, unsigned char *md, unsigned int *len)
 
int X509_digest (const X509 *data, const EVP_MD *type, unsigned char *md, unsigned int *len)
 
int X509_CRL_digest (const X509_CRL *data, const EVP_MD *type, unsigned char *md, unsigned int *len)
 
int X509_REQ_digest (const X509_REQ *data, const EVP_MD *type, unsigned char *md, unsigned int *len)
 
int X509_NAME_digest (const X509_NAME *data, const EVP_MD *type, unsigned char *md, unsigned int *len)
 
int PKCS7_ISSUER_AND_SERIAL_digest (PKCS7_ISSUER_AND_SERIAL *data, const EVP_MD *type, unsigned char *md, unsigned int *len)
 
X509_SIGd2i_PKCS8_fp (FILE *fp, X509_SIG **p8)
 
int i2d_PKCS8_fp (FILE *fp, X509_SIG *p8)
 
X509_SIGd2i_PKCS8_bio (BIO *bp, X509_SIG **p8)
 
int i2d_PKCS8_bio (BIO *bp, X509_SIG *p8)
 
PKCS8_PRIV_KEY_INFOd2i_PKCS8_PRIV_KEY_INFO_fp (FILE *fp, PKCS8_PRIV_KEY_INFO **p8inf)
 
int i2d_PKCS8_PRIV_KEY_INFO_fp (FILE *fp, PKCS8_PRIV_KEY_INFO *p8inf)
 
int i2d_PKCS8PrivateKeyInfo_fp (FILE *fp, EVP_PKEY *key)
 
int i2d_PrivateKey_fp (FILE *fp, EVP_PKEY *pkey)
 
EVP_PKEYd2i_PrivateKey_fp (FILE *fp, EVP_PKEY **a)
 
int i2d_PUBKEY_fp (FILE *fp, EVP_PKEY *pkey)
 
EVP_PKEYd2i_PUBKEY_fp (FILE *fp, EVP_PKEY **a)
 
PKCS8_PRIV_KEY_INFOd2i_PKCS8_PRIV_KEY_INFO_bio (BIO *bp, PKCS8_PRIV_KEY_INFO **p8inf)
 
int i2d_PKCS8_PRIV_KEY_INFO_bio (BIO *bp, PKCS8_PRIV_KEY_INFO *p8inf)
 
int i2d_PKCS8PrivateKeyInfo_bio (BIO *bp, EVP_PKEY *key)
 
int i2d_PrivateKey_bio (BIO *bp, EVP_PKEY *pkey)
 
EVP_PKEYd2i_PrivateKey_bio (BIO *bp, EVP_PKEY **a)
 
int i2d_PUBKEY_bio (BIO *bp, EVP_PKEY *pkey)
 
EVP_PKEYd2i_PUBKEY_bio (BIO *bp, EVP_PKEY **a)
 

Function Documentation

DSA* d2i_DSA_PUBKEY_bio ( BIO bp,
DSA **  dsa 
)

Definition at line 327 of file x_all.c.

DSA* d2i_DSA_PUBKEY_fp ( FILE *  fp,
DSA **  dsa 
)

Definition at line 305 of file x_all.c.

DSA* d2i_DSAPrivateKey_bio ( BIO bp,
DSA **  dsa 
)

Definition at line 316 of file x_all.c.

DSA* d2i_DSAPrivateKey_fp ( FILE *  fp,
DSA **  dsa 
)

Definition at line 295 of file x_all.c.

EC_KEY* d2i_EC_PUBKEY_bio ( BIO bp,
EC_KEY **  eckey 
)

Definition at line 361 of file x_all.c.

EC_KEY* d2i_EC_PUBKEY_fp ( FILE *  fp,
EC_KEY **  eckey 
)

Definition at line 341 of file x_all.c.

EC_KEY* d2i_ECPrivateKey_bio ( BIO bp,
EC_KEY **  eckey 
)

Definition at line 371 of file x_all.c.

EC_KEY* d2i_ECPrivateKey_fp ( FILE *  fp,
EC_KEY **  eckey 
)

Definition at line 351 of file x_all.c.

PKCS7* d2i_PKCS7_bio ( BIO bp,
PKCS7 **  p7 
)

Definition at line 192 of file x_all.c.

PKCS7* d2i_PKCS7_fp ( FILE *  fp,
PKCS7 **  p7 
)

Definition at line 181 of file x_all.c.

X509_SIG* d2i_PKCS8_bio ( BIO bp,
X509_SIG **  p8 
)

Definition at line 436 of file x_all.c.

X509_SIG* d2i_PKCS8_fp ( FILE *  fp,
X509_SIG **  p8 
)

Definition at line 425 of file x_all.c.

PKCS8_PRIV_KEY_INFO* d2i_PKCS8_PRIV_KEY_INFO_bio ( BIO bp,
PKCS8_PRIV_KEY_INFO **  p8inf 
)

Definition at line 493 of file x_all.c.

PKCS8_PRIV_KEY_INFO* d2i_PKCS8_PRIV_KEY_INFO_fp ( FILE *  fp,
PKCS8_PRIV_KEY_INFO **  p8inf 
)

Definition at line 447 of file x_all.c.

EVP_PKEY* d2i_PrivateKey_bio ( BIO bp,
EVP_PKEY **  a 
)

Definition at line 522 of file x_all.c.

EVP_PKEY* d2i_PrivateKey_fp ( FILE *  fp,
EVP_PKEY **  a 
)

Definition at line 476 of file x_all.c.

EVP_PKEY* d2i_PUBKEY_bio ( BIO bp,
EVP_PKEY **  a 
)

Definition at line 532 of file x_all.c.

EVP_PKEY* d2i_PUBKEY_fp ( FILE *  fp,
EVP_PKEY **  a 
)

Definition at line 486 of file x_all.c.

RSA* d2i_RSA_PUBKEY_bio ( BIO bp,
RSA **  rsa 
)

Definition at line 277 of file x_all.c.

RSA* d2i_RSA_PUBKEY_fp ( FILE *  fp,
RSA **  rsa 
)

Definition at line 243 of file x_all.c.

RSA* d2i_RSAPrivateKey_bio ( BIO bp,
RSA **  rsa 
)

Definition at line 261 of file x_all.c.

RSA* d2i_RSAPrivateKey_fp ( FILE *  fp,
RSA **  rsa 
)

Definition at line 227 of file x_all.c.

RSA* d2i_RSAPublicKey_bio ( BIO bp,
RSA **  rsa 
)

Definition at line 271 of file x_all.c.

RSA* d2i_RSAPublicKey_fp ( FILE *  fp,
RSA **  rsa 
)

Definition at line 237 of file x_all.c.

X509* d2i_X509_bio ( BIO bp,
X509 **  x509 
)

Definition at line 148 of file x_all.c.

X509_CRL* d2i_X509_CRL_bio ( BIO bp,
X509_CRL **  crl 
)

Definition at line 170 of file x_all.c.

X509_CRL* d2i_X509_CRL_fp ( FILE *  fp,
X509_CRL **  crl 
)

Definition at line 159 of file x_all.c.

X509* d2i_X509_fp ( FILE *  fp,
X509 **  x509 
)

Definition at line 137 of file x_all.c.

X509_REQ* d2i_X509_REQ_bio ( BIO bp,
X509_REQ **  req 
)

Definition at line 214 of file x_all.c.

X509_REQ* d2i_X509_REQ_fp ( FILE *  fp,
X509_REQ **  req 
)

Definition at line 203 of file x_all.c.

int i2d_DSA_PUBKEY_bio ( BIO bp,
DSA dsa 
)

Definition at line 332 of file x_all.c.

int i2d_DSA_PUBKEY_fp ( FILE *  fp,
DSA dsa 
)

Definition at line 310 of file x_all.c.

int i2d_DSAPrivateKey_bio ( BIO bp,
DSA dsa 
)

Definition at line 322 of file x_all.c.

int i2d_DSAPrivateKey_fp ( FILE *  fp,
DSA dsa 
)

Definition at line 300 of file x_all.c.

int i2d_EC_PUBKEY_bio ( BIO bp,
EC_KEY ecdsa 
)

Definition at line 366 of file x_all.c.

int i2d_EC_PUBKEY_fp ( FILE *  fp,
EC_KEY eckey 
)

Definition at line 346 of file x_all.c.

int i2d_ECPrivateKey_bio ( BIO bp,
EC_KEY eckey 
)

Definition at line 376 of file x_all.c.

int i2d_ECPrivateKey_fp ( FILE *  fp,
EC_KEY eckey 
)

Definition at line 356 of file x_all.c.

int i2d_PKCS7_bio ( BIO bp,
PKCS7 p7 
)

Definition at line 197 of file x_all.c.

int i2d_PKCS7_fp ( FILE *  fp,
PKCS7 p7 
)

Definition at line 186 of file x_all.c.

int i2d_PKCS8_bio ( BIO bp,
X509_SIG p8 
)

Definition at line 441 of file x_all.c.

int i2d_PKCS8_fp ( FILE *  fp,
X509_SIG p8 
)

Definition at line 430 of file x_all.c.

int i2d_PKCS8_PRIV_KEY_INFO_bio ( BIO bp,
PKCS8_PRIV_KEY_INFO p8inf 
)

Definition at line 500 of file x_all.c.

int i2d_PKCS8_PRIV_KEY_INFO_fp ( FILE *  fp,
PKCS8_PRIV_KEY_INFO p8inf 
)

Definition at line 454 of file x_all.c.

int i2d_PKCS8PrivateKeyInfo_bio ( BIO bp,
EVP_PKEY key 
)

Definition at line 506 of file x_all.c.

int i2d_PKCS8PrivateKeyInfo_fp ( FILE *  fp,
EVP_PKEY key 
)

Definition at line 460 of file x_all.c.

int i2d_PrivateKey_bio ( BIO bp,
EVP_PKEY pkey 
)

Definition at line 517 of file x_all.c.

int i2d_PrivateKey_fp ( FILE *  fp,
EVP_PKEY pkey 
)

Definition at line 471 of file x_all.c.

int i2d_PUBKEY_bio ( BIO bp,
EVP_PKEY pkey 
)

Definition at line 527 of file x_all.c.

int i2d_PUBKEY_fp ( FILE *  fp,
EVP_PKEY pkey 
)

Definition at line 481 of file x_all.c.

int i2d_RSA_PUBKEY_bio ( BIO bp,
RSA rsa 
)

Definition at line 287 of file x_all.c.

int i2d_RSA_PUBKEY_fp ( FILE *  fp,
RSA rsa 
)

Definition at line 255 of file x_all.c.

int i2d_RSAPrivateKey_bio ( BIO bp,
RSA rsa 
)

Definition at line 266 of file x_all.c.

int i2d_RSAPrivateKey_fp ( FILE *  fp,
RSA rsa 
)

Definition at line 232 of file x_all.c.

int i2d_RSAPublicKey_bio ( BIO bp,
RSA rsa 
)

Definition at line 282 of file x_all.c.

int i2d_RSAPublicKey_fp ( FILE *  fp,
RSA rsa 
)

Definition at line 250 of file x_all.c.

int i2d_X509_bio ( BIO bp,
X509 x509 
)

Definition at line 153 of file x_all.c.

int i2d_X509_CRL_bio ( BIO bp,
X509_CRL crl 
)

Definition at line 175 of file x_all.c.

int i2d_X509_CRL_fp ( FILE *  fp,
X509_CRL crl 
)

Definition at line 164 of file x_all.c.

int i2d_X509_fp ( FILE *  fp,
X509 x509 
)

Definition at line 142 of file x_all.c.

int i2d_X509_REQ_bio ( BIO bp,
X509_REQ req 
)

Definition at line 219 of file x_all.c.

int i2d_X509_REQ_fp ( FILE *  fp,
X509_REQ req 
)

Definition at line 208 of file x_all.c.

int NETSCAPE_SPKI_sign ( NETSCAPE_SPKI x,
EVP_PKEY pkey,
const EVP_MD md 
)

Definition at line 130 of file x_all.c.

int NETSCAPE_SPKI_verify ( NETSCAPE_SPKI a,
EVP_PKEY r 
)

Definition at line 85 of file x_all.c.

int PKCS7_ISSUER_AND_SERIAL_digest ( PKCS7_ISSUER_AND_SERIAL data,
const EVP_MD type,
unsigned char *  md,
unsigned int *  len 
)

Definition at line 416 of file x_all.c.

int X509_CRL_digest ( const X509_CRL data,
const EVP_MD type,
unsigned char *  md,
unsigned int *  len 
)

Definition at line 398 of file x_all.c.

int X509_CRL_sign ( X509_CRL x,
EVP_PKEY pkey,
const EVP_MD md 
)

Definition at line 117 of file x_all.c.

int X509_CRL_sign_ctx ( X509_CRL x,
EVP_MD_CTX ctx 
)

Definition at line 124 of file x_all.c.

int X509_digest ( const X509 data,
const EVP_MD type,
unsigned char *  md,
unsigned int *  len 
)

Definition at line 392 of file x_all.c.

int X509_NAME_digest ( const X509_NAME data,
const EVP_MD type,
unsigned char *  md,
unsigned int *  len 
)

Definition at line 410 of file x_all.c.

int X509_pubkey_digest ( const X509 data,
const EVP_MD type,
unsigned char *  md,
unsigned int *  len 
)

Definition at line 383 of file x_all.c.

int X509_REQ_digest ( const X509_REQ data,
const EVP_MD type,
unsigned char *  md,
unsigned int *  len 
)

Definition at line 404 of file x_all.c.

int X509_REQ_sign ( X509_REQ x,
EVP_PKEY pkey,
const EVP_MD md 
)

Definition at line 105 of file x_all.c.

int X509_REQ_sign_ctx ( X509_REQ x,
EVP_MD_CTX ctx 
)

Definition at line 111 of file x_all.c.

int X509_REQ_verify ( X509_REQ a,
EVP_PKEY r 
)

Definition at line 79 of file x_all.c.

int X509_sign ( X509 x,
EVP_PKEY pkey,
const EVP_MD md 
)

Definition at line 91 of file x_all.c.

int X509_sign_ctx ( X509 x,
EVP_MD_CTX ctx 
)

Definition at line 98 of file x_all.c.

int X509_verify ( X509 a,
EVP_PKEY r 
)

Definition at line 73 of file x_all.c.