Class SizeConstraint

java.lang.Object
com.oss.metadata.Constraints
com.oss.metadata.SizeConstraint

public class SizeConstraint extends Constraints
The SizeConstraint class represents an ASN.1 size constraint. For example the following size constraint would be represented as a SizeConstraint which contains a Union constraint which contains an array of Constraints of SingleValueConstraints. Each SingleValueConstraint for this example is an INTEGER:
    PrintableString (SIZE(1 | 3 | 6))
Since:
ASN.1/Java 2.1
  • Method Details

    • getConstraints

      public Constraints getConstraints()
      Returns the Constraints which represent the values within the size constraint
      Returns:
      bounds