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

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

The newest version!
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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy