Hi all,
I want to wrap data into the SEQUENCE (PKCS#1)

DigestInfo ::= SEQUENCE {
     digestAlgorithm DigestAlgorithmIdentifier,
     digest Digest
}

and then DER encode it.

Using OpenSSL 0.9.6b (EVP and ASN1 routines) I'm able to obtain the 
digested data as OCTET STRING, but how can I build and encode
the final SEQUENCE?

Looking in the ASN1 sources I found a X509_SIG object;
can I use it for my job?


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to