Documentation ¶
Index ¶
Constants ¶
View Source
const ( GcmIvLength = 12 EktIdLength = 36 EncryptApiName = "Encrypt" AsymmetricEncryptApiName = "AsymmetricEncrypt" DecryptApiName = "Decrypt" AsymmetricDecryptApiName = "AsymmetricDecrypt" AsymmetricSignApiName = "AsymmetricSign" AsymmetricVerifyApiName = "AsymmetricVerify" GenerateDataKeyApiName = "GenerateDataKey" GenerateDataKeyWithoutPlaintextApiName = "GenerateDataKeyWithoutPlaintext" GetPublicKeyApiName = "GetPublicKey" GetSecretValueApiName = "GetSecretValue" DigestMessageType = "DIGEST" KMSKeySpecAES256 = "AES_256" KMSKeySpecAES128 = "AES_128" MigrationKeyVersionIdKey = "x-kms-migrationkeyversionid" NumberOfBytesAes256 = 32 NumberOfBytesAes128 = 16 MagicNum = '$' MagicNumLength = 1 CipherVerAndPaddingModeLength = 1 AlgorithmLength = 1 CipherVer = 0 AlgAesGcm = 2 SDKName = "alibabacloud-kms-go-sdk" SDKVersion = "1.2.3" ClientUserAgent = SDKName + "-client/" + SDKVersion TransferClientUserAgent = SDKName + "-transfer-client/" + SDKVersion )
View Source
const ( InvalidParamErrorCode = "InvalidParam" InvalidParameterErrorCode = "InvalidParameter" InvalidParamDateErrorMessage = "The Param Date is invalid." InvalidParamAuthorizationErrorMessage = "The Param Authorization is invalid." )
Variables ¶
This section is empty.
Functions ¶
func EncoderStringToBytes ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.