Re: DIRECTORYSTRING and substitute in v1.0.0d

2011-03-23 Thread Christian Weber
Dr. Stephen Henson schrieb am 22.03.2011 18:50: ... You shouldn't need that patch. I think your problem is: ASN1_OPT(X509_ADMISSION_PROF_INFO, professionOIDs, ASN1_OBJECTS), Which is making an item template optional. Try instead doing: ASN1_SEQUENCE_OF_OPT(X509_ADMISSION_PROF_INFO, professionO

Re: DIRECTORYSTRING and substitute in v1.0.0d

2011-03-22 Thread Dr. Stephen Henson
On Thu, Mar 10, 2011, Christian Weber wrote: > Hi there, > > in the past we have implemented some templates for x509v3 > extensions for certificates due to being able to handle > some attributes defined in common-pki 2.0. > > One of the more structured attributes is admission: > >id-isismtt-at-a

Re: DIRECTORYSTRING and substitute in v1.0.0d

2011-03-11 Thread Christian Weber
OK, found it on my own. I was in need of automatic type checking of the built in multistring types at parsing time, i.e. when doing d2i_X509_TEMPLATE_TYPE(...) an templates for new structures. Just in case someone might be interested, i found a solution that works for me. With some digging th