Class MsCryptoSettingsService
java.lang.Object
de.xima.fc.certificate.ms.impl.rpc.MsCryptoSettingsService
- All Implemented Interfaces:
RpcCryptoSettingsService, RpcHandler, Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMsCryptoSettingsService(ISystemPropertyDao systemPropertyDao, IUserAccessController userAccessController, CertificateMonitorJobManager certificateMonitorJobManager) -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the cryptographic settings for a specific user in the formcycle certificate module.Retrieves the specifications for cryptographic algorithms, etc. used in the formcycle certificate module.voidupdateCryptoSpec(CryptoSettings settings, CertificateManagementUser user) Updates the cryptographic settings in the formcycle certificate module.
-
Constructor Details
-
MsCryptoSettingsService
public MsCryptoSettingsService(ISystemPropertyDao systemPropertyDao, IUserAccessController userAccessController, CertificateMonitorJobManager certificateMonitorJobManager)
-
-
Method Details
-
getCryptoSettings
public CryptoSettings getCryptoSettings(CertificateManagementUser user) throws FcCertificateManagementException Description copied from interface:RpcCryptoSettingsServiceRetrieves the cryptographic settings for a specific user in the formcycle certificate module.- Specified by:
getCryptoSettingsin interfaceRpcCryptoSettingsService- Parameters:
user- the user for whom to retrieve the cryptographic settings, which must not be null.- Returns:
- a
CryptoSettingsobject containing the cryptographic settings for the specified user. - Throws:
FcCertificateManagementException- if the user does not have permission to view the cryptographic settings.
-
getCryptoSpec
Description copied from interface:RpcCryptoSettingsServiceRetrieves the specifications for cryptographic algorithms, etc. used in the formcycle certificate module.- Specified by:
getCryptoSpecin interfaceRpcCryptoSettingsService- Returns:
- a
CryptoSpecobject containing the supported key sizes, default key sizes, and signature algorithms for RSA, DSA, and ECDSA.
-
updateCryptoSpec
public void updateCryptoSpec(CryptoSettings settings, CertificateManagementUser user) throws FcCertificateManagementException Description copied from interface:RpcCryptoSettingsServiceUpdates the cryptographic settings in the formcycle certificate module.- Specified by:
updateCryptoSpecin interfaceRpcCryptoSettingsService- Parameters:
settings- the new cryptographic settings to apply, which must not be null.user- the user updating the key algorithm specifications.- Throws:
FcCertificateManagementException- if the user does not have permission to update the key algorithm specifications.
-