com.github.nagyesta.lowkeyvault.service.vault.VaultFake Maven / Gradle / Ivy
package com.github.nagyesta.lowkeyvault.service.vault;
import com.github.nagyesta.lowkeyvault.model.v7_2.common.constants.RecoveryLevel;
import com.github.nagyesta.lowkeyvault.service.certificate.CertificateVaultFake;
import com.github.nagyesta.lowkeyvault.service.key.KeyVaultFake;
import com.github.nagyesta.lowkeyvault.service.secret.SecretVaultFake;
import java.net.URI;
import java.time.OffsetDateTime;
import java.util.Set;
public interface VaultFake {
boolean matches(URI vaultUri);
URI baseUri();
Set aliases();
void setAliases(Set aliases);
KeyVaultFake keyVaultFake();
SecretVaultFake secretVaultFake();
CertificateVaultFake certificateVaultFake();
RecoveryLevel getRecoveryLevel();
Integer getRecoverableDays();
OffsetDateTime getCreatedOn();
OffsetDateTime getDeletedOn();
boolean isDeleted();
boolean isActive();
boolean isExpired();
void delete();
void recover();
void timeShift(int offsetSeconds, boolean regenerateCertificates);
}