Package eu.europa.esig.dss.validation
Class SignerRole
java.lang.Object
eu.europa.esig.dss.validation.SignerRole
This class represents the signer roles extracted from the signature.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets the role categoryGets the certificate's 'notAfter' for a 'certified' role categoryGets the certificate's 'notBefore' for a 'certified' role categorygetRole()
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 categorytoString()
-
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()
-