org.bouncycastle.asn1.x509
Class BasicConstraints
- DEREncodable
public class BasicConstraints
BasicConstraints
public BasicConstraints(boolean cA)
BasicConstraints
public BasicConstraints(boolean cA,
int pathLenConstraint)
use one of the other two unambigous constructors.
BasicConstraints
public BasicConstraints(int pathLenConstraint)
create a cA=true object for the given path length constraint.
getPathLenConstraint
public BigInteger getPathLenConstraint()
isCA
public boolean isCA()
toASN1Object
public DERObject toASN1Object()
Produce an object suitable for an ASN1OutputStream.
BasicConstraints := SEQUENCE {
cA BOOLEAN DEFAULT FALSE,
pathLenConstraint INTEGER (0..MAX) OPTIONAL
}
- toASN1Object in interface ASN1Encodable
toString
public String toString()