Summary
Low-level FFI binding to libssl

Words

Tuple classes
ClassSuperclassSlots
ASN1_STRING struct
GENERAL_NAME_st struct
GENERAL_NAME_st_d struct
SSL struct
SSL_CTX_free-destructor alien-destructor
SSL_free-destructor alien-destructor
X509V3_EXT_METHOD struct
X509_EXTENSION struct
X509_free-destructor alien-destructor
ssl_method_st struct
stack_st struct


Singleton classes
X509_V_ERR_AKID_ISSUER_SERIAL_MISMATCH
X509_V_ERR_AKID_SKID_MISMATCH
X509_V_ERR_APPLICATION_VERIFICATION
X509_V_ERR_CERT_CHAIN_TOO_LONG
X509_V_ERR_CERT_HAS_EXPIRED
X509_V_ERR_CERT_NOT_YET_VALID
X509_V_ERR_CERT_REJECTED
X509_V_ERR_CERT_REVOKED
X509_V_ERR_CERT_SIGNATURE_FAILURE
X509_V_ERR_CERT_UNTRUSTED
X509_V_ERR_CRL_HAS_EXPIRED
X509_V_ERR_CRL_NOT_YET_VALID
X509_V_ERR_CRL_SIGNATURE_FAILURE
X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT
X509_V_ERR_ERROR_IN_CERT_NOT_AFTER_FIELD
X509_V_ERR_ERROR_IN_CERT_NOT_BEFORE_FIELD
X509_V_ERR_ERROR_IN_CRL_LAST_UPDATE_FIELD
X509_V_ERR_ERROR_IN_CRL_NEXT_UPDATE_FIELD
X509_V_ERR_INVALID_CA
X509_V_ERR_INVALID_NON_CA
X509_V_ERR_INVALID_PURPOSE
X509_V_ERR_KEYUSAGE_NO_CERTSIGN
X509_V_ERR_KEYUSAGE_NO_CRL_SIGN
X509_V_ERR_KEYUSAGE_NO_DIGITAL_SIGNATURE
X509_V_ERR_OK
X509_V_ERR_OUT_OF_MEM
X509_V_ERR_PATH_LENGTH_EXCEEDED
X509_V_ERR_PROXY_CERTIFICATES_NOT_ALLOWED
X509_V_ERR_PROXY_PATH_LENGTH_EXCEEDED
X509_V_ERR_SELF_SIGNED_CERT_IN_CHAIN
X509_V_ERR_SUBJECT_ISSUER_MISMATCH
X509_V_ERR_UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY
X509_V_ERR_UNABLE_TO_DECRYPT_CERT_SIGNATURE
X509_V_ERR_UNABLE_TO_DECRYPT_CRL_SIGNATURE
X509_V_ERR_UNABLE_TO_GET_CRL
X509_V_ERR_UNABLE_TO_GET_CRL_ISSUER
X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT
X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY
X509_V_ERR_UNABLE_TO_VERIFY_LEAF_SIGNATURE
X509_V_ERR_UNHANDLED_CRITICAL_CRL_EXTENSION
X509_V_ERR_UNHANDLED_CRITICAL_EXTENSION


Symbol words
ASN1_ITEM
ASN1_ITEM_EXP
ASN1_OCTET_STRING
ASN1_VALUE
SSL_CTX
SSL_SESSION
X509
X509_NAME
X509_STORE
X509_V_ERROR
_STACK
ssl-method


Ordinary words
WordStack effect
&SSL_CTX_free( alien -- alien )
&SSL_free( alien -- alien )
&X509_free( alien -- alien )
<SSL_CTX_free-destructor>( alien -- destructor )
<SSL_free-destructor>( alien -- destructor )
<X509_V_ERROR>( number -- enum )
<X509_free-destructor>( alien -- destructor )
ASN1_STRING_cmp( a b -- int )
ASN1_item_d2i( val in len it -- ASN1_VALUE* )
BIO_f_ssl( -- void* )
DTLS_CTRL_GET_LINK_MIN_MTU( -- value )
DTLS_CTRL_SET_LINK_MTU( -- value )
GEN_DIRNAME( -- value )
GEN_DNS( -- value )
GEN_EDIPARTY( -- value )
GEN_EMAIL( -- value )
GEN_IPADD( -- value )
GEN_OTHERNAME( -- value )
GEN_RID( -- value )
GEN_URI( -- value )
GEN_X400( -- value )
NID_commonName( -- value )
NID_issuer_alt_name( -- value )
NID_subject_alt_name( -- value )
OPENSSL_INIT_ADD_ALL_CIPHERS( -- value )
OPENSSL_INIT_ADD_ALL_DIGESTS( -- value )
OPENSSL_INIT_LOAD_CRYPTO_STRINGS( -- value )
OPENSSL_INIT_LOAD_SSL_STRINGS( -- value )
OPENSSL_INIT_NO_ADD_ALL_CIPHERS( -- value )
OPENSSL_INIT_NO_ADD_ALL_DIGESTS( -- value )
OPENSSL_INIT_NO_LOAD_CRYPTO_STRINGS( -- value )
OPENSSL_INIT_NO_LOAD_SSL_STRINGS( -- value )
OPENSSL_init_ssl( opts settings -- int )
OPENSSL_sk_num( s -- int )
OPENSSL_sk_value( s v -- void* )
RAND_seed( buf num -- )
SSL_CTRL_BUILD_CERT_CHAIN( -- value )
SSL_CTRL_CERT_FLAGS( -- value )
SSL_CTRL_CHAIN( -- value )
SSL_CTRL_CHAIN_CERT( -- value )
SSL_CTRL_CHECK_PROTO_VERSION( -- value )
SSL_CTRL_CLEAR_CERT_FLAGS( -- value )
SSL_CTRL_CLEAR_NUM_RENEGOTIATIONS( -- value )
SSL_CTRL_EXTRA_CHAIN_CERT( -- value )
SSL_CTRL_GET_CHAIN_CERTS( -- value )
SSL_CTRL_GET_CLIENT_CERT_REQUEST( -- value )
SSL_CTRL_GET_CLIENT_CERT_TYPES( -- value )
SSL_CTRL_GET_CURVES( -- value )
SSL_CTRL_GET_EC_POINT_FORMATS( -- value )
SSL_CTRL_GET_FLAGS( -- value )
SSL_CTRL_GET_MAX_CERT_LIST( -- value )
SSL_CTRL_GET_NUM_RENEGOTIATIONS( -- value )
SSL_CTRL_GET_PEER_SIGNATURE_NID( -- value )
SSL_CTRL_GET_RAW_CIPHERLIST( -- value )
SSL_CTRL_GET_READ_AHEAD( -- value )
SSL_CTRL_GET_SERVER_TMP_KEY( -- value )
SSL_CTRL_GET_SESSION_REUSED( -- value )
SSL_CTRL_GET_SESS_CACHE_MODE( -- value )
SSL_CTRL_GET_SESS_CACHE_SIZE( -- value )
SSL_CTRL_GET_SHARED_CURVE( -- value )
SSL_CTRL_GET_TLSEXT_STATUS_REQ_EXTS( -- value )
SSL_CTRL_GET_TLSEXT_STATUS_REQ_IDS( -- value )
SSL_CTRL_GET_TLSEXT_STATUS_REQ_OCSP_RESP( -- value )
SSL_CTRL_GET_TLSEXT_TICKET_KEYS( -- value )
SSL_CTRL_GET_TLS_EXT_HEARTBEAT_PENDING( -- value )
SSL_CTRL_GET_TOTAL_RENEGOTIATIONS( -- value )
SSL_CTRL_MODE( -- value )
SSL_CTRL_NEED_TMP_RSA( -- value )
SSL_CTRL_OPTIONS( -- value )
SSL_CTRL_SELECT_CURRENT_CERT( -- value )
SSL_CTRL_SESS_ACCEPT( -- value )
SSL_CTRL_SESS_ACCEPT_GOOD( -- value )
SSL_CTRL_SESS_ACCEPT_RENEGOTIATE( -- value )
SSL_CTRL_SESS_CACHE_FULL( -- value )
SSL_CTRL_SESS_CB_HIT( -- value )
SSL_CTRL_SESS_CONNECT( -- value )
SSL_CTRL_SESS_CONNECT_GOOD( -- value )
SSL_CTRL_SESS_CONNECT_RENEGOTIATE( -- value )
SSL_CTRL_SESS_HIT( -- value )
SSL_CTRL_SESS_MISSES( -- value )
SSL_CTRL_SESS_NUMBER( -- value )
SSL_CTRL_SESS_TIMEOUTS( -- value )
SSL_CTRL_SET_CHAIN_CERT_STORE( -- value )
SSL_CTRL_SET_CLIENT_CERT_TYPES( -- value )
SSL_CTRL_SET_CLIENT_SIGALGS( -- value )
SSL_CTRL_SET_CLIENT_SIGALGS_LIST( -- value )
SSL_CTRL_SET_CURRENT_CERT( -- value )
SSL_CTRL_SET_CURVES( -- value )
SSL_CTRL_SET_CURVES_LIST( -- value )
SSL_CTRL_SET_ECDH_AUTO( -- value )
SSL_CTRL_SET_MAX_CERT_LIST( -- value )
SSL_CTRL_SET_MAX_SEND_FRAGMENT( -- value )
SSL_CTRL_SET_MSG_CALLBACK( -- value )
SSL_CTRL_SET_MSG_CALLBACK_ARG( -- value )
SSL_CTRL_SET_READ_AHEAD( -- value )
SSL_CTRL_SET_SESS_CACHE_MODE( -- value )
SSL_CTRL_SET_SESS_CACHE_SIZE( -- value )
SSL_CTRL_SET_SIGALGS( -- value )
SSL_CTRL_SET_SIGALGS_LIST( -- value )
SSL_CTRL_SET_SRP_ARG( -- value )
SSL_CTRL_SET_SRP_GIVE_CLIENT_PWD_CB( -- value )
SSL_CTRL_SET_SRP_VERIFY_PARAM_CB( -- value )
SSL_CTRL_SET_TLSEXT_DEBUG_ARG( -- value )
SSL_CTRL_SET_TLSEXT_DEBUG_CB( -- value )
SSL_CTRL_SET_TLSEXT_HOSTNAME( -- value )
SSL_CTRL_SET_TLSEXT_OPAQUE_PRF_INPUT_CB( -- value )
SSL_CTRL_SET_TLSEXT_OPAQUE_PRF_INPUT_CB_ARG( -- value )
SSL_CTRL_SET_TLSEXT_SERVERNAME_ARG( -- value )
SSL_CTRL_SET_TLSEXT_SERVERNAME_CB( -- value )
SSL_CTRL_SET_TLSEXT_STATUS_REQ_CB( -- value )
SSL_CTRL_SET_TLSEXT_STATUS_REQ_CB_ARG( -- value )
SSL_CTRL_SET_TLSEXT_STATUS_REQ_EXTS( -- value )
SSL_CTRL_SET_TLSEXT_STATUS_REQ_IDS( -- value )
SSL_CTRL_SET_TLSEXT_STATUS_REQ_OCSP_RESP( -- value )
SSL_CTRL_SET_TLSEXT_STATUS_REQ_TYPE( -- value )
SSL_CTRL_SET_TLSEXT_TICKET_KEYS( -- value )
SSL_CTRL_SET_TLSEXT_TICKET_KEY_CB( -- value )
SSL_CTRL_SET_TLS_EXT_HEARTBEAT_NO_REQUESTS( -- value )
SSL_CTRL_SET_TLS_EXT_SRP_PASSWORD( -- value )
SSL_CTRL_SET_TLS_EXT_SRP_STRENGTH( -- value )
SSL_CTRL_SET_TLS_EXT_SRP_USERNAME( -- value )
SSL_CTRL_SET_TLS_EXT_SRP_USERNAME_CB( -- value )
SSL_CTRL_SET_TMP_DH( -- value )
SSL_CTRL_SET_TMP_DH_CB( -- value )
SSL_CTRL_SET_TMP_RSA( -- value )
SSL_CTRL_SET_TMP_RSA_CB( -- value )
SSL_CTRL_SET_VERIFY_CERT_STORE( -- value )
SSL_CTRL_TLS_EXT_SEND_HEARTBEAT( -- value )
SSL_CTX_clear_options( ctx options -- ulong )
SSL_CTX_ctrl( ctx cmd larg parg -- long )
SSL_CTX_free( ctx -- )
SSL_CTX_get_options( ctx -- ulong )
SSL_CTX_load_verify_locations( ctx CAfile CApath -- int )
SSL_CTX_need_tmp_rsa( ctx -- n )
SSL_CTX_new( method -- SSL_CTX* )
SSL_CTX_set_client_CA_list( ctx list -- )
SSL_CTX_set_default_passwd_cb( ctx cb -- )
SSL_CTX_set_default_passwd_cb_userdata( ctx u -- )
SSL_CTX_set_default_verify_paths( ctx -- int )
SSL_CTX_set_options( ctx options -- ulong )
SSL_CTX_set_session_cache_mode( ctx mode -- n )
SSL_CTX_set_session_id_context( ctx sid_ctx len -- int )
SSL_CTX_set_tmp_dh( ctx dh -- n )
SSL_CTX_set_tmp_dh_callback( ctx dh -- )
SSL_CTX_set_tmp_rsa( ctx rsa -- n )
SSL_CTX_set_tmp_rsa_callback( ctx rsa -- )
SSL_CTX_set_verify( ctx mode callback -- )
SSL_CTX_set_verify_depth( ctx depth -- )
SSL_CTX_use_PrivateKey_file( ctx file type -- int )
SSL_CTX_use_RSAPrivateKey_file( ctx type -- int )
SSL_CTX_use_certificate( ctx x -- int )
SSL_CTX_use_certificate_chain_file( ctx file -- int )
SSL_ERROR_NONE( -- value )
SSL_ERROR_SSL( -- value )
SSL_ERROR_SYSCALL( -- value )
SSL_ERROR_WANT_ACCEPT( -- value )
SSL_ERROR_WANT_CONNECT( -- value )
SSL_ERROR_WANT_READ( -- value )
SSL_ERROR_WANT_WRITE( -- value )
SSL_ERROR_WANT_X509_LOOKUP( -- value )
SSL_ERROR_ZERO_RETURN( -- value )
SSL_FILETYPE_ASN1( -- value )
SSL_FILETYPE_PEM( -- value )
SSL_NOTHING( -- value )
SSL_OP_NO_SSLv2( -- value )
SSL_OP_NO_SSLv3( -- value )
SSL_OP_NO_TLSv1( -- value )
SSL_OP_NO_TLSv1_1( -- value )
SSL_OP_NO_TLSv1_2( -- value )
SSL_READING( -- value )
SSL_RECEIVED_SHUTDOWN( -- value )
SSL_SENT_SHUTDOWN( -- value )
SSL_SESSION_free( ses -- )
SSL_SESS_CACHE_BOTH( -- value )
SSL_SESS_CACHE_CLIENT( -- value )
SSL_SESS_CACHE_NO_AUTO_CLEAR( -- value )
SSL_SESS_CACHE_NO_INTERNAL( -- value )
SSL_SESS_CACHE_NO_INTERNAL_LOOKUP( -- value )
SSL_SESS_CACHE_NO_INTERNAL_STORE( -- value )
SSL_SESS_CACHE_OFF( -- value )
SSL_SESS_CACHE_SERVER( -- value )
SSL_VERIFY_CLIENT_ONCE( -- value )
SSL_VERIFY_FAIL_IF_NO_PEER_CERT( -- value )
SSL_VERIFY_NONE( -- value )
SSL_VERIFY_PEER( -- value )
SSL_WRITING( -- value )
SSL_X509_LOOKUP( -- value )
SSL_accept( ssl -- int )
SSL_clear_options( ssl options -- ulong )
SSL_connect( ssl -- int )
SSL_ctrl( ssl cmd larg parg -- long )
SSL_free( ssl -- )
SSL_get1_session( ssl -- SSL_SESSION* )
SSL_get_error( ssl ret -- int )
SSL_get_options( ssl -- ulong )
SSL_get_peer_certificate( s -- X509* )
SSL_get_secure_renegotiation_support( ssl -- ulong )
SSL_get_session( to -- SSL_SESSION* )
SSL_get_shutdown( ssl -- int )
SSL_get_verify_result( ssl -- long )
SSL_get_version( ssl -- c-string )
SSL_library_init( -- int )
SSL_load_client_CA_file( file -- SSL* )
SSL_load_error_strings( -- )
SSL_new( ctx -- SSL* )
SSL_read( ssl buf num -- int )
SSL_rstate_string( ssl -- c-string )
SSL_rstate_string_long( ssl -- c-string )
SSL_set_accept_state( ssl -- )
SSL_set_bio( ssl rbio wbio -- )
SSL_set_cipher_list( ssl str -- int )
SSL_set_connect_state( ssl -- )
SSL_set_fd( ssl fd -- int )
SSL_set_options( ssl options -- ulong )
SSL_set_session( to session -- int )
SSL_set_tlsext_host_name( ctx hostname -- n )
SSL_shutdown( ssl -- int )
SSL_state_string( ssl -- c-string )
SSL_state_string_long( ssl -- c-string )
SSL_use_RSAPrivateKey_file( ssl str -- int )
SSL_use_certificate_file( ssl str type -- int )
SSL_want( ssl -- int )
SSL_write( ssl buf num -- int )
SSLv23_client_method( -- ssl-method )
SSLv23_method( -- ssl-method )
SSLv23_server_method( -- ssl-method )
SSLv2_client_method( -- ssl-method )
SSLv3_client_method( -- ssl-method )
SSLv3_method( -- ssl-method )
SSLv3_server_method( -- ssl-method )
TLSEXT_ECPOINTFORMAT_ansiX962_compressed_char2( -- value )
TLSEXT_ECPOINTFORMAT_ansiX962_compressed_prime( -- value )
TLSEXT_ECPOINTFORMAT_first( -- value )
TLSEXT_ECPOINTFORMAT_last( -- value )
TLSEXT_ECPOINTFORMAT_uncompressed( -- value )
TLSEXT_NAMETYPE_host_name( -- value )
TLSEXT_STATUSTYPE_ocsp( -- value )
TLSEXT_hash_md5( -- value )
TLSEXT_hash_none( -- value )
TLSEXT_hash_num( -- value )
TLSEXT_hash_sha1( -- value )
TLSEXT_hash_sha224( -- value )
TLSEXT_hash_sha256( -- value )
TLSEXT_hash_sha384( -- value )
TLSEXT_hash_sha512( -- value )
TLSEXT_nid_unknown( -- value )
TLSEXT_signature_anonymous( -- value )
TLSEXT_signature_dsa( -- value )
TLSEXT_signature_ecdsa( -- value )
TLSEXT_signature_num( -- value )
TLSEXT_signature_rsa( -- value )
TLSv1_1_method( -- ssl-method )
TLSv1_2_method( -- ssl-method )
TLSv1_client_method( -- ssl-method )
TLSv1_method( -- ssl-method )
TLSv1_server_method( -- ssl-method )
X509V3_EXT_get( ext -- X509V3_EXT_METHOD* )
X509_FILETYPE_ASN1( -- value )
X509_FILETYPE_DEFAULT( -- value )
X509_FILETYPE_PEM( -- value )
X509_NAME_get_text_by_NID( name nid buf len -- int )
X509_NAME_oneline( a buf size -- char* )
X509_R_CERT_ALREADY_IN_HASH_TABLE( -- value )
X509_STORE_add_cert( ctx x -- int )
X509_STORE_new( -- X509_STORE* )
X509_check_trust( a id flags -- int )
X509_free( a -- )
X509_get_ext( a loc -- X509_EXTENSION* )
X509_get_ext_by_NID( a nid lastpos -- int )
X509_get_ext_d2i( a nid crit idx -- void* )
X509_get_issuer_name( a -- X509_NAME* )
X509_get_subject_name( a -- X509_NAME* )
d2i_X509( px in len -- X509* )
error-messages( -- hash )
i2d_X509( x out -- int )
i2d_re_X509_tbs( x out -- int )
sk_num( s -- int )
sk_value( s v -- void* )
|SSL_CTX_free( alien -- alien )
|SSL_free( alien -- alien )
|X509_free( alien -- alien )


Class predicate words
WordStack effect
ASN1_STRING?( object -- ? )
GENERAL_NAME_st?( object -- ? )
GENERAL_NAME_st_d?( object -- ? )
SSL?( object -- ? )
SSL_CTX_free-destructor?( object -- ? )
SSL_free-destructor?( object -- ? )
X509V3_EXT_METHOD?( object -- ? )
X509_EXTENSION?( object -- ? )
X509_V_ERR_AKID_ISSUER_SERIAL_MISMATCH?( object -- ? )
X509_V_ERR_AKID_SKID_MISMATCH?( object -- ? )
X509_V_ERR_APPLICATION_VERIFICATION?( object -- ? )
X509_V_ERR_CERT_CHAIN_TOO_LONG?( object -- ? )
X509_V_ERR_CERT_HAS_EXPIRED?( object -- ? )
X509_V_ERR_CERT_NOT_YET_VALID?( object -- ? )
X509_V_ERR_CERT_REJECTED?( object -- ? )
X509_V_ERR_CERT_REVOKED?( object -- ? )
X509_V_ERR_CERT_SIGNATURE_FAILURE?( object -- ? )
X509_V_ERR_CERT_UNTRUSTED?( object -- ? )
X509_V_ERR_CRL_HAS_EXPIRED?( object -- ? )
X509_V_ERR_CRL_NOT_YET_VALID?( object -- ? )
X509_V_ERR_CRL_SIGNATURE_FAILURE?( object -- ? )
X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT?( object -- ? )
X509_V_ERR_ERROR_IN_CERT_NOT_AFTER_FIELD?( object -- ? )
X509_V_ERR_ERROR_IN_CERT_NOT_BEFORE_FIELD?( object -- ? )
X509_V_ERR_ERROR_IN_CRL_LAST_UPDATE_FIELD?( object -- ? )
X509_V_ERR_ERROR_IN_CRL_NEXT_UPDATE_FIELD?( object -- ? )
X509_V_ERR_INVALID_CA?( object -- ? )
X509_V_ERR_INVALID_NON_CA?( object -- ? )
X509_V_ERR_INVALID_PURPOSE?( object -- ? )
X509_V_ERR_KEYUSAGE_NO_CERTSIGN?( object -- ? )
X509_V_ERR_KEYUSAGE_NO_CRL_SIGN?( object -- ? )
X509_V_ERR_KEYUSAGE_NO_DIGITAL_SIGNATURE?( object -- ? )
X509_V_ERR_OK?( object -- ? )
X509_V_ERR_OUT_OF_MEM?( object -- ? )
X509_V_ERR_PATH_LENGTH_EXCEEDED?( object -- ? )
X509_V_ERR_PROXY_CERTIFICATES_NOT_ALLOWED?( object -- ? )
X509_V_ERR_PROXY_PATH_LENGTH_EXCEEDED?( object -- ? )
X509_V_ERR_SELF_SIGNED_CERT_IN_CHAIN?( object -- ? )
X509_V_ERR_SUBJECT_ISSUER_MISMATCH?( object -- ? )
X509_V_ERR_UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY?( object -- ? )
X509_V_ERR_UNABLE_TO_DECRYPT_CERT_SIGNATURE?( object -- ? )
X509_V_ERR_UNABLE_TO_DECRYPT_CRL_SIGNATURE?( object -- ? )
X509_V_ERR_UNABLE_TO_GET_CRL?( object -- ? )
X509_V_ERR_UNABLE_TO_GET_CRL_ISSUER?( object -- ? )
X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT?( object -- ? )
X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY?( object -- ? )
X509_V_ERR_UNABLE_TO_VERIFY_LEAF_SIGNATURE?( object -- ? )
X509_V_ERR_UNHANDLED_CRITICAL_CRL_EXTENSION?( object -- ? )
X509_V_ERR_UNHANDLED_CRITICAL_EXTENSION?( object -- ? )
X509_free-destructor?( object -- ? )
ssl_method_st?( object -- ? )
stack_st?( object -- ? )


Files