Interface SignatureParamsHandler<R,E extends Exception>
- Type Parameters:
R- the type of the return valueE- the type of the exception
public interface SignatureParamsHandler<R,E extends Exception>
Provides the capability of handling
SignatureParams instances in a
typesafe way.- Author:
- Martin Siegemund
-
Field Summary
Fields Modifier and Type Field Description static StringNOT_IMPLEMENTEDdefault err msg -
Method Summary
Modifier and Type Method Description default Rvisit(PlainTextSignatureParams params)Handle aPlainTextSignatureParamsinstance.default Rvisit(SignedTextSignatureParams params)Handle aSignedTextSignatureParamsinstance.
-
Field Details
-
NOT_IMPLEMENTED
default err msg- See Also:
- Constant Field Values
-
-
Method Details
-
visit
Handle aPlainTextSignatureParamsinstance.- Parameters:
params- thePlainTextSignatureParamsinstance- Returns:
- the result
- Throws:
E- if the handling failedE extends Exception
-
visit
Handle aSignedTextSignatureParamsinstance.- Parameters:
params- theSignedTextSignatureParamsinstance- Returns:
- the result
- Throws:
E- if the handling failedE extends Exception
-