15 references to SignaturePolicy
PresentationUI (15)
MS\Internal\Documents\DocumentSignatureManager.cs (15)
93SignaturePolicy calcSigPolicy = SignaturePolicy.AllowSigning | 94SignaturePolicy.ModifyDocumentProperties; 108calcSigPolicy = SignaturePolicy.AllowNothing; 157if (!IsAllowedByPolicy(calcSigPolicy, SignaturePolicy.ModifyDocumentProperties) && 972private static SignaturePolicy AddRestrictionsFromSignature(SignaturePolicy calcSigPolicy, DigitalSignature digSig) 975IsAllowedByPolicy(calcSigPolicy, SignaturePolicy.ModifyDocumentProperties)) 977calcSigPolicy ^= SignaturePolicy.ModifyDocumentProperties; 981IsAllowedByPolicy(calcSigPolicy, SignaturePolicy.AllowSigning)) 983calcSigPolicy ^= SignaturePolicy.AllowSigning; 996private static bool IsAllowedByPolicy(SignaturePolicy policy, SignaturePolicy action) 1326return IsAllowedByPolicy(_signaturePolicy, SignaturePolicy.AllowSigning); 1350private SignaturePolicy _signaturePolicy;