Interface ServiceAccountSigner

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.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.
    • Method Detail

      • getAccount

        java.lang.String getAccount()
        Returns the service account associated with the signer.
        Returns:
        The service account associated with the signer.
      • sign

        byte[] sign​(byte[] toSign)
        Signs the provided bytes using the private key associated with the service account.
        Parameters:
        toSign - bytes to sign
        Returns:
        signed bytes
        Throws:
        ServiceAccountSigner.SigningException - if the attempt to sign the provided bytes failed