For the latest news and information visit
The GNU Crypto project

gnu.crypto.pki.ext
Class BasicConstraints

java.lang.Object
  extended bygnu.crypto.pki.ext.Extension.Value
      extended bygnu.crypto.pki.ext.BasicConstraints

public class BasicConstraints
extends Extension.Value


Field Summary
static OID ID
           
 
Fields inherited from class gnu.crypto.pki.ext.Extension.Value
encoded
 
Constructor Summary
BasicConstraints(boolean ca, int pathLenConstraint)
           
BasicConstraints(byte[] encoded)
           
 
Method Summary
 byte[] getEncoded()
           
 int getPathLengthConstraint()
           
 boolean isCA()
           
 String toString()
           
 
Methods inherited from class gnu.crypto.pki.ext.Extension.Value
equals
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ID

public static final OID ID
Constructor Detail

BasicConstraints

public BasicConstraints(byte[] encoded)
                 throws IOException

BasicConstraints

public BasicConstraints(boolean ca,
                        int pathLenConstraint)
Method Detail

isCA

public boolean isCA()

getPathLengthConstraint

public int getPathLengthConstraint()

getEncoded

public byte[] getEncoded()
Overrides:
getEncoded in class Extension.Value

toString

public String toString()
Overrides:
toString in class Extension.Value

For the latest news and information visit
The GNU Crypto project

Copyright © 2001, 2002, 2003 Free Software Foundation, Inc. All Rights Reserved.