Class Hash


  • @MetaschemaField(formalName="Hash",
                     description="A representation of a cryptographic digest generated over a resource using a specified hash algorithm.",
                     name="hash",
                     metaschema=OscalMetadataMetaschema.class,
                     isCollapsible=false)
    @Matches(level=ERROR,target=".[@algorithm=(\'SHA-224\',\'SHA3-224\')]",pattern="^[0-9a-fA-F]{28}$") @Matches(level=ERROR,target=".[@algorithm=(\'SHA-256\',\'SHA3-256\')]",pattern="^[0-9a-fA-F]{32}$") @Matches(level=ERROR,target=".[@algorithm=(\'SHA-384\',\'SHA3-384\')]",pattern="^[0-9a-fA-F]{48}$") @Matches(level=ERROR,target=".[@algorithm=(\'SHA-512\',\'SHA3-512\')]",pattern="^[0-9a-fA-F]{64}$")
    public class Hash
    extends Object
    A representation of a cryptographic digest generated over a resource using a specified hash algorithm.