|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.vt.middleware.crypt.x509.types.BasicConstraints
public class BasicConstraints
Representation of the BasicConstraints type defined in section
4.2.1.10 of RFC 2459.
| Constructor Summary | |
|---|---|
BasicConstraints(boolean isCA)
Creates a new instance with no path length constraint. |
|
BasicConstraints(boolean isCA,
int maxPathLength)
Creates a new instance with the given path length constraint. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
Integer |
getPathLengthConstraint()
|
int |
hashCode()
|
boolean |
isCA()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BasicConstraints(boolean isCA)
isCA - Whether or not this is a CA certificate.
public BasicConstraints(boolean isCA,
int maxPathLength)
isCA - Whether or not this is a CA certificate.maxPathLength - Maximum number of CA certificates that may follow
this one.| Method Detail |
|---|
public boolean isCA()
public Integer getPathLengthConstraint()
public String toString()
toString in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||