Package eu.europa.esig.dss.ws.dto
Class RemoteCertificate
java.lang.Object
eu.europa.esig.dss.ws.dto.RemoteCertificate
- All Implemented Interfaces:
Serializable
public class RemoteCertificate extends Object implements Serializable
DTO containing certificateToken binaries
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description RemoteCertificate()Empty constructorRemoteCertificate(byte[] encodedCertificate)The default constructor -
Method Summary
Modifier and Type Method Description byte[]getEncodedCertificate()Gets the DER-encoded binaries of the certificatevoidsetEncodedCertificate(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
-