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 webpage provides documentation for the \u003ccode\u003eSignHashAlgorithm\u003c/code\u003e enum within the Google Cloud Private Certificate Authority v1 API, specifically for the .NET library.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation covers the latest version (3.9.0) and several older versions of the API, all the way down to 1.0.0, for reference and compatibility.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSignHashAlgorithm\u003c/code\u003e enum specifies the algorithm used by a Cloud KMS CryptoKeyVersion for asymmetric signing, mapping to various \u003ccode\u003eCryptoKeyVersionAlgorithm\u003c/code\u003e values.\u003c/p\u003e\n"],["\u003cp\u003eThe provided table lists available \u003ccode\u003eSignHashAlgorithm\u003c/code\u003e fields, including \u003ccode\u003eEcP256Sha256\u003c/code\u003e, \u003ccode\u003eEcP384Sha384\u003c/code\u003e, and different \u003ccode\u003eRsa\u003c/code\u003e algorithms, along with their corresponding \u003ccode\u003eCryptoKeyVersionAlgorithm\u003c/code\u003e mappings.\u003c/p\u003e\n"],["\u003cp\u003eThe PSS algorithms are recommended for RSA signing; however, PKCS1 algorithms are available for older systems if required for compatibility.\u003c/p\u003e\n"]]],[],null,[]]