public interface ServiceAccountSigner
Modifier and Type | Interface and Description |
---|---|
static class |
ServiceAccountSigner.SigningException |
Modifier and Type | Method and Description |
---|---|
String |
getAccount()
Returns the service account associated with the signer.
|
byte[] |
sign(byte[] toSign)
Signs the provided bytes using the private key associated with the service account.
|
String getAccount()
byte[] sign(byte[] toSign)
toSign
- bytes to signServiceAccountSigner.SigningException
- if the attempt to sign the provided bytes failedCopyright © 2023 Google. All rights reserved.