37 references to CertificatePriorityStatus
PresentationUI (37)
MS\Internal\Documents\DigitalSignatureProvider.cs (11)
335
IDictionary<X509Certificate2,
CertificatePriorityStatus
> IDigitalSignatureProvider.GetCertificateStatus(
338
Dictionary<X509Certificate2,
CertificatePriorityStatus
> certificateStatusTable =
339
new Dictionary<X509Certificate2,
CertificatePriorityStatus
>();
597
private static
CertificatePriorityStatus
GetCertificateStatus(X509Certificate2 certificate)
600
CertificatePriorityStatus
certificatePriorityStatus =
CertificatePriorityStatus
.Corrupted;
622
certificatePriorityStatus =
CertificatePriorityStatus
.CannotBeVerified;
627
certificatePriorityStatus =
CertificatePriorityStatus
.IssuerNotTrusted;
632
certificatePriorityStatus =
CertificatePriorityStatus
.Revoked;
637
certificatePriorityStatus =
CertificatePriorityStatus
.Expired;
642
certificatePriorityStatus =
CertificatePriorityStatus
.Ok;
MS\Internal\Documents\DocumentSignatureManager.cs (9)
144
(GetCertificateStatusFromTable(digitalSignature) ==
CertificatePriorityStatus
.Ok);
220
new Dictionary<X509Certificate2,
CertificatePriorityStatus
>();
582
_certificateStatusTable.Add(digSig.Certificate,
CertificatePriorityStatus
.Ok);
1087
private
CertificatePriorityStatus
GetCertificateStatusFromTable(DigitalSignature digitalSignature)
1089
CertificatePriorityStatus
certificatePriorityStatus =
CertificatePriorityStatus
.Corrupted;
1098
certificatePriorityStatus =
CertificatePriorityStatus
.NoCertificate;
1104
certificatePriorityStatus =
CertificatePriorityStatus
.Verifying;
1361
private IDictionary<X509Certificate2,
CertificatePriorityStatus
> _certificateStatusTable;
MS\Internal\Documents\IDigitalSignatureProvider.cs (1)
46
IDictionary<X509Certificate2,
CertificatePriorityStatus
> GetCertificateStatus(IList<X509Certificate2> certificates);
MS\Internal\Documents\SignatureResourceHelper.cs (16)
81
CertificatePriorityStatus
certStatus)
87
if ((sigStatus == SignatureStatus.Valid) && (certStatus !=
CertificatePriorityStatus
.Ok))
106
internal static SignatureResources GetResources(DigitalSignature signature,
CertificatePriorityStatus
certStatus)
189
private static string GetSummaryMessage(DigitalSignature signature,
CertificatePriorityStatus
certStatus)
220
if (certStatus !=
CertificatePriorityStatus
.Ok)
257
private static string GetCertificateSummaryMessage(
CertificatePriorityStatus
certStatus)
262
case
CertificatePriorityStatus
.Ok :
265
case
CertificatePriorityStatus
.Corrupted :
268
case
CertificatePriorityStatus
.CannotBeVerified :
271
case
CertificatePriorityStatus
.IssuerNotTrusted :
274
case
CertificatePriorityStatus
.Revoked :
277
case
CertificatePriorityStatus
.Expired :
280
case
CertificatePriorityStatus
.NoCertificate :
283
case
CertificatePriorityStatus
.Verifying :
297
private static string GetSignatureSummaryMessage(SignatureStatus sigStatus,
CertificatePriorityStatus
certStatus)
303
message = (certStatus ==
CertificatePriorityStatus
.Ok) ?