Class SignerRole

java.lang.Object
eu.europa.esig.dss.validation.SignerRole

public class SignerRole extends Object
This class represents the signer roles extracted from the signature.
  • Constructor Details

  • Method Details

    • getRole

      public String getRole()
      Gets the role
      Returns:
      String
    • getCategory

      public EndorsementType getCategory()
      Gets the role category
      Returns:
      EndorsementType
    • getNotBefore

      public Date getNotBefore()
      Gets the certificate's 'notBefore' for a 'certified' role category
      Returns:
      Date
    • setNotBefore

      public void setNotBefore(Date notBefore)
      Sets the certificate's 'notBefore' for a 'certified' role category
      Parameters:
      notBefore - Date
    • getNotAfter

      public Date getNotAfter()
      Gets the certificate's 'notAfter' for a 'certified' role category
      Returns:
      Date
    • setNotAfter

      public void setNotAfter(Date notAfter)
      Sets the certificate's 'notAfter' for a 'certified' role category
      Parameters:
      notAfter - Date
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object