15 references to SignaturePolicy
PresentationUI (15)
MS\Internal\Documents\DocumentSignatureManager.cs (15)
97SignaturePolicy calcSigPolicy = SignaturePolicy.AllowSigning | 98SignaturePolicy.ModifyDocumentProperties; 112calcSigPolicy = SignaturePolicy.AllowNothing; 161if (!IsAllowedByPolicy(calcSigPolicy, SignaturePolicy.ModifyDocumentProperties) && 975private static SignaturePolicy AddRestrictionsFromSignature(SignaturePolicy calcSigPolicy, DigitalSignature digSig) 978IsAllowedByPolicy(calcSigPolicy, SignaturePolicy.ModifyDocumentProperties)) 980calcSigPolicy ^= SignaturePolicy.ModifyDocumentProperties; 984IsAllowedByPolicy(calcSigPolicy, SignaturePolicy.AllowSigning)) 986calcSigPolicy ^= SignaturePolicy.AllowSigning; 999private static bool IsAllowedByPolicy(SignaturePolicy policy, SignaturePolicy action) 1328return IsAllowedByPolicy(_signaturePolicy, SignaturePolicy.AllowSigning); 1352private SignaturePolicy _signaturePolicy;