Class CertificateMappingContext
- java.lang.Object
-
- de.xima.fc.certificate.gui.internal.administration.mapper.CertificateMappingContext
-
- All Implemented Interfaces:
ICertificateMappingContext
public class CertificateMappingContext extends Object implements ICertificateMappingContext
-
-
Constructor Summary
Constructors Constructor Description CertificateMappingContext(CryptoSpec cryptoSpec, Instant instantNow, Locale locale)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<EViewKeystoreEntryIssue>getCertificateIssues(CertificateInfoDTO certificateInfoDTO)Returns the issues of the certificate.CryptoSpecgetCryptoSpec()Returns the specifications for key algorithms used in the formcycle.InstantgetInstantNow()Returns the current instant.LocalegetLocale()Returns the locale of the certificate mapping context.EViewStatusgetViewStatus(IKeystoreEntryInfoDTO keystoreEntryInfoDTO)Returns the view status of the certificate.
-
-
-
Constructor Detail
-
CertificateMappingContext
public CertificateMappingContext(CryptoSpec cryptoSpec, Instant instantNow, Locale locale)
-
-
Method Detail
-
getCertificateIssues
public List<EViewKeystoreEntryIssue> getCertificateIssues(CertificateInfoDTO certificateInfoDTO)
Description copied from interface:ICertificateMappingContextReturns the issues of the certificate.- Specified by:
getCertificateIssuesin interfaceICertificateMappingContext- Parameters:
certificateInfoDTO- The data of the certificate to determine the issues for.- Returns:
- The issues of the certificate.
-
getViewStatus
public EViewStatus getViewStatus(IKeystoreEntryInfoDTO keystoreEntryInfoDTO)
Description copied from interface:ICertificateMappingContextReturns the view status of the certificate.- Specified by:
getViewStatusin interfaceICertificateMappingContext- Parameters:
keystoreEntryInfoDTO- The keystore entry info data to determine the view status for.- Returns:
- The view status of the certificate.
-
getCryptoSpec
public CryptoSpec getCryptoSpec()
Description copied from interface:ICertificateMappingContextReturns the specifications for key algorithms used in the formcycle.- Specified by:
getCryptoSpecin interfaceICertificateMappingContext- Returns:
- The specifications for key algorithms used in the formcycle.
-
getInstantNow
public Instant getInstantNow()
Description copied from interface:ICertificateMappingContextReturns the current instant.- Specified by:
getInstantNowin interfaceICertificateMappingContext- Returns:
- The current instant.
-
getLocale
public Locale getLocale()
Description copied from interface:ICertificateMappingContextReturns the locale of the certificate mapping context.- Specified by:
getLocalein interfaceICertificateMappingContext- Returns:
- The locale of the certificate mapping context.
-
-