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

com.uid2.shared.store.IKeyStore Maven / Gradle / Ivy

package com.uid2.shared.store;

import com.uid2.shared.model.EncryptionKey;

import java.time.Instant;
import java.util.List;

public interface IKeyStore {
    public IKeyStoreSnapshot getSnapshot(Instant asOf);

    public IKeyStoreSnapshot getSnapshot();

    public interface IKeyStoreSnapshot {
        public EncryptionKey getMasterKey(Instant now);

        public EncryptionKey getRefreshKey(Instant now);

        public List getActiveKeySet();

        public EncryptionKey getActiveSiteKey(int siteId, Instant now);

        public EncryptionKey getKey(int keyId);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy