Package org.wildfly.security.x500.cert
Class NameConstraintsExtension.GeneralSubtree
- java.lang.Object
-
- org.wildfly.security.x500.cert.NameConstraintsExtension.GeneralSubtree
-
- All Implemented Interfaces:
ASN1Encodable
- Enclosing class:
- NameConstraintsExtension
public static final class NameConstraintsExtension.GeneralSubtree extends Object implements ASN1Encodable
A general subtree for a name constraint.
-
-
Constructor Summary
Constructors Constructor Description GeneralSubtree(GeneralName base, int minimumDistance, int maximumDistance)
Construct a new instance.
-
-
-
Constructor Detail
-
GeneralSubtree
public GeneralSubtree(GeneralName base, int minimumDistance, int maximumDistance)
Construct a new instance.- Parameters:
base
- the base name (must not benull
)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 interfaceASN1Encodable
- Parameters:
encoder
- the encoder (must not benull
)
-
-