If you are interested maybe you can use the IBM Jonah Implementation?
This is an excerpt of a PKCS7 structure implemented in the Jonah ASN1
Framework...
class EXPORTCLASS EncryptedContentInfo : public asn_sequence {
public:
ContentType contentType;
AlgorithmIdentifier contentEncryptionAlgorithm;
asn_implicit<asn_octetstring, CLASS_CONTEXT_SPECIFIC, 0>
encryptedContent;
EncryptedContentInfo(security_t s = ASN_PUBLIC) : asn_sequence(s) {
strcpy(objType, "EncryptedContentInfo"); // D338
encryptedContent.set_optional();
register_child(&contentType);
register_child(&contentEncryptionAlgorithm);
register_child(&encryptedContent);
};
};
"SCH" <[EMAIL PROTECTED]> on 09/20/2000 02:33:28 AM
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc: (bcc: Jonathan Cloots/Utimaco/BE)
Subject: rewriting the ASN1
What is the goal of rewriting the ASN1 code?
Will Steve try some ASN1 compiler?
As to my vision, The c code generated by
ASN1 compiler is dirty. Maybe we can write
the ASN1 code in openssl with C++.
I am to build some PKIX stuff with the current ASN1 routines
in Openssl.So If the ASN1 routine is to change, I suggest the
progress should keep updated in maillist.
> >
> > IN PROGRESS
> >
> > o Steve is currently working on (in no particular order):
> > ASN1 code redesign, butchery, replacement.
> > EVP cipher enhancement.
> > Proper (or at least usable) certificate chain verification.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]