Class MsCryptoSettingsService
- java.lang.Object
-
- de.xima.fc.certificate.ms.impl.rpc.MsCryptoSettingsService
-
- All Implemented Interfaces:
de.root1.simon.SimonRemoteType,RpcCryptoSettingsService,RpcHandler,Serializable
public class MsCryptoSettingsService extends Object implements RpcCryptoSettingsService
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MsCryptoSettingsService(ISystemPropertyDao systemPropertyDao, IUserAccessController userAccessController, CertificateMonitorJobManager certificateMonitorJobManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CryptoSettingsgetCryptoSettings(CertificateManagementUser user)Retrieves the cryptographic settings for a specific user in the formcycle certificate module.CryptoSpecgetCryptoSpec()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 Detail
-
MsCryptoSettingsService
public MsCryptoSettingsService(ISystemPropertyDao systemPropertyDao, IUserAccessController userAccessController, CertificateMonitorJobManager certificateMonitorJobManager)
-
-
Method Detail
-
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
public CryptoSpec 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.
-
-