rsa_meth_st

Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
extern (C) nothrow @nogc
struct rsa_meth_st {}

Members

Variables

app_data
char* app_data;

may be needed!

bn_mod_exp
int function(libressl_d.openssl.ossl_typ.BIGNUM* r, const(libressl_d.openssl.ossl_typ.BIGNUM)* a, const(libressl_d.openssl.ossl_typ.BIGNUM)* p, const(libressl_d.openssl.ossl_typ.BIGNUM)* m, libressl_d.openssl.ossl_typ.BN_CTX* ctx, libressl_d.openssl.ossl_typ.BN_MONT_CTX* m_ctx) bn_mod_exp;

Can be null

finish
int function(libressl_d.openssl.ossl_typ.RSA* rsa) finish;

called at free

flags
int flags;

RSA_METHOD_FLAG_* things

init
int function(libressl_d.openssl.ossl_typ.RSA* rsa) init;

called at new

name
const(char)* name;
Undocumented in source.
rsa_keygen
int function(libressl_d.openssl.ossl_typ.RSA* rsa, int bits, libressl_d.openssl.ossl_typ.BIGNUM* e, libressl_d.openssl.ossl_typ.BN_GENCB* cb) rsa_keygen;

If this callback is null, the builtin software RSA key-gen will be used. This is for behavioural compatibility whilst the code gets rewired, but one day it would be nice to assume there are no such things as "builtin software" implementations.

rsa_mod_exp
int function(libressl_d.openssl.ossl_typ.BIGNUM* r0, const(libressl_d.openssl.ossl_typ.BIGNUM)* I, libressl_d.openssl.ossl_typ.RSA* rsa, libressl_d.openssl.ossl_typ.BN_CTX* ctx) rsa_mod_exp;

Can be null

rsa_priv_dec
int function(int flen, const(ubyte)* from, ubyte* to, libressl_d.openssl.ossl_typ.RSA* rsa, int padding) rsa_priv_dec;
Undocumented in source.
rsa_priv_enc
int function(int flen, const(ubyte)* from, ubyte* to, libressl_d.openssl.ossl_typ.RSA* rsa, int padding) rsa_priv_enc;
Undocumented in source.
rsa_pub_dec
int function(int flen, const(ubyte)* from, ubyte* to, libressl_d.openssl.ossl_typ.RSA* rsa, int padding) rsa_pub_dec;
Undocumented in source.
rsa_pub_enc
int function(int flen, const(ubyte)* from, ubyte* to, libressl_d.openssl.ossl_typ.RSA* rsa, int padding) rsa_pub_enc;
Undocumented in source.
rsa_sign
int function(int type, const(ubyte)* m, uint m_length, ubyte* sigret, uint* siglen, const(libressl_d.openssl.ossl_typ.RSA)* rsa) rsa_sign;
Undocumented in source.
rsa_verify
int function(int dtype, const(ubyte)* m, uint m_length, const(ubyte)* sigbuf, uint siglen, const(libressl_d.openssl.ossl_typ.RSA)* rsa) rsa_verify;
Undocumented in source.

Meta