Re: [edk2] [PATCH v2] CryptoPkg: Add new API to retrieve commonName of X.509 certificate

2017-09-20 Thread Laszlo Ersek
On 09/20/17 19:04, Long, Qin wrote: > > > From: Laszlo Ersek [mailto:ler...@redhat.com] > Sent: Thursday, September 21, 2017 12:38 AM > To: Long, Qin ; Ye, Ting ; Zhang, Chao > B > Cc: edk2-devel@lists.01.org > Subject: Re: [PATCH v2] CryptoPkg: Add new API to retrieve commonName of > X.509 ce

Re: [edk2] [PATCH v2] CryptoPkg: Add new API to retrieve commonName of X.509 certificate

2017-09-20 Thread Long, Qin
From: Laszlo Ersek [mailto:ler...@redhat.com] Sent: Thursday, September 21, 2017 12:38 AM To: Long, Qin ; Ye, Ting ; Zhang, Chao B Cc: edk2-devel@lists.01.org Subject: Re: [PATCH v2] CryptoPkg: Add new API to retrieve commonName of X.509 certificate Hello Qin, On 09/20/17 18:05, Qin Long wro

Re: [edk2] [PATCH v2] CryptoPkg: Add new API to retrieve commonName of X.509 certificate

2017-09-20 Thread Laszlo Ersek
Hello Qin, On 09/20/17 18:05, Qin Long wrote: > v2: Update function interface to return RETURN_STATUS to represent > different error cases. > > Add one new API (X509GetCommonName()) to retrieve the subject commonName > string from one X.509 certificate. > > Cc: Laszlo Ersek > Cc: Ting Ye >

[edk2] [PATCH v2] CryptoPkg: Add new API to retrieve commonName of X.509 certificate

2017-09-20 Thread Qin Long
v2: Update function interface to return RETURN_STATUS to represent different error cases. Add one new API (X509GetCommonName()) to retrieve the subject commonName string from one X.509 certificate. Cc: Laszlo Ersek Cc: Ting Ye Cc: Chao Zhang Contributed-under: TianoCore Contribution Agreem