Skip to content

SealPolicy

Namespace Nfty.Core.Publish in assembly Nfty.Core.

public record SealPolicy

What a sealed export permits its recipient to do. Written into the seal header in the clear, and bound to the passphrase by SealManifest.PolicyMac.

Constructors

SealPolicy(bool, bool)

public SealPolicy(bool AllowExport, bool AllowEdit);

Parameters

  • AllowExport (bool) - Whether nfty will write the assets back out of the seal. False is the point of the feature.
  • AllowEdit (bool) - Whether nfty will let the contents be modified in place.

Properties

AllowEdit

public bool AllowEdit { get; init; }

Whether nfty will let the contents be modified in place.

AllowExport

public bool AllowExport { get; init; }

Whether nfty will write the assets back out of the seal. False is the point of the feature.

ViewOnly

public static SealPolicy ViewOnly { get; }

The policy a "share this for critique" seal carries: look, do not take.