com.ibm.uddi.v3.client.apilayer.xmldsig

Class Validity

  1. java.lang.Object
  2. extended bycom.ibm.uddi.v3.client.apilayer.xmldsig.Validity

  1. public class Validity
  2. extends java.lang.Object
This class represents a result of validation against a digital signature.

Constructor Summary

Constructor and Description
Validity()
Constructor.

Method Summary

Modifier and Type Method and Description
  1. boolean
getCoreValidity()
Returns core validity.
  1. int
getNumberOfReferences()
Returns the number of Reference elements in the SignedInfo element of the Signature element.
  1. java.lang.String
getReferenceMessage(int reference)
Returns an error message about validation of the specified reference.
  1. java.lang.String
getReferenceType(int reference)
Returns the value of the Type attribute of the specified reference.
  1. java.lang.String
getReferenceURI(int reference)
Returns the value of the URI of the specified reference.
  1. boolean
getReferenceValidity(int reference)
Returns validity of the specified reference.
  1. java.lang.String
getSignedInfoMessage()
Returns an error message against signature validation.
  1. boolean
getSignedInfoValidity()
Returns validity of the SignedInfo element.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

Validity

  1. public Validity()
Constructor.

Method Detail

getCoreValidity

  1. public boolean getCoreValidity( )
Returns core validity.
Returns:
boolean

getNumberOfReferences

  1. public int getNumberOfReferences( )
Returns the number of Reference elements in the SignedInfo element of the Signature element.
Returns:
int

getReferenceMessage

  1. public java.lang.String getReferenceMessage( int reference)
  2. throws SignatureUtilitiesException
Returns an error message about validation of the specified reference.
Parameters:
reference - The index of the required Reference.
Returns:
String
Throws:
SignatureUtilitiesException - Invalid Reference index.

getReferenceType

  1. public java.lang.String getReferenceType( int reference)
  2. throws SignatureUtilitiesException
Returns the value of the Type attribute of the specified reference.
Parameters:
reference - The index of the required Reference.
Returns:
String
Throws:
SignatureUtilitiesException - Invalid Reference index.

getReferenceURI

  1. public java.lang.String getReferenceURI( int reference)
  2. throws SignatureUtilitiesException
Returns the value of the URI of the specified reference.
Parameters:
reference - The index of the required Reference.
Returns:
String
Throws:
SignatureUtilitiesException - Invalid Reference index.

getReferenceValidity

  1. public boolean getReferenceValidity( int reference)
  2. throws SignatureUtilitiesException
Returns validity of the specified reference.
Parameters:
reference - The index of the required Reference.
Returns:
String
Throws:
SignatureUtilitiesException - Invalid Reference index.

getSignedInfoMessage

  1. public java.lang.String getSignedInfoMessage( )
Returns an error message against signature validation.
Returns:
String

getSignedInfoValidity

  1. public boolean getSignedInfoValidity( )
Returns validity of the SignedInfo element.
Returns:
String