|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.emi.security.authn.x509.ValidationError
public class ValidationError
Holds information about a single validation problem with a reference to the certificate chain. Each error may refer to particular certificate in the chain, contains an unique code and a coarse grained category.
ValidationResult
,
ValidationErrorListener
,
ValidationErrorCategory
Constructor Summary | |
---|---|
ValidationError(X509Certificate[] chain,
int position,
ValidationErrorCode errorCode,
Object... params)
|
Method Summary | |
---|---|
X509Certificate[] |
getChain()
|
ValidationErrorCategory |
getErrorCategory()
Returns a coarse grained error category. |
ValidationErrorCode |
getErrorCode()
Gets the unique error code. |
String |
getMessage()
Returns human readable message describing this error. |
Object[] |
getParameters()
Gets the error parameters. |
int |
getPosition()
Returns position in chain of the certificate causing the error. |
static String |
makeReason(Throwable t)
|
static String |
makeReasonFromStack(Throwable t)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ValidationError(X509Certificate[] chain, int position, ValidationErrorCode errorCode, Object... params)
Method Detail |
---|
public static String makeReasonFromStack(Throwable t)
public static String makeReason(Throwable t)
public int getPosition()
public String getMessage()
public ValidationErrorCode getErrorCode()
public Object[] getParameters()
public ValidationErrorCategory getErrorCategory()
public X509Certificate[] getChain()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |