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

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

The newest version!
package com.github.nagyesta.lowkeyvault.service.certificate;

import com.github.nagyesta.lowkeyvault.service.certificate.id.CertificateEntityId;

import java.time.OffsetDateTime;
import java.util.List;
import java.util.Map;
import java.util.function.Function;

public interface ReadOnlyLifetimeActionPolicy {

    CertificateEntityId getId();

    OffsetDateTime getCreatedOn();

    OffsetDateTime getUpdatedOn();

    Map getLifetimeActions();

    boolean isAutoRenew();

    void validate(int validityMonths);

    List missedRenewalDays(OffsetDateTime validityStart, Function createdToExpiryFunction);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy