class SSLStoreOverlay extends AbstractContainerOverlay {

	@Override
	public void configure(ContainerSpecification container) throws IOException {
		if(keystore != null) {
			container.getArtifacts().add(ContainerSpecification.Artifact.newBuilder()
				.setSource(keystore)
				.setDest(TARGET_KEYSTORE_PATH)
				.setCachable(false)
				.build());
			container.getFlinkConfiguration().setString(SecurityOptions.SSL_KEYSTORE, TARGET_KEYSTORE_PATH.getPath());
		}
		if(truststore != null) {
			container.getArtifacts().add(ContainerSpecification.Artifact.newBuilder()
				.setSource(truststore)
				.setDest(TARGET_TRUSTSTORE_PATH)
				.setCachable(false)
				.build());
			container.getFlinkConfiguration().setString(SecurityOptions.SSL_TRUSTSTORE, TARGET_TRUSTSTORE_PATH.getPath());
		}
	}

	public  SSLStoreOverlay(@Nullable File keystoreFile, @Nullable File truststoreFile);

}