com.github.nagyesta.lowkeyvault.service.key.ReadOnlyRotationPolicy 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.key;
import com.github.nagyesta.lowkeyvault.model.v7_3.key.constants.LifetimeActionType;
import com.github.nagyesta.lowkeyvault.service.key.id.KeyEntityId;
import java.time.OffsetDateTime;
import java.time.Period;
import java.util.List;
import java.util.Map;
public interface ReadOnlyRotationPolicy {
KeyEntityId getId();
OffsetDateTime getCreatedOn();
OffsetDateTime getUpdatedOn();
Period getExpiryTime();
Map getLifetimeActions();
boolean isAutoRotate();
List missedRotations(OffsetDateTime keyCreation);
}