Class KeyStoreEntityUtil
java.lang.Object
de.xima.fc.certificate.ms.impl.util.KeyStoreEntityUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetKeyStoreIdBySelector(KeyStoreSelector keyStoreSelector, CertificateManagementUser user) Retrieves the keystore ID based on the provided selector.
-
Constructor Details
-
KeyStoreEntityUtil
-
-
Method Details
-
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.
-