Interface PlainTextSignatureParams
- All Superinterfaces:
SignatureParams
- All Known Implementing Classes:
PlainTextSignatureParams.DefaultPlainTextSignatureParams
public interface PlainTextSignatureParams extends SignatureParams
Parameter implementation required for the
PLAINTEXT method.
It is recommended to use the PlainTextSignatureParams.DefaultPlainTextSignatureParams
implementation.
- Author:
- Martin Siegemund
- See Also:
- PLAINTEXT
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPlainTextSignatureParams.DefaultPlainTextSignatureParamsThe default implementation of thePlainTextSignatureParams. -
Method Summary
Modifier and Type Method Description default <R, E extends Exception>
Rhandle(SignatureParamsHandler<R,E> handler)Handle theSignatureParamsin a typesafe way.
-
Method Details
-
handle
default <R, E extends Exception> R handle(SignatureParamsHandler<R,E> handler) throws E extends ExceptionDescription copied from interface:SignatureParamsHandle theSignatureParamsin a typesafe way.- Specified by:
handlein interfaceSignatureParams- Type Parameters:
R- the type of the return valueE- the type of the thrown exception- Parameters:
handler- theSignatureParamsHandler- Returns:
- the result
- Throws:
E- if the handling failedE extends Exception
-