cryptoapi Questions

8

Solved

I am writing some Python code to create an order with the Binance API: from binance.client import Client client = Client(API_KEY, SECRET_KEY) client.create_order(symbol='BTCUSDT', recvWindow=599...
Gayelord asked 18/3, 2022 at 17:10

3

I am trying to create a perpetual limit order using ccxt on okex exchange version 5. The API is successfully placing orders(both limit and market) on spot exchange but not on perpetual exchange. He...
Energetic asked 7/6, 2021 at 9:42

2

I have this strange problem, SslStream.AuthenticateAsClient() throws following exception: System.Security.Authentication.AuthenticationException : A call to SSPI failed, see inner exception. ----...
Conservancy asked 2/12, 2016 at 18:46

4

Solved

I'm asking this question because I've spent the best part of a day trawling through msdn docs and other opaque sources for simple straightforward guidelines on how to get started with the Windows C...
Leukorrhea asked 25/1, 2011 at 17:7

2

I'm trying to use the WinCrypt API in C++. My application need to cipher, decipher, sign and verify files, and I know how to do that once I have the correct keys. But my problem is actually that t...
Couching asked 7/12, 2011 at 9:15

2

Solved

I'm looking to run some tests using the PKCS #11 interface and was wondering if Microsoft provided a software based implementation the provides PKCS #11 functionality? Rather then waiting for a HS...
Pyralid asked 13/1, 2009 at 22:55

2

Solved

I'm getting a pop-up when trying to use a certificate to decrypt data. I'm creating a self-signed certificate, and I'm using it to encrypt some data, but I'm getting the following confirmation pop-...
Mccloskey asked 15/1, 2016 at 14:10

3

Solved

Does anyone know of any existing implementations for NIST SP 800-56A Concatenation Key Derivation Function / CONCAT KDF (preferably in Java)? The key derivation function is documented in sec...
Trews asked 4/6, 2012 at 10:14

3

Solved

I'm trying to load certificates directly from the Microsoft store in order to avoid having to export certs from the MS store and then import them into a JKS store. I managed to get certs created f...
Paratuberculosis asked 27/8, 2015 at 2:44

2

Solved

I use the WinINet library to connect to a website. Using the Internet Explorer (Win10) it works and shows me the message to select the certificate to use. This is the delphi code I call: FUNCTIO...
Instar asked 23/3, 2018 at 18:57

1

Solved

I'm trying to find Java (native or BouncyCastle provider) implementation for generating a RSA private key in PKCS#1 using given params {e,n,d}. There is paper by Dan Boneh that describes an algori...
Pastis asked 19/10, 2017 at 19:45

1

One of our products is currently using the CryptGenRandom API for random number generation. Recently, I came across the Cryptography API: Next Generation (CNG) that provides a new API BCryptGenRand...
Ehlke asked 18/5, 2016 at 5:4

1

Solved

I've build openssl manually (static libraries) following this guide now when I try to link my MFC test app with libeay32.lib I get following errors: 1>Linking... 1>libeay32.lib(e_capi.obj) : ...
Progressive asked 30/5, 2016 at 9:53

1

I'm struggling with a port of a couple of security libraries to the Windows Phone 8 and Windows Store 8 platform. I need a function which provides random numbers. Win32 has CryptGenRandom and even...
Echoism asked 2/5, 2016 at 3:24

1

I am using Python and OpenSSL to connect to a site using TLS (in some cross-platform software, so it would be too much work to switch to CryptoAPI for everything); I don't want to distribute (and u...
Irriguous asked 11/1, 2016 at 22:50

0

I am creating an SSL connection using OpenSSL API. As we know in a SSL handshake, series of Certificate Authentication occurs for Server or Client. Now for client certificate authentication, the cl...
Phonate asked 31/12, 2015 at 17:49

2

Solved

I am currently working on a project written in C++ that leverages the CryptoAPI to perform a Diffie-Hellman key exchange. I'm having a bit of trouble getting this to work as the eventual RC4 sessio...
Dijon asked 19/12, 2015 at 1:50

3

I'm trying to develop a license verification solution. Licenses are encoded on server using OpenSSL's RSA_private_encrypt function. For Mac OX X I use RSA_public_decrypt and it works like a charm....
Shortbread asked 25/1, 2013 at 18:15

1

Solved

For many years we have kept our strong name key in a key container. Visual Studio doesn't directly support that but, it works fine if you just edit the .csproj file and add: <KeyContainerName&g...
Marianamariand asked 23/9, 2015 at 17:3

1

Solved

I'm trying to build a tool that will mass sign a bunch of files based on Kernel-Mode Code Signing requirements. I know that signtool can take an additional certificate for cross-signatures trust vi...
Smriti asked 25/8, 2015 at 17:43

7

Solved

I have been looking for some time but have not found anywhere near sufficient documentation / examples on how to use the CryptoAPI that comes with linux in the creation of syscalls / in kernel land...
Weese asked 6/10, 2010 at 1:58

2

Solved

I want to use the Windows CryptoAPI functions for AES encryption. As you know, the API has a lot of functions to create, hash and change the entered key; it derives the key and you get a handle to...
Comehither asked 12/4, 2015 at 4:56

1

Solved

I'm trying to use SHA2-512 on Windows 7 with CryptoAPI, however, calling CryptCreateHash fails with GetLastError()=2148073480=0x80090008, i.e. "Invalid Algorithm Specified". According to https://ms...
Rowlett asked 13/9, 2014 at 11:27

3

Solved

I've managed to use Sun's MSCAPI provider in my application. The problem I'm having now is that it always pops up a window, asking for a password, even though I've provided it in the code. This is ...
Signore asked 30/1, 2009 at 12:39

1

Solved

This is my code: EC_KEY *eckey = EC_KEY_new(); EC_KEY_generate_key(eckey); const EC_POINT *pub = EC_KEY_get0_public_key(eckey); printf("%s", pub->X); I'm getting an error that says "Incomplet...

© 2022 - 2024 — McMap. All rights reserved.