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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This webpage provides documentation for the `CertificateAuthority.Types.SignHashAlgorithm` enum within the Google Cloud Private CA v1 API, detailing different signing algorithms used with Cloud KMS CryptoKeys."],["The latest version of the documentation is 3.9.0, and the page contains version history and links to previous versions dating back to 1.0.0."],["The enum values correspond to specific `CryptoKeyVersionAlgorithm` values, such as `EcP256Sha256` mapping to `EC_SIGN_P256_SHA256`, providing precise control over the cryptographic algorithms."],["The documentation recommends using PSS algorithms for RSA signing when possible and PKCS1 only when needed for compatibility, with further recommendations available on the Google Cloud KMS website."],["The `SignHashAlgorithm` enum specifies the types of signing algorithms that can be used with the `CryptoKey`, including `EcP256Sha256`, `EcP384Sha384`, `RsaPkcs12048Sha256`, `RsaPss2048Sha256` and others."]]],[]]