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-04-17 UTC."],[[["The latest version available for the `SignHashAlgorithm` is 3.9.0, but multiple versions are available dating back to version 1.0.0."],["The `SignHashAlgorithm` enum within the Certificate Authority v1 API defines algorithms used with Cloud KMS CryptoKeyVersions for asymmetric signing."],["This documentation provides details on the `CertificateAuthority.Types.SignHashAlgorithm` enum, including its fields, such as `EcP256Sha256`, `RsaPkcs14096Sha256`, `RsaPss4096Sha256` and their respective mappings to `CryptoKeyVersionAlgorithm` values."],["For RSA signing algorithms, the PSS algorithms are recommended over PKCS1, although the latter is provided for compatibility reasons."]]],[]]