Package land.oras.policy
package land.oras.policy
-
ClassDescriptionRepresents the containers trust policy loaded from a
policy.jsonfile.Carries the data aPolicyRequirementneeds to evaluate an image.A single requirement entry inside a containers policy scope.Accept any image unconditionally – no signature or digest verification is performed.Reject every image unconditionally.Require a GPG "simple signing" signature.Require a valid keyed Sigstore/Cosign signature attached to the image as an OCI referrer.Supplies the raw signature artifacts attached to an image so that policy requirements can verify them without theland.oras.policypackage depending on the registry implementation.The transport of a containers policy scope This SDK only operates on registry images, so only the"docker"