Package eu.europa.esig.dss.ws.converter
Class RemoteCertificateConverter
java.lang.Object
eu.europa.esig.dss.ws.converter.RemoteCertificateConverter
Contains utils to convert
CertificateToken
to RemoteCertificate
and vice versa-
Method Summary
Modifier and TypeMethodDescriptionstatic CertificateToken
toCertificateToken
(RemoteCertificate remoteCertificate) Converts the givenremoteCertificate
to aCertificateToken
static List<CertificateToken>
toCertificateTokens
(List<RemoteCertificate> remoteCertificates) Converts the given list ofremoteCertificates
to a list ofCertificateToken
sstatic RemoteCertificate
toRemoteCertificate
(CertificateToken certificate) Converts the givencertificate
to aRemoteCertificate
-
Method Details
-
toCertificateToken
Converts the givenremoteCertificate
to aCertificateToken
- Parameters:
remoteCertificate
-RemoteDocument
to convert- Returns:
CertificateToken
-
toRemoteCertificate
Converts the givencertificate
to aRemoteCertificate
- Parameters:
certificate
-CertificateToken
to convert- Returns:
RemoteCertificate
-
toCertificateTokens
public static List<CertificateToken> toCertificateTokens(List<RemoteCertificate> remoteCertificates) Converts the given list ofremoteCertificates
to a list ofCertificateToken
s- Parameters:
remoteCertificates
- list ofRemoteCertificate
s- Returns:
- list of
CertificateToken
s
-