All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.nagyesta.lowkeyvault.service.vault.VaultService Maven / Gradle / Ivy

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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy