Created
November 15, 2014 06:12
-
-
Save lunixbochs/33aa6ebba56981d94a9c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SSL_ctrl(): (0 on error, 1 or length otherwise) | |
SSL_CTX_add_extra_chain_cert | |
SSL_CTX_set_tmp_ecdh | |
SSL_set_tlsext_host_name(c.ssl, cname) | |
0 on error, 1 on success | |
ASN1_INTEGER_set(C.X509_get_serialNumber(c.x), C.long(serial)) | |
EVP_DecryptUpdate | |
EVP_EncryptUpdate | |
EVP_PKEY_assign(key, C.EVP_PKEY_RSA, unsafe.Pointer(rsa)) | |
EVP_PKEY_set1_RSA | |
i2d_RSA_PUBKEY_bio | |
i2d_RSAPrivateKey_bio | |
SSL_CTX_load_verify_locations | |
SSL_CTX_set_cipher_list(c.ctx, clist) | |
SSL_CTX_use_certificate | |
SSL_CTX_use_PrivateKey | |
X509_NAME_add_entry_by_txt() | |
X509_NAME_set | |
X509_PUBKEY_set | |
X509_set_issuer_name(c.x, name.name) | |
X509_set_pubkey(c.x, pubKey.evpPKey()) | |
X509_set_subject_name(c.x, name.name) | |
X509_STORE_add_cert | |
ASN1_item_sign_ctx(): 0 on error, otherwise len(signature) | |
X509_sign(c.x, privKey.evpPKey(), md) | |
returns a pointer? | |
X509_add_ext(c.x, ex, -1) | |
0 on error, unknown otherwise | |
ENGINE_init(e.e) | |
EVP_CIPHER_CTX_ctrl | |
0 on error, >= 1 otherwise (length related?) | |
PEM_write_bio_RSA_PUBKEY | |
PEM_write_bio_RSAPrivateKey | |
PEM_write_bio_X509 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment