OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
a_sign.c File Reference
#include <stdio.h>
#include <time.h>
#include "cryptlib.h"
#include <sys/types.h>
#include <openssl/bn.h>
#include <openssl/evp.h>
#include <openssl/x509.h>
#include <openssl/objects.h>
#include <openssl/buffer.h>
#include "asn1_locl.h"

Go to the source code of this file.

Functions

int ASN1_sign (i2d_of_void *i2d, X509_ALGOR *algor1, X509_ALGOR *algor2, ASN1_BIT_STRING *signature, char *data, EVP_PKEY *pkey, const EVP_MD *type)
 
int ASN1_item_sign (const ASN1_ITEM *it, X509_ALGOR *algor1, X509_ALGOR *algor2, ASN1_BIT_STRING *signature, void *asn, EVP_PKEY *pkey, const EVP_MD *type)
 
int ASN1_item_sign_ctx (const ASN1_ITEM *it, X509_ALGOR *algor1, X509_ALGOR *algor2, ASN1_BIT_STRING *signature, void *asn, EVP_MD_CTX *ctx)
 

Function Documentation

int ASN1_item_sign ( const ASN1_ITEM it,
X509_ALGOR algor1,
X509_ALGOR algor2,
ASN1_BIT_STRING signature,
void asn,
EVP_PKEY pkey,
const EVP_MD type 
)

Definition at line 216 of file a_sign.c.

int ASN1_item_sign_ctx ( const ASN1_ITEM it,
X509_ALGOR algor1,
X509_ALGOR algor2,
ASN1_BIT_STRING signature,
void asn,
EVP_MD_CTX ctx 
)

Definition at line 231 of file a_sign.c.

int ASN1_sign ( i2d_of_void *  i2d,
X509_ALGOR algor1,
X509_ALGOR algor2,
ASN1_BIT_STRING signature,
char *  data,
EVP_PKEY pkey,
const EVP_MD type 
)

Definition at line 130 of file a_sign.c.