From 041d585f19e010f1dcad922ba9766895b858c186 Mon Sep 17 00:00:00 2001 From: Daniel Hougaard Date: Wed, 9 Apr 2025 02:11:43 +0400 Subject: [PATCH] Update go.mdx --- docs/sdks/languages/go.mdx | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/docs/sdks/languages/go.mdx b/docs/sdks/languages/go.mdx index e2af279cc..b8dbb92ab 100644 --- a/docs/sdks/languages/go.mdx +++ b/docs/sdks/languages/go.mdx @@ -906,6 +906,9 @@ res, err := client.Kms().Signing().SignData(infisical.KmsSignDataOptions{ The data to sign. Must be a base64 encoded string. + + Whether the data is already digested or not. + The signing algorithm to use. You must use a signing algorithm that matches the key usage. @@ -929,19 +932,9 @@ res, err := client.Kms().Signing().SignData(infisical.KmsSignDataOptions{ -#### Return (object) - - - - The signature of the data that was signed. - - - The ID of the key that was used to sign the data. - - - The signing algorithm that was used to sign the data. - - +#### Return ([]byte) + + The signature of the data that was signed. ### Verifying Data @@ -967,6 +960,9 @@ res, err := client.Kms().Signing().Verify(infisical.KmsVerifyDataOptions{ The data to verify. Must be a base64 encoded string. + + Whether the data is already digested or not. + The signing algorithm that was used to sign the data.