public abstract class BaseSigningService extends Object implements SigningService
Constructor and Description |
---|
BaseSigningService() |
Modifier and Type | Method and Description |
---|---|
String |
buildSignature(RequestDataToSign requestDataToSign,
String secretKey)
Generates a Base64 encoded HMAC-SHA1 signature of the passed request data with the secret key.
|
public BaseSigningService()
public String buildSignature(RequestDataToSign requestDataToSign, String secretKey)
buildSignature
in interface SigningService
requestDataToSign
- the request data to be signedsecretKey
- the secret keyCopyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.