|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.rsa.swsj.StatusInfo
This class defines the detailed information of an XML security operation. It includes the status of the core signature validation, the reference validations, and detailed error information during verification of the signature. Also, it contains the status of encryption operation, including detailed error information and the detailed information about operations on tokens (addition, removal), its status and error messages.
| Field Summary | |
static int |
CORE_VALIDATION_FAILED
Specifies that both signature and reference validations failed. |
static int |
DECRYPTION_FAILED
Specifies that decryption failed. |
static int |
ENCRYPTION_FAILED
Specifies that encryption failed. |
static int |
OPERATION_SUCCESS
Specifies that the operation succeeded. |
static int |
REFERENCE_VALIDATION_FAILED
Specifies that the reference validation failed, but the signature over the signedInfo element validation succeeded. |
static int |
SIGNATURE_COMPUTATION_FAILED
Specifies that signature computation failed. |
static int |
SIGNATURE_VERIFICATION_FAILED
Specifies that signature validation failed, but reference validations succeeded. |
static int |
TIMESTAMP_VALIDATION_FAILED
Specifies that the timestamp of the xml signature is expired. |
| Method Summary | |
java.lang.String |
getDescription()
Returns the detailed description of error during core operations, such as signing, encryption, or adding a token. |
int |
getStatus()
Returns the status of the operation, such as encryption, token removal, or document signing. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int OPERATION_SUCCESS
public static final int SIGNATURE_VERIFICATION_FAILED
public static final int REFERENCE_VALIDATION_FAILED
public static final int CORE_VALIDATION_FAILED
public static final int SIGNATURE_COMPUTATION_FAILED
public static final int TIMESTAMP_VALIDATION_FAILED
public static final int ENCRYPTION_FAILED
public static final int DECRYPTION_FAILED
| Method Detail |
public int getStatus()
public java.lang.String getDescription()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||