org.bouncycastle.asn1.x509
public class BasicConstraints extends ASN1Encodable
| Constructor Summary | |
|---|---|
| BasicConstraints(ASN1Sequence seq) | |
| BasicConstraints(boolean cA, int pathLenConstraint) | |
| BasicConstraints(boolean cA) | |
| BasicConstraints(int pathLenConstraint)
create a cA=true object for the given path length constraint.
| |
| Method Summary | |
|---|---|
| static BasicConstraints | getInstance(ASN1TaggedObject obj, boolean explicit) |
| static BasicConstraints | getInstance(Object obj) |
| BigInteger | getPathLenConstraint() |
| boolean | isCA() |
| DERObject | toASN1Object()
Produce an object suitable for an ASN1OutputStream.
|
| String | toString() |
Deprecated: use one of the other two unambigous constructors.
Parameters: cA pathLenConstraint
Parameters: pathLenConstraint
BasicConstraints := SEQUENCE {
cA BOOLEAN DEFAULT FALSE,
pathLenConstraint INTEGER (0..MAX) OPTIONAL
}