public interface SignatureService
| Modifier and Type | Method and Description |
|---|---|
SignatureResponse |
sign(SignRequestDto signRequestDto)
Sign Data.
|
ValidatorResponseDto |
validate(TimestampRequestDto timestampRequestDto)
Validate signature
|
ValidatorResponseDto |
validateWithPublicKey(PublicKeyRequestDto publicKeyRequestDto)
Validate with public key.
|
ValidatorResponseDto validateWithPublicKey(PublicKeyRequestDto publicKeyRequestDto) throws InvalidKeySpecException, NoSuchAlgorithmException
validateWithPublicKeyRequestDto - the ValidateWithPublicKeyRequestDtoInvalidKeySpecException - the invalid key spec exceptionNoSuchAlgorithmException - the no such algorithm exceptionValidatorResponseDto validate(TimestampRequestDto timestampRequestDto)
timestampRequestDto - TimestampRequestDtoValidatorResponseDtoSignatureResponse sign(SignRequestDto signRequestDto)
signRequestDto - the signRequestDtoCopyright © 2020. All rights reserved.