Hi,
I have a requirement to parse the author certificate to get the fields like Issuer name and other contents. I have written a sample app to get the Certificate contents using Tizen::Security::Cert namespace and X509Certificate class. It was done referring this link. https://developer.tizen.org/dev-guide/2.2.0/org.tizen.native.appprogramm ing/html/tutorials/security_tutorial/extracting_cert_info.htm The author certificate was created using certificate-generator tool inside tizen sdk which was stored in a test.p12 file. This was given as the input file in the X509Certificate construct function. But when running the app, it is showing errors like "Failed to Parse the certificate", "Failed to Decode Certificate". When I used a sample certificate (encoded .der file) present n tizen sdk, I was able to get the contents. What am I doing wrong here? Is the p12 file the correct certificate file to be used to decode the contents or should I create a .der or .cer certificate from .p12 file? Thanks in advance. ***** Confidentiality Statement/Disclaimer ***** This message and any attachments is intended for the sole use of the intended recipient. It may contain confidential information. Any unauthorized use, dissemination or modification is strictly prohibited. If you are not the intended recipient, please notify the sender immediately then delete it from all your systems, and do not copy, use or print. Internet communications are not secure and it is the responsibility of the recipient to make sure that it is virus/malicious code exempt. The company/sender cannot be responsible for any unauthorized alterations or modifications made to the contents. If you require any form of confirmation of the contents, please contact the company/sender. The company/sender is not liable for any errors or omissions in the content of this message.
_______________________________________________ General mailing list [email protected] https://lists.tizen.org/listinfo/general
