Class Hmac.Request

    • Method Detail

      • hmacKeyName

        public Hmac.Request hmacKeyName​(String signatureKeyName)
        Specifies the name of the encryption key to sign against. Required.
        Parameters:
        signatureKeyName - name of the key
        Returns:
        updated request
      • hmacKeyVersion

        public Hmac.Request hmacKeyVersion​(int version)
        Specifies the version of the key to use for signatures. If not set, uses the latest version. Must be greater than or equal to the key's min_encryption_version, if set. Optional.
        Parameters:
        version - key version
        Returns:
        updated request
      • hashAlgorithm

        public Hmac.Request hashAlgorithm​(String hashAlgorithm)
        Specifies the hash algorithm to use for supporting key types (notably, not including ed25519 which specifies its own hash algorithm). See hash algorithm constants on this class.
        Parameters:
        hashAlgorithm - algorithm to use
        Returns:
        updated request