Skip to content

Commit fcb24e3

Browse files
alexandrumcGeod24
authored andcommitted
Add EVP_PKEY_get_raw_*_key bindings
1 parent bc1c7d1 commit fcb24e3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

source/deimos/openssl/evp.di

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1257,6 +1257,10 @@ static if (OPENSSL_VERSION_AT_LEAST(1, 1, 1))
12571257
int type, ENGINE* e, const(ubyte)* priv, size_t len);
12581258
EVP_PKEY* EVP_PKEY_new_raw_public_key(
12591259
int type, ENGINE* e, const(ubyte)* pub, size_t len);
1260+
int EVP_PKEY_get_raw_private_key(
1261+
const(EVP_PKEY)* pkey, ubyte* priv, size_t* len);
1262+
int EVP_PKEY_get_raw_public_key(
1263+
const(EVP_PKEY)* pkey, ubyte* pub, size_t* len);
12601264
}
12611265

12621266
void EVP_PKEY_CTX_set_data(EVP_PKEY_CTX* ctx, void* data);

0 commit comments

Comments
 (0)