query on PEM_write_bio_PKCS8PrivateKey

2021-09-24 Thread SIMON BABY
Hi Team, I have a query. I see the below API is used to write the private key in encrypted PKCS#8 format. *PEM_write_bio_PKCS8PrivateKey()* and *PEM_write_PKCS8PrivateKey()* write a private key in an EVP_PKEY structure in PKCS#8 EncryptedPrivateKeyInfo format using PKCS#5 v2.0 password based

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

query on api PKCS12_parse()

2020-09-01 Thread SIMON BABY
Hello, I am using the api PKCS12_parse for creating the private key and certs. When I send a wrong password to the API, my process crashes in the call PKCS12_parse(). The same API works fine when I pass the correct passwd. Can someone please help to send some clues to resolve/debug this issue.

query on dns resolver

2020-08-19 Thread SIMON BABY
I was looking at the openssl 1.0.2j code and trying to find how it resolves the dns domain name IP address from name. 1. Does it use the OS supported utilities like nslookup, gethostip etc? 2. Do we need a recursive dns server IP address to define in resolv.conf? 3. Can I know the APIs and files

build error

2020-07-18 Thread SIMON BABY
Hi, I am getting the below build error with latest openssl 1.1.1g version. Can someone please help to resolve this issue? ERROR: Failure expanding variable None, expression was libcrypto libssl openssl-conf openssl-engines openssl-misc ${@bb.utils.contains('PTEST_ENABLED', '1', 'openssl-ptest',

Query on openssl-1.1.0h build error

2020-07-16 Thread SIMON BABY
Hello, I am working for a project which has dependency on openssl library. When I try to build the openssl package with below bit bake recipe (got from open embedded yocto ) it is failing with below errors.Could you please help to resolve my issue.