public class CustomerKeyIdFormatter extends Object
Formatter used to create the correct ‘keyId’ needed for signing requests.
Modifier and Type | Method and Description |
---|---|
static String |
createKeyId(AuthenticationDetailsProvider provider)
Creates a keyId from an
AuthenticationDetailsProvider . |
static String |
createKeyId(String tenantId,
String userId,
String fingerprint)
Creates a keyId from the individual components.
|
public static String createKeyId(String tenantId, String userId, String fingerprint)
Creates a keyId from the individual components.
tenantId
- The tenantIduserId
- The userIdfingerprint
- The fingerprintpublic static String createKeyId(@Nonnull AuthenticationDetailsProvider provider)
Creates a keyId from an AuthenticationDetailsProvider
.
provider
- The providerCopyright © 2016–2024. All rights reserved.