Re: how to set flags in X509_NAME_ENTRY in OpenSSL 1.1.1

2019-06-18 Thread Lisa Matias
in the content of the resulting certificates. Thank you very much for your assistance. Lisa. On Tue, 18 Jun 2019 at 12:30, Viktor Dukhovni wrote: > On Tue, Jun 18, 2019 at 07:16:46AM -0700, Lisa Matias wrote: > > > If you look here: > > > > https://www.ope

Re: how to set flags in X509_NAME_ENTRY in OpenSSL 1.1.1

2019-06-18 Thread Lisa Matias
Dukhovni wrote: > On Mon, Jun 17, 2019 at 09:19:41PM -0700, Lisa Matias wrote: > > > X509_NAME_ENTRY *nameEntry; > > nameEntry = X509_NAME_ENTRY_create_by_NID (&nameEntry, nid, > > derTagToVType (tag), buffer, bufferLength); > > *nameEn

how to set flags in X509_NAME_ENTRY in OpenSSL 1.1.1

2019-06-17 Thread Lisa Matias
With OpenSSL version 1.1.1, my previously working code is now failing with this error: *error: dereferencing pointer to incomplete type ‘X509_NAME_ENTRY {aka struct X509_name_entry_st}’* Basically, I am trying to do the following... X509_NAME_ENTRY *nameEntry; nameEntry = X509_NAME_ENTRY_create

Re: invalid x500UniqueIdentifier bitstring in openssl

2006-03-31 Thread Lisa Matias
>> I have make the change you specified above and I am now passing the >> above binary string. Now the x500UniqueIdentifer has the following >> DER encoded value: >> 03:06:00:A1:B2:C3:D4:E5 >> which contains a null Byte 0x00 in error before the 0xA1B2C3D4E5 value. >> How can I remove the n

Re: invalid x500UniqueIdentifier bitstring in openssl

2006-03-31 Thread Lisa Matias
>> The x500UniqueIdentifier (OID=2.5.4.45) X500 object is suppose to be a >> binary bit-string: >> >> http://www.alvestrand.no/objectid/2.5.4.45.html >> >> So if I wish to add the unique ID to my certificate object and set its >> value to 0xA1B2C3D4E5, I cannot find any proper way to do so.

invalid x500UniqueIdentifier bitstring in openssl

2006-03-31 Thread Lisa Matias
The x500UniqueIdentifier (OID=2.5.4.45) X500 object is suppose to be a binary bit-string: http://www.alvestrand.no/objectid/2.5.4.45.html So if I wish to add the unique ID to my certificate object and set its value to 0xA1B2C3D4E5, I cannot find any proper way to do so. Consider the foll