You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/components/validation/CertificateChain.vue
+86-43Lines changed: 86 additions & 43 deletions
Original file line number
Diff line number
Diff line change
@@ -8,12 +8,15 @@
8
8
class="extra"
9
9
compact
10
10
role="button"
11
+
:aria-expanded="chainOpen ? 'true' : 'false'"
11
12
@click="chainOpen = !chainOpen">
12
13
<template #name>
14
+
<!-- TRANSLATORS: "Certificate chain" is the sequence of digital identity cards that prove who signed the document — starting with the signer's own certificate and going up to the authority that vouches for everyone (the root CA). Like a chain of trust: "I trust you because this institution trusts you." -->
<!-- TRANSLATORS: Label read aloud by screen readers (for blind users) when they navigate into this section. It is not visible on screen. Describes the area that shows the certificate chain (the sequence of digital identity cards behind the signature) -->
<!-- TRANSLATORS: Label shown next to the name of the organization or authority (Certificate Authority, CA) that issued and digitally signed the certificate, vouching for authenticity. Like the government agency that issues a passport. -->
44
+
<dt>{{ t('libresign', 'Issued by:') }}</dt>
45
+
<dd>{{ cert.issuer.CN }}</dd>
46
+
</div>
47
+
<divv-if="cert.serialNumber"class="cert-field">
48
+
<!-- TRANSLATORS: Label shown next to the unique number assigned to a certificate by the issuing authority (CA), used to identify and, if necessary, revoke it. Like a passport number — every certificate has a different one. -->
<!-- TRANSLATORS: Label shown next to the date and time from which a certificate becomes valid. Before that date the certificate cannot be trusted, even if it looks genuine. -->
// TRANSLATORS: Button label read by screen readers. Clicking it hides the list of certificates in the trust chain (the digital identity cards behind the signature)
// TRANSLATORS: Button label read by screen readers. Clicking it reveals the list of certificates in the trust chain (the digital identity cards behind the signature)
121
+
returnt('libresign', 'Expand certificate chain')
122
+
},
123
+
getCertItemLabel(certIndex) {
124
+
if (certIndex ===0) {
125
+
// TRANSLATORS: Label read by screen readers to identify the first certificate — the one belonging to the person who actually signed the document
126
+
returnt('libresign', 'Signer certificate')
127
+
}
128
+
// TRANSLATORS: Label read by screen readers to identify additional certificates higher up in the trust chain. {index} is a number starting at 2 (e.g. "Certificate 2" is the issuing authority of the signer, "Certificate 3" is the authority above that, and so on)
// TRANSLATORS: Label shown next to the name of the person or entity who signed the document. Their identity is proven by their certificate.
134
+
returnt('libresign', 'Signer:')
135
+
}
136
+
// TRANSLATORS: Label shown next to the name of the Certificate Authority (CA) that issued the certificate above it in the chain. A CA is an organization trusted to verify and certify digital identities, like a notary or government agency.
0 commit comments