Class KeyStoreEntityUtil
- java.lang.Object
-
- de.xima.fc.certificate.ms.impl.util.KeyStoreEntityUtil
-
public class KeyStoreEntityUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description KeyStoreEntityUtil(IKeyStoreEntityDao keyStoreEntityDao)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetKeyStoreIdBySelector(KeyStoreSelector keyStoreSelector, CertificateManagementUser user)Retrieves the keystore ID based on the provided selector.
-
-
-
Constructor Detail
-
KeyStoreEntityUtil
public KeyStoreEntityUtil(IKeyStoreEntityDao keyStoreEntityDao)
-
-
Method Detail
-
getKeyStoreIdBySelector
public Long getKeyStoreIdBySelector(KeyStoreSelector keyStoreSelector, CertificateManagementUser user) throws FcCertificateManagementException
Retrieves the keystore ID based on the provided selector. The selector can specify a keystore ID, a default scope, or a new keystore definition.- Parameters:
keyStoreSelector- the selector that specifies which keystore to use.user- the user who is creating the keystore if a new one is defined.- Returns:
- the ID of the selected keystore.
- Throws:
FcCertificateManagementException- if an error occurs while creating the keystore.
-
-