com.mindbright.security.x509
Class BasicConstraints

java.lang.Object
  extended by com.mindbright.asn1.ASN1Object
      extended by com.mindbright.asn1.ASN1Structure
          extended by com.mindbright.asn1.ASN1Sequence
              extended by com.mindbright.security.x509.BasicConstraints

public class BasicConstraints
extends ASN1Sequence

Represents the basic constraints extension of a certificate.

 BasicConstraintsSyntax ::= SEQUENCE {
      cA        BOOLEAN DEFAULT FALSE,
      pathLenConstraint INTEGER (0..MAX) OPTIONAL
 }
 


Field Summary
 ASN1Boolean ca
           
 ASN1Integer pathlenconstraint
           
 
Fields inherited from class com.mindbright.asn1.ASN1Structure
components, count, ofType
 
Fields inherited from class com.mindbright.asn1.ASN1Object
isSet, tag
 
Constructor Summary
BasicConstraints()
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class com.mindbright.asn1.ASN1Structure
addComponent, addComponent, addOptional, addOptional, addOptional, decodeValue, encodeValue, equals, getComponent, getCount, getDecodeComponent, getDefault, getDistinctComponent, hashCode, isOptional, ofType
 
Methods inherited from class com.mindbright.asn1.ASN1Object
decodeValue, getTag, getType, isSet, setValue
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ca

public ASN1Boolean ca

pathlenconstraint

public ASN1Integer pathlenconstraint
Constructor Detail

BasicConstraints

public BasicConstraints()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object