com.github.nagyesta.lowkeyvault.service.key.RotationPolicy 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.common.TimeAware;
import java.time.OffsetDateTime;
import java.time.Period;
import java.util.Map;
public interface RotationPolicy extends ReadOnlyRotationPolicy, TimeAware {
void setLifetimeActions(Map lifetimeActions);
void setCreatedOn(OffsetDateTime createdOn);
void setUpdatedOn(OffsetDateTime updatedOn);
void setExpiryTime(Period expiryTime);
void validate(OffsetDateTime latestKeyVersionExpiry);
}