Class ExtensibleConstraint

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

public class ExtensibleConstraint extends Constraints
The ExtensibleConstraint class represents the ASN.1 extensible constraint in two pieces: as a root constraint (the constraints prior to the extension marker) and an extension constraint (the constraints after the extension marker). The following example shows that size 1 to 10 are the root constraint and size 200 is the extension constraint:
    A ::= OCTET STRING (SIZE(1..10,...,200)
    
Since:
ASN.1/Java 2.1
  • Method Details

    • getRootConstraints

      public Constraints getRootConstraints()
      Return the root constraint of the extensible constraint
      Returns:
      root constraints
    • getExtensionConstraints

      public Constraints getExtensionConstraints()
      Return the extension constraint of the extensible constraint
      Returns:
      extension constraints