Class BasicConstraintsExtension

    • Field Detail

      • ca

        private final boolean ca
      • pathLenConstraint

        private final int pathLenConstraint
    • Constructor Detail

      • BasicConstraintsExtension

        public BasicConstraintsExtension​(boolean critical,
                                         boolean ca,
                                         int pathLenConstraint)
        Construct a new instance.
        Parameters:
        critical - true to mark this extension as critical, false otherwise
        ca - true to assert that the subject is a CA, false otherwise
        pathLenConstraint - if ca is true and this value is not less than zero, specify the path length constraint (otherwise ignored)