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 CertificateTokentoCertificateToken(RemoteCertificate remoteCertificate)Converts the givenremoteCertificateto aCertificateTokenstatic List<CertificateToken>toCertificateTokens(List<RemoteCertificate> remoteCertificates)Converts the given list ofremoteCertificatesto a list ofCertificateTokensstatic RemoteCertificatetoRemoteCertificate(CertificateToken certificate)Converts the givencertificateto aRemoteCertificate
-
-
-
Method Detail
-
toCertificateToken
public static CertificateToken toCertificateToken(RemoteCertificate remoteCertificate)
Converts the givenremoteCertificateto aCertificateToken- Parameters:
remoteCertificate-RemoteDocumentto convert- Returns:
CertificateToken
-
toRemoteCertificate
public static RemoteCertificate toRemoteCertificate(CertificateToken certificate)
Converts the givencertificateto aRemoteCertificate- Parameters:
certificate-CertificateTokento convert- Returns:
RemoteCertificate
-
toCertificateTokens
public static List<CertificateToken> toCertificateTokens(List<RemoteCertificate> remoteCertificates)
Converts the given list ofremoteCertificatesto a list ofCertificateTokens- Parameters:
remoteCertificates- list ofRemoteCertificates- Returns:
- list of
CertificateTokens
-
-