Interface SignatureService
- All Known Subinterfaces:
SignatureServicev2
- All Known Implementing Classes:
SignatureServiceImpl
public interface SignatureService
-
Method Summary
Modifier and TypeMethodDescriptionjwsSign(JWSSignatureRequestDto jwsSignRequestDto) JSON Web Signature(JWS) for the input data using input algorithmjwtSign(JWTSignatureRequestDto jwtSignRequestDto) JSON Web Signature(JWS) for the input data using RS256 algorithmjwtVerify(JWTSignatureVerifyRequestDto jwtSignatureVerifyRequestDto) JWT Signature verification.io.mosip.kernel.core.signatureutil.model.SignatureResponsesign(SignRequestDto signRequestDto) Deprecated.signPDF(PDFSignatureRequestDto request) validate(TimestampRequestDto timestampRequestDto) Deprecated.
-
Method Details
-
validate
Deprecated.Validate signature- Parameters:
timestampRequestDto-TimestampRequestDto- Returns:
ValidatorResponseDto
-
sign
@Deprecated io.mosip.kernel.core.signatureutil.model.SignatureResponse sign(SignRequestDto signRequestDto) Deprecated.Sign Data.- Parameters:
signRequestDto- the signRequestDto- Returns:
- the SignatureResponse
-
signPDF
-
jwtSign
JSON Web Signature(JWS) for the input data using RS256 algorithm- Parameters:
jwtSignRequestDto- the jwtSignRequestDto- Returns:
- the JWTSignatureResponseDto
-
jwtVerify
JWT Signature verification.- Parameters:
jwtSignatureVerifyRequestDto- the jwtSignatureVerifyRequestDto- Returns:
- the JWTSignatureVerifyResponseDto
-
jwsSign
JSON Web Signature(JWS) for the input data using input algorithm- Parameters:
jwsSignRequestDto- the JWSSignatureRequestDto- Returns:
- the JWTSignatureResponseDto
-