54 references to SignatureStatus
PresentationUI (54)
MS\Internal\Documents\Application\StatusInfoItem.cs (1)
118if (args.SignatureStatus != SignatureStatus.NotSigned)
MS\Internal\Documents\DigitalSignature.cs (2)
34internal SignatureStatus SignatureState 198private SignatureStatus _signatureState;
MS\Internal\Documents\DigitalSignatureProvider.cs (13)
97if (digitalSignature.SignatureState == SignatureStatus.NotSigned) 150digitalSignature.SignatureState = SignatureStatus.Valid; 198digitalSignature.SignatureState = SignatureStatus.NotSigned; 228if (signature.SignatureState == SignatureStatus.NotSigned) 269signature.SignatureState = SignatureStatus.NotSigned; 500digitalSignature.SignatureState = SignatureStatus.Unknown; 545SignatureState = 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)
92SignatureStatus calcSigStatus = SignatureStatus.Unknown; 101calcSigStatus = SignatureStatus.NotSigned; 107calcSigStatus = SignatureStatus.Undetermined; 127digitalSignature.SignatureState = SignatureStatus.Unverifiable; 139(digitalSignature.SignatureState == SignatureStatus.Valid) && 152(digitalSignature.SignatureState == SignatureStatus.NotSigned)); 168digitalSignature.SignatureState = SignatureStatus.Invalid; 176calcSigStatus = SignatureStatus.Valid; 180calcSigStatus = SignatureStatus.Invalid; 185calcSigStatus != SignatureStatus.Unknown, 545bool notSigned = digSig.SignatureState == SignatureStatus.NotSigned; 680signature.SignatureState = SignatureStatus.Invalid; 714if (digSig.SignatureState == SignatureStatus.NotSigned) 792SignatureState = SignatureStatus.NotSigned, 1093if (digitalSignature.SignatureState == SignatureStatus.NotSigned || 1119private void OnSignatureStatusChange(SignatureStatus newStatus) 1414SignatureStatus signatureStatus, 1433public SignatureStatus SignatureStatus 1455private SignatureStatus _signatureStatus;
MS\Internal\Documents\SignatureResourceHelper.cs (18)
33SignatureStatus status) 40case SignatureStatus.Valid: 44case SignatureStatus.Invalid: 48case SignatureStatus.NotSigned: 75SignatureStatus sigStatus, 82if ((sigStatus == SignatureStatus.Valid) && (certStatus != CertificatePriorityStatus.Ok)) 84sigStatus = SignatureStatus.Invalid; 136private static DrawingBrush GetDrawingBrushFromStatus(SignatureStatus sigStatus) 141SignatureStatus[] statusList = Enum.GetValues<SignatureStatus>(); 200case SignatureStatus.Valid: 201case SignatureStatus.Invalid: 202case SignatureStatus.Unverifiable: 205!(signature.SignatureState == SignatureStatus.Valid && signature.Certificate == null), 234case SignatureStatus.NotSigned: 292private static string GetSignatureSummaryMessage(SignatureStatus sigStatus, CertificatePriorityStatus certStatus) 296if (sigStatus == SignatureStatus.Valid) 302else if (sigStatus == SignatureStatus.Unverifiable)