Class SignaturePolicyCache
java.lang.Object
br.ufsc.labsec.utils.cache.Cache<SignaturePolicy>
br.ufsc.labsec.signature.conformanceVerifier.signaturePolicy.SignaturePolicyCache
- All Implemented Interfaces:
Iterable<CacheEntry<SignaturePolicy>>
public class SignaturePolicyCache extends Cache<SignaturePolicy>
Esta classe é responsável por armazenar as políticas de assinatura em cache
-
Nested Class Summary
Nested classes/interfaces inherited from class br.ufsc.labsec.utils.cache.Cache
Cache.Source -
Field Summary
Fields inherited from class br.ufsc.labsec.utils.cache.Cache
path, regexFilter, runtimeCache -
Constructor Summary
Constructors Constructor Description SignaturePolicyCache(CacheComponent cacheComponent)Construtor -
Method Summary
Modifier and Type Method Description protected SignaturePolicydecodeEntry(byte[]... encoded)Decodifica um objeto em cache a partir de seus bytes em "chunks", habilitando armazenamento de um objeto em diversos arquivos, como assinaturas detached, por exemplo.Methods inherited from class br.ufsc.labsec.utils.cache.Cache
checkExpired, get, getLastAccess, getSource, groupFilesInDiskBy, has, has, iterator, remove, storeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
SignaturePolicyCache
Construtor- Parameters:
cacheComponent- Componente de cache
-
-
Method Details
-
decodeEntry
Description copied from class:CacheDecodifica um objeto em cache a partir de seus bytes em "chunks", habilitando armazenamento de um objeto em diversos arquivos, como assinaturas detached, por exemplo.- Specified by:
decodeEntryin classCache<SignaturePolicy>- Parameters:
encoded- Os bytes do objeto- Returns:
- O objeto decodificado
- Throws:
EncodingException- Exceção em caso de erro na decodificação
-