com.github.nagyesta.lowkeyvault.service.certificate.CertificateVaultFake Maven / Gradle / Ivy
package com.github.nagyesta.lowkeyvault.service.certificate;
import com.github.nagyesta.lowkeyvault.model.v7_3.certificate.CertificateRestoreInput;
import com.github.nagyesta.lowkeyvault.service.certificate.id.CertificateEntityId;
import com.github.nagyesta.lowkeyvault.service.certificate.id.VersionedCertificateEntityId;
import com.github.nagyesta.lowkeyvault.service.certificate.impl.CertificateCreationInput;
import com.github.nagyesta.lowkeyvault.service.certificate.impl.CertificateImportInput;
import com.github.nagyesta.lowkeyvault.service.common.BaseVaultFake;
import lombok.NonNull;
public interface CertificateVaultFake
extends BaseVaultFake {
VersionedCertificateEntityId createCertificateVersion(@NonNull String name, @NonNull CertificateCreationInput input);
VersionedCertificateEntityId importCertificateVersion(@NonNull String name, @NonNull CertificateImportInput input);
void restoreCertificateVersion(@NonNull VersionedCertificateEntityId versionedEntityId, @NonNull CertificateRestoreInput input);
LifetimeActionPolicy lifetimeActionPolicy(@NonNull CertificateEntityId certificateEntityId);
void setLifetimeActionPolicy(@NonNull LifetimeActionPolicy lifetimeActionPolicy);
void regenerateCertificates();
}