Re: How to get a list of SubjectAltNames of a cert in NSS

Robert Relyea <[email protected]>
Newsgroups gmane.comp.mozilla.crypto
Message-ID <[email protected]>
On 03/03/2017 02:48 PM, Robert Relyea wrote:
> On 03/03/2017 09:42 AM, Paul Wouters wrote:
>> On Fri, 3 Mar 2017, Robert Relyea wrote:
>>
>>>>  [offlist]
>>
>> redirected back to the list, since the item I was concerned about is not
>> a concern.
>>
>>>>  Thanks for the info. I looked at it and have two questions and one
>>>>  concern (which is why this is offlist)
>>> I'm not sure what list this was from. I don't remember seeing the 
>>> thread.
>>
>> [email protected]
>>
>>>>  - Why not export this NSS function for everyone?
>>>
>>> Which function?
>>
>> Sorry, I was referring to:
>>
>>     cert_VerifySubjectAltName(const CERTCertificate *cert, const char 
>> *name);
>
> Certainly as named, we would export it, but we could wrap the function 
> as CERT_VerifySubjectAltName()
> and export that function. 

Arg... typing to fast drops negations. this should read

"Certainly as names we would NOT export it, but we could wrap the 
function as CERT_VerifySubjectAltName() and export that function()."

Lower case function names is an indicator the the function is local, at 
least to the NSS directory, if not to the .c file itself. Anything 
exported even within the NSS shared library (yet alone to the 
application) sould have an all cap prefix.

bob

-- 
dev-tech-crypto mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-crypto
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.