Check-in [188c4d598f]
Overview
SHA1:188c4d598f249848e81e06b7dd69b14ff5c65195
Date: 2016-03-08 21:02:46
User: rkeene
Comment:ChromeOS: Added support for informing the user if we are a certificate provider or not
Timelines: family | ancestors | descendants | both | trunk
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2016-03-09
04:30
[64c4c68fa6] ChromeOS: Added support for listing smartcard readers (user: rkeene, tags: trunk)
2016-03-08
21:02
[188c4d598f] ChromeOS: Added support for informing the user if we are a certificate provider or not (user: rkeene, tags: trunk)
2016-03-01
03:10
[a7016d7084] ChromeOS: Updated to forget PINs that have not been used recently (user: rkeene, tags: trunk)
Changes

Modified build/chrome/ui.html from [22195d78ea] to [cc97e7803b].

2
3
4
5
6
7
8

9
10
11
	<head>
		<title>CACKey</title>
		<script type="text/javascript" src="jsrsasign.js"></script>
		<script type="text/javascript" src="ui.js"></script>
	</head>
	<body>
		<h1>CACKey for Chrome</h1>

		<div>Certificates: <span id="certificates"></span></div>
	</body>
</html>







>



2
3
4
5
6
7
8
9
10
11
12
	<head>
		<title>CACKey</title>
		<script type="text/javascript" src="jsrsasign.js"></script>
		<script type="text/javascript" src="ui.js"></script>
	</head>
	<body>
		<h1>CACKey for Chrome</h1>
		<div>Certificate Provider: <span id="certificate_provider"></span></div>
		<div>Certificates: <span id="certificates"></span></div>
	</body>
</html>

Modified build/chrome/ui.js from [213cbbd233] to [2cf5ac6095].

57
58
59
60
61
62
63














64
65
66

67
		globalCerts = certs;

		displayCerts(htmlObject, certs);
	});

	return;
}















setTimeout(function() {
	updateCertificates(document.getElementById('certificates'));

}, 1);







>
>
>
>
>
>
>
>
>
>
>
>
>
>



>

57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
		globalCerts = certs;

		displayCerts(htmlObject, certs);
	});

	return;
}

function updateCertificateProvider(htmlObject) {
	var resultHTML;

	if (chrome.certificateProvider) {
		resultHTML = "Yes (ChromeOS)";
	} else {
		resultHTML = "<b>No, informational only.</b>";
	}

	htmlObject.innerHTML = resultHTML;

	return;
}

setTimeout(function() {
	updateCertificates(document.getElementById('certificates'));
	updateCertificateProvider(document.getElementById('certificate_provider'));
}, 1);