Providing Uint8Array in .0.certificate gives error
Reported by
dsarasw...@airwatchpmqa.com,
Mar 22 2016
|
|
Issue description
UserAgent: Mozilla/5.0 (X11; CrOS armv7l 7647.84.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36
Platform: chrome.certificateProvider input issues
Steps to reproduce the problem:
1. listen for certificatesRequested API.
2. In the event handler, follow the API documentation, while sending the certificate, the format of callback param is
[
{
certificate: <new Uint8Array() binary certificate>,
supportedHashes: ['sha256']
}
]
3.
What is the expected behavior?
The certificate should be accepted and the user should be prompted for the certificate selection process.
What went wrong?
Error for the expected certificate.
Please find the error logs attached.
WebStore page:
Did this work before? N/A
Chrome version: 48.0.2564.116 Channel: n/a
OS Version: 7647.84.0
Flash Version: Shockwave Flash 20.0 r0
I need help on how to pass the certificate to the OS. A demo code should be enough to point me where I am making the mistake or is it something with Chrome OS or the documentation.
|
|
►
Sign in to add a comment |
|
Comment 1 by sheriffbot@chromium.org
, Mar 22 2017