On 03/11/2011 11:57 AM, ikuzar wrote:
Ok.
In the doc, I think |i2d_X509() |is adequate to encode X509 *cert; The doc says
:
int i2d_X509(X509 *x, unsigned char **out);
|i2d_X509()| encodes the structure pointed to by *x* into DER format. If *out*
is not *NULL* is writes the DER encoded data t
nssl.org
> *Subject:* Re: convert x509 cert into string and store certs in cache
>
> add to previous post, I 'd like to know what is the best format for
> storing item in map. Item is here a struct which encapsulated certificate
> object ( as shown in previous message ).
>
string and store certs in cache
add to previous post, I 'd like to know what is the best format for storing
item in map. Item is here a struct which encapsulated certificate object (
as shown in previous message ).
I think about DER format ... is it a good idea ?
If you want sharing proc
add to previous post, I 'd like to know what is the best format for storing
item in map. Item is here a struct which encapsulated certificate object (
as shown in previous message ).
I think about DER format ... is it a good idea ?
2011/3/9 ikuzar
>
>
> 2011/3/9 Dave Thompson
>
> > From:
2011/3/9 Dave Thompson
> > From: owner-openssl-us...@openssl.org On Behalf Of ikuzar
> > Sent: Tuesday, 08 March, 2011 13:02
>
> > I am going to explain below what I HAVE TO do :
> > a) I have to store certificates in a map which is a shared memory.
> > ( I have to do this
> From: owner-openssl-us...@openssl.org On Behalf Of ikuzar
> Sent: Tuesday, 08 March, 2011 13:02
> I am going to explain below what I HAVE TO do :
> a) I have to store certificates in a map which is a shared memory.
> ( I have to do this, I have no choice, because
Ok, things are more clear now.
I am going to explain below what I HAVE TO do :
a) I have to store certificates in a map which is a shared memory. ( I have
to do this, I have no choice, because I have to continue what guy before me
had started ). So I think it's better to store x509 structure which
Hey there:
On 2011-03-08, at 10:03 AM, ikuzar wrote:
> my questions :
> 1) What does DER format means ? is it equivalent to a string format ?
> In the following function, we have a parameter named "out" : int
> i2d_X509(X509 *x, unsigned char **out); this function convert X509 internal
> data i
ikuzar writes:
[...]
> my questions :
> 1) What does DER format means ?
Distinguished Encoding Rules. It's an encoding for ASN.1. See X.690.
> is it equivalent to a string format ?
It's a binary serialisation. So it's a string in the sense that it
can be sent over protocols, saved in files
Hello,
I have to work with a pre-existing code which simulated handshake, data
encryption etc ...
certificate struct is defined like in the source code I reuse :
template struct certificate : shared {
StrType uri;
StrType sn;
StrType data;
certificate(const char *str, size_t clen=0
10 matches
Mail list logo