54 references to SignatureStatus
PresentationUI (54)
MS\Internal\Documents\Application\StatusInfoItem.cs (1)
121if (args.SignatureStatus != SignatureStatus.NotSigned)
MS\Internal\Documents\DigitalSignature.cs (2)
37internal SignatureStatus SignatureState 201private SignatureStatus _signatureState;
MS\Internal\Documents\DigitalSignatureProvider.cs (13)
101if (digitalSignature.SignatureState == SignatureStatus.NotSigned) 154digitalSignature.SignatureState = SignatureStatus.Valid; 201digitalSignature.SignatureState = SignatureStatus.NotSigned; 231if (signature.SignatureState == SignatureStatus.NotSigned) 272signature.SignatureState = SignatureStatus.NotSigned; 502digitalSignature.SignatureState = SignatureStatus.Unknown; 546digitalSignature.SignatureState = SignatureStatus.NotSigned; 565private static SignatureStatus VerifyXpsDigitalSignature(XpsDigitalSignature xpsDigitalSignature) 567SignatureStatus status = SignatureStatus.Unknown; 574status = SignatureStatus.Valid; 580status = SignatureStatus.NotSigned; 586status = SignatureStatus.Invalid;
MS\Internal\Documents\DocumentSignatureManager.cs (20)
96SignatureStatus calcSigStatus = SignatureStatus.Unknown; 105calcSigStatus = SignatureStatus.NotSigned; 111calcSigStatus = SignatureStatus.Undetermined; 131digitalSignature.SignatureState = SignatureStatus.Unverifiable; 143(digitalSignature.SignatureState == SignatureStatus.Valid) && 156(digitalSignature.SignatureState == SignatureStatus.NotSigned)); 172digitalSignature.SignatureState = SignatureStatus.Invalid; 180calcSigStatus = SignatureStatus.Valid; 184calcSigStatus = SignatureStatus.Invalid; 189calcSigStatus != SignatureStatus.Unknown, 549bool notSigned = digSig.SignatureState == SignatureStatus.NotSigned; 684signature.SignatureState = SignatureStatus.Invalid; 718if (digSig.SignatureState == SignatureStatus.NotSigned) 796digSigRequest.SignatureState = SignatureStatus.NotSigned; 1095if (digitalSignature.SignatureState == SignatureStatus.NotSigned || 1121private void OnSignatureStatusChange(SignatureStatus newStatus) 1416SignatureStatus signatureStatus, 1435public SignatureStatus SignatureStatus 1457private SignatureStatus _signatureStatus;
MS\Internal\Documents\SignatureResourceHelper.cs (18)
38SignatureStatus status) 45case SignatureStatus.Valid: 49case SignatureStatus.Invalid: 53case SignatureStatus.NotSigned: 80SignatureStatus sigStatus, 87if ((sigStatus == SignatureStatus.Valid) && (certStatus != CertificatePriorityStatus.Ok)) 89sigStatus = SignatureStatus.Invalid; 141private static DrawingBrush GetDrawingBrushFromStatus(SignatureStatus sigStatus) 146SignatureStatus[] statusList = Enum.GetValues<SignatureStatus>(); 205case SignatureStatus.Valid: 206case SignatureStatus.Invalid: 207case SignatureStatus.Unverifiable: 210!(signature.SignatureState == SignatureStatus.Valid && signature.Certificate == null), 239case SignatureStatus.NotSigned: 297private static string GetSignatureSummaryMessage(SignatureStatus sigStatus, CertificatePriorityStatus certStatus) 301if (sigStatus == SignatureStatus.Valid) 307else if (sigStatus == SignatureStatus.Unverifiable)