Ruby
3.1.0dev(2021-09-10revisionb76ad15ed0da636161de0243c547ee1e6fc95681)
|
#include "ruby/config.h"
Go to the source code of this file.
Macros | |
#define | EVP_MD_CTX_new EVP_MD_CTX_create |
#define | EVP_MD_CTX_free EVP_MD_CTX_destroy |
#define | EVP_MD_CTX_pkey_ctx(x) (x)->pctx |
#define | X509_STORE_get_ex_data(x, idx) CRYPTO_get_ex_data(&(x)->ex_data, (idx)) |
#define | X509_STORE_set_ex_data(x, idx, data) CRYPTO_set_ex_data(&(x)->ex_data, (idx), (data)) |
#define | X509_STORE_get_ex_new_index(l, p, newf, dupf, freef) |
#define | X509_CRL_get0_signature ossl_X509_CRL_get0_signature |
#define | X509_REQ_get0_signature ossl_X509_REQ_get0_signature |
#define | X509_REVOKED_get0_serialNumber(x) ((x)->serialNumber) |
#define | X509_REVOKED_get0_revocationDate(x) ((x)->revocationDate) |
#define | X509_get0_tbs_sigalg(x) ((x)->cert_info->signature) |
#define | X509_STORE_CTX_get0_untrusted(x) ((x)->untrusted) |
#define | X509_STORE_CTX_get0_cert(x) ((x)->cert) |
#define | X509_STORE_CTX_get0_chain(ctx) X509_STORE_CTX_get_chain(ctx) |
#define | OCSP_SINGLERESP_get0_id(s) ((s)->certId) |
#define | SSL_CTX_get_ciphers(ctx) ((ctx)->cipher_list) |
#define | X509_up_ref(x) CRYPTO_add(&(x)->references, 1, CRYPTO_LOCK_X509) |
#define | X509_CRL_up_ref(x) CRYPTO_add(&(x)->references, 1, CRYPTO_LOCK_X509_CRL); |
#define | X509_STORE_up_ref(x) CRYPTO_add(&(x)->references, 1, CRYPTO_LOCK_X509_STORE); |
#define | SSL_SESSION_up_ref(x) CRYPTO_add(&(x)->references, 1, CRYPTO_LOCK_SSL_SESSION); |
#define | EVP_PKEY_up_ref(x) CRYPTO_add(&(x)->references, 1, CRYPTO_LOCK_EVP_PKEY); |
#define | IMPL_PKEY_GETTER(_type, _name) |
#define | IMPL_KEY_ACCESSOR2(_type, _group, a1, a2, _fail_cond) |
#define | IMPL_KEY_ACCESSOR3(_type, _group, a1, a2, a3, _fail_cond) |
#define | EVP_CTRL_AEAD_GET_TAG EVP_CTRL_GCM_GET_TAG |
#define | EVP_CTRL_AEAD_SET_TAG EVP_CTRL_GCM_SET_TAG |
#define | EVP_CTRL_AEAD_SET_IVLEN EVP_CTRL_GCM_SET_IVLEN |
#define | X509_get0_notBefore(x) X509_get_notBefore(x) |
#define | X509_get0_notAfter(x) X509_get_notAfter(x) |
#define | X509_CRL_get0_lastUpdate(x) X509_CRL_get_lastUpdate(x) |
#define | X509_CRL_get0_nextUpdate(x) X509_CRL_get_nextUpdate(x) |
#define | X509_set1_notBefore(x, t) X509_set_notBefore(x, t) |
#define | X509_set1_notAfter(x, t) X509_set_notAfter(x, t) |
#define | X509_CRL_set1_lastUpdate(x, t) X509_CRL_set_lastUpdate(x, t) |
#define | X509_CRL_set1_nextUpdate(x, t) X509_CRL_set_nextUpdate(x, t) |
#define | SSL_SESSION_get_protocol_version(s) ((s)->ssl_version) |
#define | TS_STATUS_INFO_get0_status(a) ((a)->status) |
#define | TS_STATUS_INFO_get0_text(a) ((a)->text) |
#define | TS_STATUS_INFO_get0_failure_info(a) ((a)->failure_info) |
#define | TS_VERIFY_CTS_set_certs(ctx, crts) ((ctx)->certs=(crts)) |
#define | TS_VERIFY_CTX_set_store(ctx, str) ((ctx)->store=(str)) |
#define | TS_VERIFY_CTX_add_flags(ctx, f) ((ctx)->flags |= (f)) |
#define | TS_RESP_CTX_set_time_cb(ctx, callback, dta) |
Functions | |
void | ossl_X509_CRL_get0_signature (const X509_CRL *, const ASN1_BIT_STRING **, const X509_ALGOR **) |
void | ossl_X509_REQ_get0_signature (const X509_REQ *, const ASN1_BIT_STRING **, const X509_ALGOR **) |
IMPL_KEY_ACCESSOR3 (RSA, key, n, e, d,(n==obj->n||e==obj->e||(obj->d &&d==obj->d))) IMPL_KEY_ACCESSOR2(DSA | |
Variables | |
key | |
pub_key | |
priv_key | |
#define EVP_CTRL_AEAD_GET_TAG EVP_CTRL_GCM_GET_TAG |
#define EVP_CTRL_AEAD_SET_IVLEN EVP_CTRL_GCM_SET_IVLEN |
#define EVP_CTRL_AEAD_SET_TAG EVP_CTRL_GCM_SET_TAG |
#define EVP_MD_CTX_free EVP_MD_CTX_destroy |
Definition at line 21 of file openssl_missing.h.
#define EVP_MD_CTX_new EVP_MD_CTX_create |
Definition at line 17 of file openssl_missing.h.
#define EVP_MD_CTX_pkey_ctx | ( | x | ) | (x)->pctx |
Definition at line 25 of file openssl_missing.h.
#define EVP_PKEY_up_ref | ( | x | ) | CRYPTO_add(&(x)->references, 1, CRYPTO_LOCK_EVP_PKEY); |
Definition at line 107 of file openssl_missing.h.
#define IMPL_KEY_ACCESSOR2 | ( | _type, | |
_group, | |||
a1, | |||
a2, | |||
_fail_cond | |||
) |
Definition at line 115 of file openssl_missing.h.
#define IMPL_KEY_ACCESSOR3 | ( | _type, | |
_group, | |||
a1, | |||
a2, | |||
a3, | |||
_fail_cond | |||
) |
Definition at line 124 of file openssl_missing.h.
#define IMPL_PKEY_GETTER | ( | _type, | |
_name | |||
) |
Definition at line 112 of file openssl_missing.h.
#define OCSP_SINGLERESP_get0_id | ( | s | ) | ((s)->certId) |
Definition at line 79 of file openssl_missing.h.
#define SSL_CTX_get_ciphers | ( | ctx | ) | ((ctx)->cipher_list) |
Definition at line 83 of file openssl_missing.h.
#define SSL_SESSION_get_protocol_version | ( | s | ) | ((s)->ssl_version) |
#define SSL_SESSION_up_ref | ( | x | ) | CRYPTO_add(&(x)->references, 1, CRYPTO_LOCK_SSL_SESSION); |
Definition at line 102 of file openssl_missing.h.
#define TS_RESP_CTX_set_time_cb | ( | ctx, | |
callback, | |||
dta | |||
) |
#define TS_STATUS_INFO_get0_failure_info | ( | a | ) | ((a)->failure_info) |
#define TS_STATUS_INFO_get0_status | ( | a | ) | ((a)->status) |
#define TS_STATUS_INFO_get0_text | ( | a | ) | ((a)->text) |
#define TS_VERIFY_CTS_set_certs | ( | ctx, | |
crts | |||
) | ((ctx)->certs=(crts)) |
#define X509_CRL_get0_lastUpdate | ( | x | ) | X509_CRL_get_lastUpdate(x) |
#define X509_CRL_get0_nextUpdate | ( | x | ) | X509_CRL_get_nextUpdate(x) |
#define X509_CRL_get0_signature ossl_X509_CRL_get0_signature |
Definition at line 46 of file openssl_missing.h.
#define X509_CRL_up_ref | ( | x | ) | CRYPTO_add(&(x)->references, 1, CRYPTO_LOCK_X509_CRL); |
Definition at line 92 of file openssl_missing.h.
#define X509_get0_notAfter | ( | x | ) | X509_get_notAfter(x) |
#define X509_get0_notBefore | ( | x | ) | X509_get_notBefore(x) |
#define X509_get0_tbs_sigalg | ( | x | ) | ((x)->cert_info->signature) |
Definition at line 63 of file openssl_missing.h.
#define X509_REQ_get0_signature ossl_X509_REQ_get0_signature |
Definition at line 51 of file openssl_missing.h.
#define X509_REVOKED_get0_revocationDate | ( | x | ) | ((x)->revocationDate) |
Definition at line 59 of file openssl_missing.h.
#define X509_REVOKED_get0_serialNumber | ( | x | ) | ((x)->serialNumber) |
Definition at line 55 of file openssl_missing.h.
#define X509_STORE_CTX_get0_cert | ( | x | ) | ((x)->cert) |
Definition at line 71 of file openssl_missing.h.
#define X509_STORE_CTX_get0_chain | ( | ctx | ) | X509_STORE_CTX_get_chain(ctx) |
Definition at line 75 of file openssl_missing.h.
#define X509_STORE_CTX_get0_untrusted | ( | x | ) | ((x)->untrusted) |
Definition at line 67 of file openssl_missing.h.
#define X509_STORE_get_ex_data | ( | x, | |
idx | |||
) | CRYPTO_get_ex_data(&(x)->ex_data, (idx)) |
Definition at line 29 of file openssl_missing.h.
#define X509_STORE_get_ex_new_index | ( | l, | |
p, | |||
newf, | |||
dupf, | |||
freef | |||
) |
Definition at line 39 of file openssl_missing.h.
#define X509_STORE_set_ex_data | ( | x, | |
idx, | |||
data | |||
) | CRYPTO_set_ex_data(&(x)->ex_data, (idx), (data)) |
Definition at line 34 of file openssl_missing.h.
#define X509_STORE_up_ref | ( | x | ) | CRYPTO_add(&(x)->references, 1, CRYPTO_LOCK_X509_STORE); |
Definition at line 97 of file openssl_missing.h.
#define X509_up_ref | ( | x | ) | CRYPTO_add(&(x)->references, 1, CRYPTO_LOCK_X509) |
Definition at line 87 of file openssl_missing.h.
IMPL_KEY_ACCESSOR3 | ( | RSA | , |
key | , | ||
n | , | ||
e | , | ||
d | , | ||
(n==obj->n||e==obj->e||(obj->d &&d==obj->d)) | |||
) |
void ossl_X509_CRL_get0_signature | ( | const X509_CRL * | , |
const ASN1_BIT_STRING ** | , | ||
const X509_ALGOR ** | |||
) |
Definition at line 23 of file openssl_missing.c.
References NULL.
void ossl_X509_REQ_get0_signature | ( | const X509_REQ * | , |
const ASN1_BIT_STRING ** | , | ||
const X509_ALGOR ** | |||
) |
Definition at line 35 of file openssl_missing.c.
References NULL.
key |
Definition at line 145 of file openssl_missing.h.
Referenced by crypt_r(), onig_st_insert_strend(), onig_st_lookup_strend(), rb_ary_assoc(), rb_execarg_addopt(), rb_free_generic_ivar(), rb_gc_stat(), rb_get_kwargs(), rb_id_table_delete(), rb_id_table_foreach(), rb_id_table_lookup(), rb_iseq_parameters(), rb_mv_generic_ivar(), rb_ractor_local_storage_ptr_newkey(), rb_reserved_word(), rb_vm_insn_addr2insn(), reg_open_vkey(), setkey_r(), sip_hash13(), sip_hash_new(), st_shift(), and zonetab().
priv_key |
Definition at line 145 of file openssl_missing.h.
pub_key |
Definition at line 145 of file openssl_missing.h.