Package eu.europa.esig.dss.ws.dto
Class RemoteCertificate
java.lang.Object
eu.europa.esig.dss.ws.dto.RemoteCertificate
- All Implemented Interfaces:
Serializable
DTO containing certificateToken binaries
- See Also:
-
Constructor Summary
ConstructorDescriptionEmpty constructorRemoteCertificate
(byte[] encodedCertificate) The default constructor -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
Gets the DER-encoded binaries of the certificatevoid
setEncodedCertificate
(byte[] encodedCertificate) Sets the DER-encoded binaries of the certificate
-
Constructor Details
-
RemoteCertificate
public RemoteCertificate()Empty constructor -
RemoteCertificate
public RemoteCertificate(byte[] encodedCertificate) The default constructor- Parameters:
encodedCertificate
- the DER-encoded binaries of the certificate
-
-
Method Details
-
getEncodedCertificate
public byte[] getEncodedCertificate()Gets the DER-encoded binaries of the certificate- Returns:
- DER-encoded binaries of the certificate
-
setEncodedCertificate
public void setEncodedCertificate(byte[] encodedCertificate) Sets the DER-encoded binaries of the certificate- Parameters:
encodedCertificate
- DER-encoded binaries of the certificate
-