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

com.github.nagyesta.lowkeyvault.service.certificate.CertificateVaultFake Maven / Gradle / Ivy

There is a newer version: 2.5.81
Show newest version
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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy