com.github.nagyesta.lowkeyvault.service.certificate.CertificateVaultFake 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.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();
}