Interface SignedTextSignatureParams
- All Superinterfaces:
SignatureParams
- All Known Implementing Classes:
SignedTextSignatureParams.DefaultSignedTextSignatureParams
public interface SignedTextSignatureParams extends SignatureParams
Parameter implementation required for the
HMAC-SHA1 method and
for the RSA-SHA1 method.
It is recommended to use the SignedTextSignatureParams.DefaultSignedTextSignatureParams
implementation.
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classSignedTextSignatureParams.DefaultSignedTextSignatureParamsThe default implementation of theSignedTextSignatureParams. -
Method Summary
Modifier and Type Method Description default <R, E extends Exception>
Rhandle(SignatureParamsHandler<R,E> handler)Handle theSignatureParamsin a typesafe way.SignatureBaseStringsignatureBaseString()Retrieve thesignature base string.
-
Method Details
-
signatureBaseString
SignatureBaseString signatureBaseString()Retrieve thesignature base string.- Returns:
- the
signature base string - See Also:
- Signature Base String
-
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
-