public class Validity
extends java.lang.Object
Constructor and Description |
---|
Validity()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getCoreValidity()
Returns core validity.
|
int |
getNumberOfReferences()
Returns the number of Reference elements in the SignedInfo element of the Signature element.
|
java.lang.String |
getReferenceMessage(int reference)
Returns an error message about validation of the specified reference.
|
java.lang.String |
getReferenceType(int reference)
Returns the value of the Type attribute of the specified reference.
|
java.lang.String |
getReferenceURI(int reference)
Returns the value of the URI of the specified reference.
|
boolean |
getReferenceValidity(int reference)
Returns validity of the specified reference.
|
java.lang.String |
getSignedInfoMessage()
Returns an error message against signature validation.
|
boolean |
getSignedInfoValidity()
Returns validity of the SignedInfo element.
|
public boolean getCoreValidity()
public int getNumberOfReferences()
public java.lang.String getReferenceMessage(int reference) throws SignatureUtilitiesException
reference
- The index of the required Reference.SignatureUtilitiesException
- Invalid Reference index.public java.lang.String getReferenceType(int reference) throws SignatureUtilitiesException
reference
- The index of the required Reference.SignatureUtilitiesException
- Invalid Reference index.public java.lang.String getReferenceURI(int reference) throws SignatureUtilitiesException
reference
- The index of the required Reference.SignatureUtilitiesException
- Invalid Reference index.public boolean getReferenceValidity(int reference) throws SignatureUtilitiesException
reference
- The index of the required Reference.SignatureUtilitiesException
- Invalid Reference index.public java.lang.String getSignedInfoMessage()
public boolean getSignedInfoValidity()