Package eu.europa.esig.dss.spi.x509
Class ResponderId
java.lang.Object
eu.europa.esig.dss.spi.x509.ResponderId
public class ResponderId extends Object
-
Constructor Summary
Constructors Constructor Description ResponderId(X500Principal subjectX500Principal, byte[] ski)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object obj)
byte[]
getSki()
X500Principal
getX500Principal()
int
hashCode()
boolean
isRelatedToCertificate(CertificateToken certificateToken)
Checks if the ResponderId is related to a provided certificateTokenvoid
setSki(byte[] ski)
void
setX500Principal(X500Principal subjectX500Principal)
-
Constructor Details
-
Method Details
-
getX500Principal
-
setX500Principal
-
getSki
public byte[] getSki() -
setSki
public void setSki(byte[] ski) -
isRelatedToCertificate
Checks if the ResponderId is related to a provided certificateToken- Parameters:
certificateToken
-CertificateToken
to check- Returns:
- TRUE if the certificateToken is related to the ResponderId, FALSE otherwise
-
hashCode
public int hashCode() -
equals
-