|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.rsa.certj.xml.dsig.VerificationInfo
This class defines the detailed validation information of an XML signature. It includes the status of the core signature validation, the reference validations, and detailed error information during verification.
Copyright © RSA Security Inc., 2001-2002. All rights reserved.
See Also
Field Summary |
|
static int |
CORE_VERIFY_FAILURE
Specifies that both signature and reference validations failed. |
static int |
CORE_VERIFY_SUCCESS
Specifies that the verification, including signature and reference validations, succeeded. |
static int |
OTHER_FAILURE
Specifies that some other errors occurred during validation: for example, unable to locate the resource identified by the URI, or unsupported digest and signing algorithm in the signature. |
static int |
REFERENCE_VALIDATION_FAILURE
Specifies that the reference validation failed, but the signature over the signedInfo element validation succeeded. |
static int |
SIGNATURE_VERIFICATION_FAILURE
Specifies that signature validation failed, but reference validations succeeded. |
Constructor Summary |
|
VerificationInfo()
Default constructor. |
Method Summary |
|
clone()
Overrides the default |
|
getDescription(int failedReferenceIndex)
Returns the detailed description of errors for a specific failed reference. |
|
String[] |
getDescriptions()
Returns a list of error descriptions of all failed references. |
int[] |
getFailedReferenceIndexes()
Returns all the indexes of references that failed on validation. |
int |
getStatus()
Returns the validation status of the signature. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int CORE_VERIFY_SUCCESS
public static final int SIGNATURE_VERIFICATION_FAILURE
public static final int REFERENCE_VALIDATION_FAILURE
public static final int CORE_VERIFY_FAILURE
public static final int OTHER_FAILURE
Constructor Detail |
public VerificationInfo()
VerificationInfo
object.Method Detail |
public int getStatus()
Returns
public int[] getFailedReferenceIndexes()
Returns
public String getDescription(int failedReferenceIndex)
Parameters
failedReferenceIndex | The index of the failed reference. |
Returns
public String[] getDescriptions()
Returns
public Object clone() throws CloneNotSupportedException
clone
method to get a deeper clone.
Returns
VerificationInfo
object,
a copy of this object.Throws
CloneNotSupportedException
- If the cloning operation
is not successful.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |