@Primary @Service public class AppKeySigningService extends BaseSigningService
Constructor and Description |
---|
AppKeySigningService(KeyStore keyStore) |
Modifier and Type | Method and Description |
---|---|
String |
buildSignature(RequestDataToSign requestDataToSign,
String appKey)
Generates a Base64 encoded HMAC-SHA1 signature of the passed request data with the secret key
associated with the given application key.
|
public AppKeySigningService(KeyStore keyStore)
public String buildSignature(RequestDataToSign requestDataToSign, String appKey)
buildSignature
in interface SigningService
buildSignature
in class BaseSigningService
requestDataToSign
- the request data to be signedappKey
- the application keyCopyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.