blob: 8f8c07c9e4517b3039e715c285ce399c629c9c7f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace System.Security.Policy {
/// <summary>
/// Interface for evidence objects that support being "unverified". For instance, StrongName
/// evidence for a strong name signature which was not yet verified. This interface is used to
/// keep track of weather or not the evidence object was needed to compute a grant set. If it was,
/// then we can force verificaiton of the evidence object -- if not we can save time by not doing
/// any verification on it. (Since we didn't use it for policy resolution, it wouldn't have
/// mattered if the evidence was not present in the first place).
/// </summary>
internal interface IDelayEvaluatedEvidence {
/// <summary>
/// Is this evidence object verified yet?
/// </summary>
bool IsVerified
{
get;
}
/// <summary>
/// Was this evidence object used during the course of policy evaluation?
/// </summary>
bool WasUsed { get; }
/// <summary>
/// Mark the object as used
/// </summary>
void MarkUsed();
}
}
|