Class NameConstraintsExtension.GeneralSubtree

    • Constructor Detail

      • GeneralSubtree

        public GeneralSubtree​(GeneralName base,
                              int minimumDistance,
                              int maximumDistance)
        Construct a new instance.
        base - the base name (must not be null)
        minimumDistance - the minimum distance (must be >= 0)
        maximumDistance - the maximum distance (must be -1 indicating "not specified" or >= minimumDistance)
    • Method Detail

      • encodeTo

        public void encodeTo​(ASN1Encoder encoder)
        Description copied from interface: ASN1Encodable
        Encode this object.
        Specified by:
        encodeTo in interface ASN1Encodable
        encoder - the encoder (must not be null)