Package eu.europa.esig.dss.ws.converter
Class RemoteCertificateConverter
java.lang.Object
eu.europa.esig.dss.ws.converter.RemoteCertificateConverter
public class RemoteCertificateConverter extends Object
-
Constructor Summary
Constructors Constructor Description RemoteCertificateConverter()
-
Method Summary
Modifier and Type Method Description static 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
-
Constructor Details
-
RemoteCertificateConverter
public RemoteCertificateConverter()
-
-
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
-