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

com.github.nagyesta.lowkeyvault.service.key.RotationPolicy Maven / Gradle / Ivy

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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy