Hello,
did anybody already try to use a bluetooth socket in an SSL structure? I
am using the TLS protocol, which works fine through the Lan interface
between my Pda and my desktop. But my aim is to use it upon bluetooth
sockets.
I open a bluetooth socket using L2CAP, and my socket type is
SOC
You must save original pointer because i2c and i2d function move pointer in
order to prepare it for subsequent calls.
ASN1_INTEGER * serial;
unsigned char * serialNumberDER,*temp;
size = i2c_ASN1_INTEGER(serial, NULL);
temp=serialNumberDER = new unsigned char[*size];
size = i2c_ASN1_INTEGER(seri
Michael Helm wrote:
[...]
What I wanted to try (& might eventually) is going back to the client
test we did some time ago. We found that the client always ignored
the extra subjectaltname entries, and so I suspect that the subject
components are the ones evaluated.
To my knowledge, tests made rece
Hi, newbie looking for help...
I've linked libssl on my software but i get this error:
./ -I./ -I./openssl/ -DUNIX -DX_UNIX -ldb1 -lssl -lcrypto
/usr/ccs/bin/ld: Unsatisfied symbols:
OBJ_obj2nid (first referenced in .//libssl.a(s23_srvr.o)) (code)
RSA_verify (first reference
Andrzej,
Call i2d_ASN1_INTEGER to DER-encode an ASN.1 INTEGER. Pass 0 or NULL as the second argument to i2d_ASN1_INTEGER to determine the length of the DER-encoded INTEGER. If you pass a non-zero value as the second argument to i2d_ASN1_INTEGER, the function will DER-encode the INTEGER and increm
However, still I don't see any reason why this function increments its
second argument ? And why to the first byte after the DER-encoded INTEGER
(it's out of preallocated memory) ?
The usual reason for building library routines that bump an output
pointer is to be able to use them in a chained fa
Thanks a lot !
My VS7 cheated me :-) It doesn't display i2d_ASN1_INTEGER() in it's "Code
Insight" . But compilation is ok.
Now I'm able to use CryptEncodeObject to convert from DER encoded integer
to CRYPT_INTEGER_BLOB which is used internally in Win Crypto API. Crypto
API keeps internally multi
Hi ,
i'm trying to convert ASN1_INTEGER (specifically certificate serial
number) into its DER representation.
I'm using i2c_ASN1_INTEGER - and if it's the right function - then I don't
understand why it moves a pointer passed to it as second parameter behind
reserved memory.
Here is what I'm do