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

Class Validity

  • java.lang.Object
    • com.ibm.uddi.v3.client.apilayer.xmldsig.Validity


  • public class Validity
    extends java.lang.Object
    This class represents a result of validation against a digital signature.
    • Constructor Summary

      Constructors 
      Constructor and Description
      Validity()
      Constructor.
    • Method Summary

      Methods 
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Validity

        public Validity()
        Constructor.
    • Method Detail

      • getCoreValidity

        public boolean getCoreValidity()
        Returns core validity.
        Returns:
        boolean
      • getNumberOfReferences

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

        public java.lang.String getReferenceMessage(int reference)
                                             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

        public java.lang.String getReferenceType(int reference)
                                          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

        public java.lang.String getReferenceURI(int reference)
                                         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

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

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

        public boolean getSignedInfoValidity()
        Returns validity of the SignedInfo element.
        Returns:
        String
IBM WebSphere Application ServerTM
Release 8.5