com.github.nagyesta.lowkeyvault.service.vault.VaultService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lowkey-vault-app Show documentation
Show all versions of lowkey-vault-app Show documentation
Assembled application of Lowkey Vault.
package com.github.nagyesta.lowkeyvault.service.vault;
import com.github.nagyesta.lowkeyvault.model.v7_2.common.constants.RecoveryLevel;
import java.net.URI;
import java.util.List;
import java.util.Set;
public interface VaultService {
VaultFake findByUri(URI uri);
VaultFake findByUriIncludeDeleted(URI uri);
VaultFake create(URI uri);
VaultFake create(URI baseUri, RecoveryLevel recoveryLevel, Integer recoverableDays, Set aliases);
List list();
List listDeleted();
boolean delete(URI uri);
void recover(URI uri);
boolean purge(URI uri);
void timeShift(int offsetSeconds, boolean regenerateCertificates);
VaultFake updateAlias(URI baseUri, URI add, URI remove);
}