public static class BlobRepository.BlobContent extends Object
Constructor and Description |
---|
BlobContent(String key,
ByteBuffer buffer) |
Modifier and Type | Method and Description |
---|---|
String |
checkSignature(String base64Sig,
CryptoKeys keys) |
<T> T |
decodeAndCache(String key,
BlobRepository.Decoder<T> decoder)
This method decodes the byte[] to a custom Object
|
public BlobContent(String key, ByteBuffer buffer)
public <T> T decodeAndCache(String key, BlobRepository.Decoder<T> decoder)
key
- The key is used to store the decoded Object. it is possible to have multiple
decoders for the same blob (may be unusual).decoder
- A decoder instancepublic String checkSignature(String base64Sig, CryptoKeys keys)
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.