@Role
public interface SignatureStore
Modifier and Type | Method and Description |
---|---|
byte[] |
retrieve(EntityReference entity)
Retrieve the signature for a given entity.
|
void |
store(EntityReference entity,
byte[] signature)
Store a provided signature for a given entity.
|
void store(EntityReference entity, byte[] signature) throws SignatureStoreException
entity
- the entity that the signature relate to.signature
- the signature to store.SignatureStoreException
- on error.byte[] retrieve(EntityReference entity) throws SignatureStoreException
entity
- the entity for which a signature is requested.SignatureStoreException
- on error.Copyright © 2004–2022 XWiki. All rights reserved.