mirror of
https://github.com/nsacyber/HIRS.git
synced 2024-12-18 20:47:58 +00:00
Changes to UI and hint text
This commit is contained in:
parent
254f4ca22f
commit
c2de61ce76
@ -547,6 +547,14 @@ public final class CertificateStringMapBuilder {
|
||||
|
||||
if (certificate.getHwType() != null) {
|
||||
data.put("hwType", certificate.getHwType());
|
||||
String hwTypeReadable;
|
||||
if (certificate.hasTCGOIDs()) {
|
||||
hwTypeReadable = "TPM-Bound IDevID";
|
||||
}
|
||||
else {
|
||||
hwTypeReadable = "Manufacturer Specific";
|
||||
}
|
||||
data.put("hwTypeReadable", hwTypeReadable);
|
||||
}
|
||||
|
||||
if (certificate.getHwSerialNum() != null) {
|
||||
|
@ -121,17 +121,17 @@
|
||||
<c:when test="${not empty initialData.ekCertificateDigest}">
|
||||
<div class="col-md-1 col-md-offset-1"><span class="colHeader help-text" title="Defined in RFC 4108, and contained in the Subject Alternate Name. This certificate is also TCG-compliant for this field, indicated by the use of a TCG OID for Hardware Type.">Hardware Module Name</span></div>
|
||||
<div class="col col-md-8">
|
||||
<div><span class="help-text" title="Contains an OID that, in conjunction with the Hardware Serial Number, identifies the device's hardware module. This certificate is using a TCG OID, indicating the use of a Trusted Platform Module. OID value: ${initialData.hwType}">Hardware Type</span>: <span id="hwType">${initialData.hwType}</span></div>
|
||||
<div><span class="help-text" title="Contains an OID that, in conjunction with the Hardware Serial Number, identifies the device's hardware module. This certificate is using a TCG OID, indicating the use of a Trusted Platform Module. OID value: ${initialData.hwType}">Hardware Type</span>: <span id="hwTypeReadable">${initialData.hwTypeReadable}</span></div>
|
||||
<div><span class="help-text" title="TCG-compliant: the device's TPM does not contain an EK certificate, and the Hardware Serial Number represents a digest of the EK Certificate public key. See TCG specification titled "TPM 2.0 Keys for Device Identity and Attestation".">Hardware Serial Number</span>:</div>
|
||||
<ul>
|
||||
<li>EK Certificate Digest: <span id="hwSerialNum">${initialData.hwSerialNum}</span></li>
|
||||
<li>EK Certificate Public Key: <span id="hwSerialNum">${initialData.hwSerialNum}</span></li>
|
||||
</ul>
|
||||
</div>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<div class="col-md-1 col-md-offset-1"><span class="colHeader help-text" title="Defined in RFC 4108, and contained in the Subject Alternate Name. This certificate is not using a TCG OID for Hardware Type, so these fields may have manufacturer-specific context.">Hardware Module Name</span></div>
|
||||
<div class="col col-md-8">
|
||||
<div><span class="help-text" title="Contains an OID that, in conjunction with the Hardware Serial Number, identifies the device's hardware module. This certificate is using a non-TCG OID, possibly indicating manufacturer-specific context. OID value: ${initialData.hwType}">Hardware Type</span>: <span id="hwType">${initialData.hwType}</span></div>
|
||||
<div><span class="help-text" title="Contains an OID that, in conjunction with the Hardware Serial Number, identifies the device's hardware module. This certificate is using a non-TCG OID, possibly indicating manufacturer-specific context. OID value: ${initialData.hwType}">Hardware Type</span>: <span id="hwTypeReadable">${initialData.hwTypeReadable}</span></div>
|
||||
<div><span class="help-text" title="Used for identifying the device's hardware module. This field may have manufacturer-specific context.">Hardware Serial Number</span>: <span id="hwSerialNum">${initialData.hwSerialNum}</span></div>
|
||||
</div>
|
||||
</c:otherwise>
|
||||
@ -142,7 +142,7 @@
|
||||
<div class="row">
|
||||
<div class="col-md-1 col-md-offset-1"><span class="colHeader help-text" title="Defined in RFC 4108, and contained in the Subject Alternate Name. This certificate is also TCG-compliant for this field, indicated by the use of a TCG OID for Hardware Type.">Hardware Module Name</span></div>
|
||||
<div class="col col-md-8">
|
||||
<div><span class="help-text" title="Contains an OID that, in conjunction with the Hardware Serial Number, identifies the device's hardware module. This certificate is using a TCG OID, indicating the use of a Trusted Platform Module. OID value: ${initialData.hwType}">Hardware Type</span>: <span id="hwType">${initialData.hwType}</span></div>
|
||||
<div><span class="help-text" title="Contains an OID that, in conjunction with the Hardware Serial Number, identifies the device's hardware module. This certificate is using a TCG OID, indicating the use of a Trusted Platform Module. OID value: ${initialData.hwType}">Hardware Type</span>: <span id="hwTypeReadable">${initialData.hwTypeReadable}</span></div>
|
||||
<div><span class="help-text" title="TCG-compliant: the device's TPM contains an EK certificate, and the below fields are parsed accordingly from the Hardware Serial Number. See TCG specification titled "TPM 2.0 Keys for Device Identity and Attestation".">Hardware Serial Number</span>:
|
||||
<ul>
|
||||
<li>TCG TPM Manufacturer Code: <span id="tcgTpmManufacturer">${initialData.tcgTpmManufacturer}</span></li>
|
||||
@ -930,7 +930,7 @@
|
||||
<c:choose>
|
||||
<c:when test="${not empty initialData.tpmPolicies}">
|
||||
<div class="row">
|
||||
<div class="col-md-1 col-md-offset-1"><span class="colHeader help-text" title="TPM verification policies, as defined in the TCG specification "TPM 2.0 Keys for Device Identity and Attestation".">TPM Policies ⓘ</span></div>
|
||||
<div class="col-md-1 col-md-offset-1"><span class="colHeader help-text" title="TPM verification policies, as defined in the TCG specification "TPM 2.0 Keys for Device Identity and Attestation".">TPM Policies</span></div>
|
||||
<div id="tpmPolicies" class="col col-md-8 vertical">${initialData.tpmPolicies}</div>
|
||||
</div>
|
||||
</c:when>
|
||||
|
Loading…
Reference in New Issue
Block a user