Class SignatureWrapper<T>
java.lang.Object
br.ufsc.labsec.signature.wrappers.SignatureWrapper<T>
- Direct Known Subclasses:
SignatureBytesWrapper
,SignatureDataWrapper
public abstract class SignatureWrapper<T> extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SignatureWrapper.Format
-
Field Summary
Fields Modifier and Type Field Description protected T
detachedData
protected String
filename
protected SignatureWrapper.Format
format
protected Map<String,byte[]>
hashes
protected T
receiptRequestData
protected String
receiptRequestName
protected T
signedData
-
Constructor Summary
Constructors Modifier Constructor Description protected
SignatureWrapper(T signedData, String filename, SignatureWrapper.Format format)
protected
SignatureWrapper(T signedData, String filename, Map<String,byte[]> hashes)
-
Method Summary
Modifier and Type Method Description T
det()
SignatureWrapper.Format
format()
Map<String,byte[]>
hashes()
abstract boolean
hasReceiptRequest()
String
name()
T
receiptRequest()
String
receiptRequestName()
T
sig()
void
withReceiptRequest(T receiptRequestData, String receiptRequestName)
-
Field Details
-
format
-
signedData
-
filename
-
detachedData
-
receiptRequestData
-
receiptRequestName
-
hashes
-
-
Constructor Details
-
SignatureWrapper
-
SignatureWrapper
-
-
Method Details
-
format
-
sig
-
name
-
det
-
receiptRequest
-
receiptRequestName
-
hashes
-
hasReceiptRequest
public abstract boolean hasReceiptRequest() -
withReceiptRequest
-