Reference documentation and code samples for the Certificate Authority v1 API enum CertificateAuthority.Types.SignHashAlgorithm.
The algorithm of a Cloud KMS CryptoKeyVersion of a
[CryptoKey][google.cloud.kms.v1.CryptoKey] with the
[CryptoKeyPurpose][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose] value
ASYMMETRIC_SIGN. These values correspond to the
[CryptoKeyVersionAlgorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm]
values. For RSA signing algorithms, the PSS algorithms should be preferred,
use PKCS1 algorithms if required for compatibility. For further
recommendations, see
https://cloud.google.com/kms/docs/algorithms#algorithm_recommendations.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eCertificateAuthority.Types.SignHashAlgorithm\u003c/code\u003e enum within the Google Cloud Security Private CA v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this documentation is for version 3.9.0, but this page specifically covers version 3.8.0, with links to older versions dating back to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSignHashAlgorithm\u003c/code\u003e enum defines the algorithms that can be used with a Cloud KMS CryptoKeyVersion for asymmetric signing.\u003c/p\u003e\n"],["\u003cp\u003eThe document details the fields available within the enum, such as \u003ccode\u003eEcP256Sha256\u003c/code\u003e, \u003ccode\u003eRsaPkcs12048Sha256\u003c/code\u003e, and \u003ccode\u003eUnspecified\u003c/code\u003e, along with their corresponding \u003ccode\u003eCryptoKeyVersionAlgorithm\u003c/code\u003e mappings and descriptions.\u003c/p\u003e\n"],["\u003cp\u003eIt also provides a link to the namespace \u003ccode\u003eGoogle.Cloud.Security.PrivateCA.V1\u003c/code\u003e as well as which assembly, \u003ccode\u003eGoogle.Cloud.Security.PrivateCA.V1.dll\u003c/code\u003e it is in.\u003c/p\u003e\n"]]],[],null,[]]