Class VerificationPolicy
Namespace: DotBoxD.Kernels.Verifier
Assembly: DotBoxD.Kernels.Verifier.dll
public sealed record VerificationPolicy : IEquatable<VerificationPolicy>Inheritance
Section titled “Inheritance”Implements
Section titled “Implements”IEquatable<VerificationPolicy>
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”VerificationPolicy(IReadOnlySet<string>, IReadOnlySet<string>, IReadOnlySet<string>, IReadOnlySet<string>, IReadOnlySet<string>, IReadOnlySet<string>, string, VerificationManifestIdentity?)
Section titled “ VerificationPolicy(IReadOnlySet<string>, IReadOnlySet<string>, IReadOnlySet<string>, IReadOnlySet<string>, IReadOnlySet<string>, IReadOnlySet<string>, string, VerificationManifestIdentity?)”public VerificationPolicy(IReadOnlySet<string> AllowedAssemblies, IReadOnlySet<string> AllowedAssemblyIdentities, IReadOnlySet<string> AllowedTypes, IReadOnlySet<string> AllowedMembers, IReadOnlySet<string> ForbiddenTypePrefixes, IReadOnlySet<string> RuntimeFacadeIdentities, string VerifierVersion, VerificationManifestIdentity? ExpectedManifestIdentity = null)Parameters
Section titled “Parameters”AllowedAssemblies IReadOnlySet<string>
AllowedAssemblyIdentities IReadOnlySet<string>
AllowedTypes IReadOnlySet<string>
AllowedMembers IReadOnlySet<string>
ForbiddenTypePrefixes IReadOnlySet<string>
RuntimeFacadeIdentities IReadOnlySet<string>
VerifierVersion string
ExpectedManifestIdentity VerificationManifestIdentity?
Properties
Section titled “Properties”AllowedAssemblies
Section titled “ AllowedAssemblies”public IReadOnlySet<string> AllowedAssemblies { get; init; }Property Value
Section titled “Property Value”AllowedAssemblyIdentities
Section titled “ AllowedAssemblyIdentities”public IReadOnlySet<string> AllowedAssemblyIdentities { get; init; }Property Value
Section titled “Property Value”AllowedMembers
Section titled “ AllowedMembers”public IReadOnlySet<string> AllowedMembers { get; init; }Property Value
Section titled “Property Value”AllowedTypes
Section titled “ AllowedTypes”public IReadOnlySet<string> AllowedTypes { get; init; }Property Value
Section titled “Property Value”AllowlistHash
Section titled “ AllowlistHash”public string AllowlistHash { get; }Property Value
Section titled “Property Value”ExpectedManifestIdentity
Section titled “ ExpectedManifestIdentity”public VerificationManifestIdentity? ExpectedManifestIdentity { get; init; }Property Value
Section titled “Property Value”ForbiddenTypePrefixes
Section titled “ ForbiddenTypePrefixes”public IReadOnlySet<string> ForbiddenTypePrefixes { get; init; }Property Value
Section titled “Property Value”RuntimeFacadeHash
Section titled “ RuntimeFacadeHash”public string RuntimeFacadeHash { get; }Property Value
Section titled “Property Value”RuntimeFacadeIdentities
Section titled “ RuntimeFacadeIdentities”public IReadOnlySet<string> RuntimeFacadeIdentities { get; init; }Property Value
Section titled “Property Value”VerifierVersion
Section titled “ VerifierVersion”public string VerifierVersion { get; init; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”BoxedValueDefaults()
Section titled “ BoxedValueDefaults()”public static VerificationPolicy BoxedValueDefaults()Returns
Section titled “Returns”IsMemberAllowed(string)
Section titled “ IsMemberAllowed(string)”public bool IsMemberAllowed(string memberSignature)Parameters
Section titled “Parameters”memberSignature string
Returns
Section titled “Returns”WithExpectedManifest(VerificationManifestIdentity)
Section titled “ WithExpectedManifest(VerificationManifestIdentity)”public VerificationPolicy WithExpectedManifest(VerificationManifestIdentity identity)Parameters
Section titled “Parameters”identity VerificationManifestIdentity