Class RS256SignatureProviderImpl
java.lang.Object
io.mosip.kernel.signature.service.impl.RS256SignatureProviderImpl
- All Implemented Interfaces:
SignatureProvider
- Since:
- 1.2.0
- Author:
- Mahammed Taheer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsign(PrivateKey privateKey, byte[] signData, String providerName) perform Signature for the inputed Data using the provided key.
-
Constructor Details
-
RS256SignatureProviderImpl
public RS256SignatureProviderImpl()
-
-
Method Details
-
sign
Description copied from interface:SignatureProviderperform Signature for the inputed Data using the provided key.- Specified by:
signin interfaceSignatureProvider- Returns:
- the String - signed data in Base64URLEncode
-