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 booleanequals(Object obj)byte[]getSki()X500PrincipalgetX500Principal()inthashCode()booleanisRelatedToCertificate(CertificateToken certificateToken)Checks if the ResponderId is related to a provided certificateTokenvoidsetSki(byte[] ski)voidsetX500Principal(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-CertificateTokento check- Returns:
- TRUE if the certificateToken is related to the ResponderId, FALSE otherwise
-
hashCode
public int hashCode() -
equals
-