ext/openssl/openssl_missing.h File Reference

Go to the source code of this file.

Defines

#define _OSSL_OPENSSL_MISSING_H_
#define PEM_read_bio_DSAPublicKey(bp, x, cb, u)
#define PEM_write_bio_DSAPublicKey(bp, x)
#define DSAPrivateKey_dup(dsa)
#define DSAPublicKey_dup(dsa)
#define X509_REVOKED_dup(rev)
#define PKCS7_SIGNER_INFO_dup(si)
#define PKCS7_RECIP_INFO_dup(ri)
#define EVP_CIPHER_name(e)   OBJ_nid2sn(EVP_CIPHER_nid(e))
#define EVP_MD_name(e)   OBJ_nid2sn(EVP_MD_type(e))
#define HMAC_Init_ex(ctx, key, len, digest, engine)   HMAC_Init((ctx), (key), (len), (digest))
#define PKCS7_is_detached(p7)   (PKCS7_type_is_signed(p7) && PKCS7_get_detached(p7))
#define PKCS7_type_is_encrypted(a)   (OBJ_obj2nid((a)->type) == NID_pkcs7_encrypted)

Typedefs

typedef char * d2i_of_void ()
typedef int i2d_of_void ()

Functions

void * X509_STORE_get_ex_data (X509_STORE *str, int idx)
int X509_STORE_set_ex_data (X509_STORE *str, int idx, void *data)

Define Documentation

#define _OSSL_OPENSSL_MISSING_H_

Definition at line 12 of file openssl_missing.h.

#define DSAPrivateKey_dup ( dsa   ) 
Value:
(DSA *)ASN1_dup((i2d_of_void *)i2d_DSAPrivateKey, \
        (d2i_of_void *)d2i_DSAPrivateKey,(char *)(dsa))

Definition at line 42 of file openssl_missing.h.

#define DSAPublicKey_dup ( dsa   ) 
Value:
(DSA *)ASN1_dup((i2d_of_void *)i2d_DSAPublicKey, \
        (d2i_of_void *)d2i_DSAPublicKey,(char *)(dsa))

Definition at line 47 of file openssl_missing.h.

Referenced by ossl_dsa_to_public_key().

#define EVP_CIPHER_name (  )     OBJ_nid2sn(EVP_CIPHER_nid(e))

Definition at line 113 of file openssl_missing.h.

Referenced by ossl_cipher_name().

#define EVP_MD_name (  )     OBJ_nid2sn(EVP_MD_type(e))

Definition at line 117 of file openssl_missing.h.

Referenced by ossl_digest_name().

#define HMAC_Init_ex ( ctx,
key,
len,
digest,
engine   )     HMAC_Init((ctx), (key), (len), (digest))

Definition at line 121 of file openssl_missing.h.

#define PEM_read_bio_DSAPublicKey ( bp,
x,
cb,
 ) 
Value:
(DSA *)PEM_ASN1_read_bio( \
        (d2i_of_void *)d2i_DSAPublicKey,PEM_STRING_DSA_PUBLIC,(bp),(void **)(x),(cb),(u))

Definition at line 30 of file openssl_missing.h.

Referenced by ossl_dsa_initialize().

#define PEM_write_bio_DSAPublicKey ( bp,
 ) 
Value:
PEM_ASN1_write_bio((i2d_of_void *)i2d_DSAPublicKey,\
                PEM_STRING_DSA_PUBLIC,\
                (bp),(char *)(x), NULL, NULL, 0, NULL, NULL)

Definition at line 35 of file openssl_missing.h.

#define PKCS7_is_detached ( p7   )     (PKCS7_type_is_signed(p7) && PKCS7_get_detached(p7))

Definition at line 125 of file openssl_missing.h.

Referenced by ossl_pkcs7_detached_p(), and ossl_pkcs7_s_write_smime().

#define PKCS7_RECIP_INFO_dup ( ri   ) 
Value:
(PKCS7_RECIP_INFO *)ASN1_dup((i2d_of_void *)i2d_PKCS7_RECIP_INFO, \
        (d2i_of_void *)d2i_PKCS7_RECIP_INFO, (char *)(ri))

Definition at line 62 of file openssl_missing.h.

Referenced by DupPKCS7RecipientPtr(), and ossl_pkcs7ri_new().

#define PKCS7_SIGNER_INFO_dup ( si   ) 
Value:
(PKCS7_SIGNER_INFO *)ASN1_dup((i2d_of_void *)i2d_PKCS7_SIGNER_INFO, \
        (d2i_of_void *)d2i_PKCS7_SIGNER_INFO, (char *)(si))

Definition at line 57 of file openssl_missing.h.

Referenced by DupPKCS7SignerPtr(), and ossl_pkcs7si_new().

#define PKCS7_type_is_encrypted (  )     (OBJ_obj2nid((a)->type) == NID_pkcs7_encrypted)

Definition at line 129 of file openssl_missing.h.

Referenced by ossl_pkcs7_get_type().

#define X509_REVOKED_dup ( rev   ) 
Value:
(X509_REVOKED *)ASN1_dup((i2d_of_void *)i2d_X509_REVOKED, \
        (d2i_of_void *)d2i_X509_REVOKED, (char *)(rev))

Definition at line 52 of file openssl_missing.h.

Referenced by DupX509RevokedPtr(), and ossl_x509revoked_new().


Typedef Documentation

typedef char* d2i_of_void()

Definition at line 19 of file openssl_missing.h.

typedef int i2d_of_void()

Definition at line 22 of file openssl_missing.h.


Function Documentation

void* X509_STORE_get_ex_data ( X509_STORE *  str,
int  idx 
)

Definition at line 46 of file openssl_missing.c.

Referenced by ossl_verify_cb().

int X509_STORE_set_ex_data ( X509_STORE *  str,
int  idx,
void *  data 
)

Definition at line 39 of file openssl_missing.c.

Referenced by ossl_x509store_set_vfy_cb().


Generated on 1 Aug 2012 for Ruby by  doxygen 1.6.1