OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
ssl_rsa.c File Reference
#include <stdio.h>
#include "ssl_locl.h"
#include <openssl/bio.h>
#include <openssl/objects.h>
#include <openssl/evp.h>
#include <openssl/x509.h>
#include <openssl/pem.h>

Go to the source code of this file.

Functions

int SSL_use_certificate (SSL *ssl, X509 *x)
 
int SSL_use_certificate_file (SSL *ssl, const char *file, int type)
 
int SSL_use_certificate_ASN1 (SSL *ssl, const unsigned char *d, int len)
 
int SSL_use_RSAPrivateKey (SSL *ssl, RSA *rsa)
 
int SSL_use_RSAPrivateKey_file (SSL *ssl, const char *file, int type)
 
int SSL_use_RSAPrivateKey_ASN1 (SSL *ssl, unsigned char *d, long len)
 
int SSL_use_PrivateKey (SSL *ssl, EVP_PKEY *pkey)
 
int SSL_use_PrivateKey_file (SSL *ssl, const char *file, int type)
 
int SSL_use_PrivateKey_ASN1 (int type, SSL *ssl, const unsigned char *d, long len)
 
int SSL_CTX_use_certificate (SSL_CTX *ctx, X509 *x)
 
int SSL_CTX_use_certificate_file (SSL_CTX *ctx, const char *file, int type)
 
int SSL_CTX_use_certificate_ASN1 (SSL_CTX *ctx, int len, const unsigned char *d)
 
int SSL_CTX_use_RSAPrivateKey (SSL_CTX *ctx, RSA *rsa)
 
int SSL_CTX_use_RSAPrivateKey_file (SSL_CTX *ctx, const char *file, int type)
 
int SSL_CTX_use_RSAPrivateKey_ASN1 (SSL_CTX *ctx, const unsigned char *d, long len)
 
int SSL_CTX_use_PrivateKey (SSL_CTX *ctx, EVP_PKEY *pkey)
 
int SSL_CTX_use_PrivateKey_file (SSL_CTX *ctx, const char *file, int type)
 
int SSL_CTX_use_PrivateKey_ASN1 (int type, SSL_CTX *ctx, const unsigned char *d, long len)
 
int SSL_CTX_use_certificate_chain_file (SSL_CTX *ctx, const char *file)
 

Function Documentation

int SSL_CTX_use_certificate ( SSL_CTX ctx,
X509 x 
)

Definition at line 379 of file ssl_rsa.c.

int SSL_CTX_use_certificate_ASN1 ( SSL_CTX ctx,
int  len,
const unsigned char *  d 
)

Definition at line 503 of file ssl_rsa.c.

int SSL_CTX_use_certificate_chain_file ( SSL_CTX ctx,
const char *  file 
)

Definition at line 705 of file ssl_rsa.c.

int SSL_CTX_use_certificate_file ( SSL_CTX ctx,
const char *  file,
int  type 
)

Definition at line 454 of file ssl_rsa.c.

int SSL_CTX_use_PrivateKey ( SSL_CTX ctx,
EVP_PKEY pkey 
)

Definition at line 617 of file ssl_rsa.c.

int SSL_CTX_use_PrivateKey_ASN1 ( int  type,
SSL_CTX ctx,
const unsigned char *  d,
long  len 
)

Definition at line 680 of file ssl_rsa.c.

int SSL_CTX_use_PrivateKey_file ( SSL_CTX ctx,
const char *  file,
int  type 
)

Definition at line 633 of file ssl_rsa.c.

int SSL_CTX_use_RSAPrivateKey ( SSL_CTX ctx,
RSA rsa 
)

Definition at line 521 of file ssl_rsa.c.

int SSL_CTX_use_RSAPrivateKey_ASN1 ( SSL_CTX ctx,
const unsigned char *  d,
long  len 
)

Definition at line 598 of file ssl_rsa.c.

int SSL_CTX_use_RSAPrivateKey_file ( SSL_CTX ctx,
const char *  file,
int  type 
)

Definition at line 551 of file ssl_rsa.c.

int SSL_use_certificate ( SSL ssl,
X509 x 
)

Definition at line 69 of file ssl_rsa.c.

int SSL_use_certificate_ASN1 ( SSL ssl,
const unsigned char *  d,
int  len 
)

Definition at line 134 of file ssl_rsa.c.

int SSL_use_certificate_file ( SSL ssl,
const char *  file,
int  type 
)

Definition at line 85 of file ssl_rsa.c.

int SSL_use_PrivateKey ( SSL ssl,
EVP_PKEY pkey 
)

Definition at line 295 of file ssl_rsa.c.

int SSL_use_PrivateKey_ASN1 ( int  type,
SSL ssl,
const unsigned char *  d,
long  len 
)

Definition at line 361 of file ssl_rsa.c.

int SSL_use_PrivateKey_file ( SSL ssl,
const char *  file,
int  type 
)

Definition at line 314 of file ssl_rsa.c.

int SSL_use_RSAPrivateKey ( SSL ssl,
RSA rsa 
)

Definition at line 152 of file ssl_rsa.c.

int SSL_use_RSAPrivateKey_ASN1 ( SSL ssl,
unsigned char *  d,
long  len 
)

Definition at line 276 of file ssl_rsa.c.

int SSL_use_RSAPrivateKey_file ( SSL ssl,
const char *  file,
int  type 
)

Definition at line 229 of file ssl_rsa.c.