Ark Server API (ASE) - Wiki
|
#include <openssl/opensslconf.h>
#include <openssl/ossl_typ.h>
#include <openssl/safestack.h>
#include <openssl/x509.h>
#include <openssl/cterr.h>
Go to the source code of this file.
Macros | |
#define | SCT_MIN_RSA_BITS 2048 |
#define | CT_V1_HASHLEN SHA256_DIGEST_LENGTH |
Functions | |
CT_POLICY_EVAL_CTX * | CT_POLICY_EVAL_CTX_new (void) |
void | CT_POLICY_EVAL_CTX_free (CT_POLICY_EVAL_CTX *ctx) |
X509 * | CT_POLICY_EVAL_CTX_get0_cert (const CT_POLICY_EVAL_CTX *ctx) |
int | CT_POLICY_EVAL_CTX_set1_cert (CT_POLICY_EVAL_CTX *ctx, X509 *cert) |
X509 * | CT_POLICY_EVAL_CTX_get0_issuer (const CT_POLICY_EVAL_CTX *ctx) |
int | CT_POLICY_EVAL_CTX_set1_issuer (CT_POLICY_EVAL_CTX *ctx, X509 *issuer) |
const CTLOG_STORE * | CT_POLICY_EVAL_CTX_get0_log_store (const CT_POLICY_EVAL_CTX *ctx) |
void | CT_POLICY_EVAL_CTX_set_shared_CTLOG_STORE (CT_POLICY_EVAL_CTX *ctx, CTLOG_STORE *log_store) |
uint64_t | CT_POLICY_EVAL_CTX_get_time (const CT_POLICY_EVAL_CTX *ctx) |
void | CT_POLICY_EVAL_CTX_set_time (CT_POLICY_EVAL_CTX *ctx, uint64_t time_in_ms) |
SCT * | SCT_new (void) |
SCT * | SCT_new_from_base64 (unsigned char version, const char *logid_base64, ct_log_entry_type_t entry_type, uint64_t timestamp, const char *extensions_base64, const char *signature_base64) |
void | SCT_free (SCT *sct) |
void | SCT_LIST_free (STACK_OF(SCT) *a) |
sct_version_t | SCT_get_version (const SCT *sct) |
__owur int | SCT_set_version (SCT *sct, sct_version_t version) |
ct_log_entry_type_t | SCT_get_log_entry_type (const SCT *sct) |
__owur int | SCT_set_log_entry_type (SCT *sct, ct_log_entry_type_t entry_type) |
size_t | SCT_get0_log_id (const SCT *sct, unsigned char **log_id) |
__owur int | SCT_set0_log_id (SCT *sct, unsigned char *log_id, size_t log_id_len) |
__owur int | SCT_set1_log_id (SCT *sct, const unsigned char *log_id, size_t log_id_len) |
uint64_t | SCT_get_timestamp (const SCT *sct) |
void | SCT_set_timestamp (SCT *sct, uint64_t timestamp) |
int | SCT_get_signature_nid (const SCT *sct) |
__owur int | SCT_set_signature_nid (SCT *sct, int nid) |
size_t | SCT_get0_extensions (const SCT *sct, unsigned char **ext) |
void | SCT_set0_extensions (SCT *sct, unsigned char *ext, size_t ext_len) |
__owur int | SCT_set1_extensions (SCT *sct, const unsigned char *ext, size_t ext_len) |
size_t | SCT_get0_signature (const SCT *sct, unsigned char **sig) |
void | SCT_set0_signature (SCT *sct, unsigned char *sig, size_t sig_len) |
__owur int | SCT_set1_signature (SCT *sct, const unsigned char *sig, size_t sig_len) |
sct_source_t | SCT_get_source (const SCT *sct) |
__owur int | SCT_set_source (SCT *sct, sct_source_t source) |
const char * | SCT_validation_status_string (const SCT *sct) |
void | SCT_print (const SCT *sct, BIO *out, int indent, const CTLOG_STORE *logs) |
void | SCT_LIST_print (const STACK_OF(SCT) *sct_list, BIO *out, int indent, const char *separator, const CTLOG_STORE *logs) |
sct_validation_status_t | SCT_get_validation_status (const SCT *sct) |
__owur int | SCT_validate (SCT *sct, const CT_POLICY_EVAL_CTX *ctx) |
__owur int | SCT_LIST_validate (const STACK_OF(SCT) *scts, CT_POLICY_EVAL_CTX *ctx) |
__owur int | i2o_SCT_LIST (const STACK_OF(SCT) *a, unsigned char **pp) |
STACK_OF (SCT) *o2i_SCT_LIST(STACK_OF(SCT) **a | |
__owur int | i2d_SCT_LIST (const STACK_OF(SCT) *a, unsigned char **pp) |
__owur int | i2o_SCT (const SCT *sct, unsigned char **out) |
SCT * | o2i_SCT (SCT **psct, const unsigned char **in, size_t len) |
CTLOG * | CTLOG_new (EVP_PKEY *public_key, const char *name) |
int | CTLOG_new_from_base64 (CTLOG **ct_log, const char *pkey_base64, const char *name) |
void | CTLOG_free (CTLOG *log) |
const char * | CTLOG_get0_name (const CTLOG *log) |
void | CTLOG_get0_log_id (const CTLOG *log, const uint8_t **log_id, size_t *log_id_len) |
EVP_PKEY * | CTLOG_get0_public_key (const CTLOG *log) |
CTLOG_STORE * | CTLOG_STORE_new (void) |
void | CTLOG_STORE_free (CTLOG_STORE *store) |
const CTLOG * | CTLOG_STORE_get0_log_by_id (const CTLOG_STORE *store, const uint8_t *log_id, size_t log_id_len) |
__owur int | CTLOG_STORE_load_file (CTLOG_STORE *store, const char *file) |
__owur int | CTLOG_STORE_load_default_file (CTLOG_STORE *store) |
Variables | |
const unsigned char ** | pp |
const unsigned char size_t | len |
#define CT_V1_HASHLEN SHA256_DIGEST_LENGTH |
enum ct_log_entry_type_t |
enum sct_source_t |
enum sct_version_t |
void CT_POLICY_EVAL_CTX_free | ( | CT_POLICY_EVAL_CTX * | ctx | ) |
X509 * CT_POLICY_EVAL_CTX_get0_cert | ( | const CT_POLICY_EVAL_CTX * | ctx | ) |
X509 * CT_POLICY_EVAL_CTX_get0_issuer | ( | const CT_POLICY_EVAL_CTX * | ctx | ) |
const CTLOG_STORE * CT_POLICY_EVAL_CTX_get0_log_store | ( | const CT_POLICY_EVAL_CTX * | ctx | ) |
uint64_t CT_POLICY_EVAL_CTX_get_time | ( | const CT_POLICY_EVAL_CTX * | ctx | ) |
CT_POLICY_EVAL_CTX * CT_POLICY_EVAL_CTX_new | ( | void | ) |
int CT_POLICY_EVAL_CTX_set1_cert | ( | CT_POLICY_EVAL_CTX * | ctx, |
X509 * | cert ) |
int CT_POLICY_EVAL_CTX_set1_issuer | ( | CT_POLICY_EVAL_CTX * | ctx, |
X509 * | issuer ) |
void CT_POLICY_EVAL_CTX_set_shared_CTLOG_STORE | ( | CT_POLICY_EVAL_CTX * | ctx, |
CTLOG_STORE * | log_store ) |
void CT_POLICY_EVAL_CTX_set_time | ( | CT_POLICY_EVAL_CTX * | ctx, |
uint64_t | time_in_ms ) |
void CTLOG_free | ( | CTLOG * | log | ) |
void CTLOG_get0_log_id | ( | const CTLOG * | log, |
const uint8_t ** | log_id, | ||
size_t * | log_id_len ) |
const char * CTLOG_get0_name | ( | const CTLOG * | log | ) |
int CTLOG_new_from_base64 | ( | CTLOG ** | ct_log, |
const char * | pkey_base64, | ||
const char * | name ) |
void CTLOG_STORE_free | ( | CTLOG_STORE * | store | ) |
const CTLOG * CTLOG_STORE_get0_log_by_id | ( | const CTLOG_STORE * | store, |
const uint8_t * | log_id, | ||
size_t | log_id_len ) |
__owur int CTLOG_STORE_load_default_file | ( | CTLOG_STORE * | store | ) |
__owur int CTLOG_STORE_load_file | ( | CTLOG_STORE * | store, |
const char * | file ) |
CTLOG_STORE * CTLOG_STORE_new | ( | void | ) |
void SCT_free | ( | SCT * | sct | ) |
size_t SCT_get0_extensions | ( | const SCT * | sct, |
unsigned char ** | ext ) |
size_t SCT_get0_log_id | ( | const SCT * | sct, |
unsigned char ** | log_id ) |
size_t SCT_get0_signature | ( | const SCT * | sct, |
unsigned char ** | sig ) |
ct_log_entry_type_t SCT_get_log_entry_type | ( | const SCT * | sct | ) |
int SCT_get_signature_nid | ( | const SCT * | sct | ) |
sct_source_t SCT_get_source | ( | const SCT * | sct | ) |
uint64_t SCT_get_timestamp | ( | const SCT * | sct | ) |
sct_validation_status_t SCT_get_validation_status | ( | const SCT * | sct | ) |
sct_version_t SCT_get_version | ( | const SCT * | sct | ) |
void SCT_LIST_print | ( | const STACK_OF(SCT) * | sct_list, |
BIO * | out, | ||
int | indent, | ||
const char * | separator, | ||
const CTLOG_STORE * | logs ) |
__owur int SCT_LIST_validate | ( | const STACK_OF(SCT) * | scts, |
CT_POLICY_EVAL_CTX * | ctx ) |
SCT * SCT_new | ( | void | ) |
SCT * SCT_new_from_base64 | ( | unsigned char | version, |
const char * | logid_base64, | ||
ct_log_entry_type_t | entry_type, | ||
uint64_t | timestamp, | ||
const char * | extensions_base64, | ||
const char * | signature_base64 ) |
void SCT_print | ( | const SCT * | sct, |
BIO * | out, | ||
int | indent, | ||
const CTLOG_STORE * | logs ) |
void SCT_set0_extensions | ( | SCT * | sct, |
unsigned char * | ext, | ||
size_t | ext_len ) |
void SCT_set0_signature | ( | SCT * | sct, |
unsigned char * | sig, | ||
size_t | sig_len ) |
__owur int SCT_set_log_entry_type | ( | SCT * | sct, |
ct_log_entry_type_t | entry_type ) |
__owur int SCT_set_source | ( | SCT * | sct, |
sct_source_t | source ) |
void SCT_set_timestamp | ( | SCT * | sct, |
uint64_t | timestamp ) |
__owur int SCT_set_version | ( | SCT * | sct, |
sct_version_t | version ) |
__owur int SCT_validate | ( | SCT * | sct, |
const CT_POLICY_EVAL_CTX * | ctx ) |
const char * SCT_validation_status_string | ( | const SCT * | sct | ) |
STACK_OF | ( | SCT | ) |