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