On Mon, Aug 28, 2000 at 01:43:05PM -0400, Allen Smith wrote:
The Yarrow API is different from other PRNGs in that it differenciates
between different randomness sources. That means that applications
must call the Yarrow_Input function directly, or the OpenSSL API
(RAND_add() and
Are there any OpenSSL function to convert an ASN1_UTCTIME to a time_t (or a
string for that matter)?
Also... what about converting an ASN1_INTEGER to a standard 'int'?
Med venlig hilsen / Best regards
Kim Hellan
KMD / KMD-CA
http://www.kmd-ca.dk
Mailto:[EMAIL PROTECTED]
Are there any OpenSSL function to convert an ASN1_UTCTIME to a time_t (or a
string for that matter)?
Somewhere in the following you'll find what you want :
time_t TSPX_GENERALIZEDTIME_print(BIO *bp, ASN1_GENERALIZEDTIME *tm,int gmt) {
unsigned char strtime[30] ;
time_t test
time_t TSPX_GENERALIZEDTIME_print(BIO *bp, ASN1_GENERALIZEDTIME *tm,int gmt) {
...
if (strncmp(tm-data,strtime,15) 0)
test -= (time_t)(1 i) ;
This is curious code. It is trying to treat the TIME datatype as
opaque, but then it looks directly
Need info on the PEM format used by openSSL for keys.
Is it just b64 encoding of der and other pkcs formats or something more? Any pointers
to implementation and/or decoding would be appreciated?
Baber Amin
__
OpenSSL
Baber Amin wrote:
Need info on the PEM format used by openSSL for keys.
Is it just b64 encoding of der and other pkcs formats or something more? Any
pointers to implementation and/or decoding would be appreciated?
Try reading the docs to the applications, rsa, dsa and pkcs8 they give
Rich Salz wrote:
time_t TSPX_GENERALIZEDTIME_print(BIO *bp, ASN1_GENERALIZEDTIME *tm,int gmt) {
...
if (strncmp(tm-data,strtime,15) 0)
test -= (time_t)(1 i) ;
This is curious code. It is trying to treat the TIME datatype as
opaque, but then
Hello:
Has anyone out there had any problems interfacing OpenSSL
to a PKCS11 device? We are using the scheme outlined in
the attached post from Steven Reddie which describes how
to add function pointers that replace the standard BSafe
crypto calls. The problem is that the code that handles the