would my best course of action be to use ASN1_generate_nconf to generate this OCTET String. Can someone give me an example of how to do this?
On 08/04/2010 03:35 PM, Bram Cymet wrote: > To give more information: > > At present I don't care about the issuerAltName > and > > I would like to be able to generate the octet string that would be needed. > > Thanks > > On 08/04/2010 03:08 PM, Bram Cymet wrote: > >> HI, >> >> Give a configuration like the following: >> >> subjectAltName=otherName:1.3.6.1.5.2.2;SEQUENCE:princ_name >> >> >> # Copy subject details >> >> issuerAltName=issuer:copy >> >> [princ_name] >> realm = EXP:0, GeneralString:${ENV::REALM} >> principal_name = EXP:1, SEQUENCE:principal_seq >> >> [principal_seq] >> name_type = EXP:0, INTEGER:1 >> name_string = EXP:1, SEQUENCE:principals >> >> [principals] >> princ1 = GeneralString:${ENV::CLIENT} >> >> >> Can someone give me an idea of how openssl would encode this, or at >> least point me at the code that would encode this so I can figure it out. >> >> I am trying to figure out the asn1 structures that would be created. >> >> Thanks, >> >> >> > > -- Bram Cymet Software Developer Canadian Bank Note Co. Ltd. Cell: 613-608-9752 ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org