@page "/certificates" @attribute [Authorize(Policy = AdminUiPolicies.AuthenticatedRead)] @rendermode RenderMode.InteractiveServer @using System.Security.Cryptography.X509Certificates @using Microsoft.Extensions.Configuration @using Microsoft.AspNetCore.Components.Authorization @using ZB.MOM.WW.OtOpcUa.AdminUI.Certificates @inject IConfiguration Config @inject CertificateStoreManager CertManager @inject Microsoft.AspNetCore.Authorization.IAuthorizationService AuthorizationService @inject AuthenticationStateProvider AuthState @implements IDisposable
Loading…
} else { @if (_statusMsg is not null) {| Subject | Issuer | Thumbprint | Not before | Not after | @if (store.Kind is StoreKind.Trusted or StoreKind.Rejected) {Actions | }
|---|---|---|---|---|---|
| @DisplayText.Abbreviate(c.Subject, 48) | @DisplayText.Abbreviate(c.Issuer, 48) | @DisplayText.Abbreviate(c.Thumbprint, 16) | @c.NotBefore.ToString("u") | @c.NotAfter.ToString("u") | @if (store.Kind is StoreKind.Trusted or StoreKind.Rejected) {
@if (store.Kind == StoreKind.Rejected)
{
}
else
{
}
|
}