Re: query on key usage OIDs

2021-07-17 Thread Viktor Dukhovni
On Fri, Jul 16, 2021 at 01:11:04PM +0200, Jakob Bohm via openssl-users wrote: > Question was how to retrieve those lists for any given certificate, > using currently supported OpenSSL APIs. > > The lists of usage bits and extusage OIDs in any given certificate > are finite, even if the list of va

Re: query on key usage OIDs

2021-07-16 Thread Jakob Bohm via openssl-users
Question was how to retrieve those lists for any given certificate, using currently supported OpenSSL APIs. The lists of usage bits and extusage OIDs in any given certificate are finite, even if the list of values that could be in other certificates is infinite. On 2021-07-16 06:44, Kyle Hamilto

Re: query on key usage OIDs

2021-07-15 Thread Kyle Hamilton
Also, OIDs for extendedKeyUsage can be defined per-application, so there's no way to compile a full list of them. -Kyle H On Fri, Jul 16, 2021 at 4:23 AM Viktor Dukhovni wrote: > > > On 15 Jul 2021, at 11:55 pm, SIMON BABY wrote: > > > > I am looking for openssl APIs to get all the OIDs associa

Re: query on key usage OIDs

2021-07-15 Thread Viktor Dukhovni
> On 15 Jul 2021, at 11:55 pm, SIMON BABY wrote: > > I am looking for openssl APIs to get all the OIDs associated with user > certificate Key usage extension. For example my sample Key usage extension > from the certificate is below: > X509v3 extensions: > X509v3 Key Usage: critical

query on key usage OIDs

2021-07-15 Thread SIMON BABY
Hi Team, I am looking for openssl APIs to get all the OIDs associated with user certificate Key usage extension. For example my sample Key usage extension from the certificate is below: X509v3 extensions: X509v3 Key Usage: critical Digital Signature, Key Encipherment I