Package org.graylog.security.certutil
Class CaServiceImpl
java.lang.Object
org.graylog.security.certutil.CaServiceImpl
- All Implemented Interfaces:
CaService
-
Field Summary
Fields inherited from interface org.graylog.security.certutil.CaService
DEFAULT_VALIDITY
-
Constructor Summary
ConstructorDescriptionCaServiceImpl
(Configuration configuration, SmartKeystoreStorage keystoreStorage, PemCaReader pemCaReader, CertificatesService certificatesService, String passwordSecret, ClusterEventBus eventBus) -
Method Summary
-
Field Details
-
KEYSTORE_ID
- See Also:
-
-
Constructor Details
-
CaServiceImpl
@Inject public CaServiceImpl(Configuration configuration, SmartKeystoreStorage keystoreStorage, PemCaReader pemCaReader, CertificatesService certificatesService, @Named("password_secret") String passwordSecret, ClusterEventBus eventBus)
-
-
Method Details
-
get
- Specified by:
get
in interfaceCaService
- Throws:
KeyStoreStorageException
-
create
public void create(String organization, Integer daysValid, char[] password) throws CACreationException, KeyStoreStorageException, KeyStoreException - Specified by:
create
in interfaceCaService
- Throws:
CACreationException
KeyStoreStorageException
KeyStoreException
-
upload
public void upload(@Nullable String password, List<org.glassfish.jersey.media.multipart.FormDataBodyPart> parts) throws CACreationException - Specified by:
upload
in interfaceCaService
- Throws:
CACreationException
-
startOver
public void startOver() -
loadKeyStore
- Specified by:
loadKeyStore
in interfaceCaService
- Throws:
KeyStoreStorageException
-