Package eu.europa.esig.dss.validation
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 Summary
Constructors Constructor Description SignerRole(String role, EndorsementType category)
The default constructor -
Method Summary
Modifier and Type Method Description boolean
equals(Object obj)
EndorsementType
getCategory()
Gets the role categoryDate
getNotAfter()
Gets the certificate's 'notAfter' for a 'certified' role categoryDate
getNotBefore()
Gets the certificate's 'notBefore' for a 'certified' role categoryString
getRole()
Gets the roleint
hashCode()
void
setNotAfter(Date notAfter)
Sets the certificate's 'notAfter' for a 'certified' role categoryvoid
setNotBefore(Date notBefore)
Sets the certificate's 'notBefore' for a 'certified' role categoryString
toString()
-
Constructor Details
-
SignerRole
The default constructor- Parameters:
role
-String
category
-EndorsementType
of the SignedRole
-
-
Method Details
-
getRole
Gets the role- Returns:
String
-
getCategory
Gets the role category- Returns:
EndorsementType
-
getNotBefore
Gets the certificate's 'notBefore' for a 'certified' role category- Returns:
Date
-
setNotBefore
Sets the certificate's 'notBefore' for a 'certified' role category- Parameters:
notBefore
-Date
-
getNotAfter
Gets the certificate's 'notAfter' for a 'certified' role category- Returns:
Date
-
setNotAfter
Sets the certificate's 'notAfter' for a 'certified' role category- Parameters:
notAfter
-Date
-
toString
-
equals
-
hashCode
public int hashCode()
-