Certificate Authority Service V1beta1 API - Module Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority::SignHashAlgorithm (v0.4.0)

Reference documentation and code samples for the Certificate Authority Service V1beta1 API module Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority::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 recommandations, see https://cloud.google.com/kms/docs/algorithms#algorithm_recommendations.

Constants

SIGN_HASH_ALGORITHM_UNSPECIFIED

value: 0
Not specified.

RSA_PSS_2048_SHA256

value: 1
maps to CryptoKeyVersionAlgorithm.RSA_SIGN_PSS_2048_SHA256

RSA_PSS_3072_SHA256

value: 2
maps to CryptoKeyVersionAlgorithm. RSA_SIGN_PSS_3072_SHA256

RSA_PSS_4096_SHA256

value: 3
maps to CryptoKeyVersionAlgorithm.RSA_SIGN_PSS_4096_SHA256

RSA_PKCS1_2048_SHA256

value: 6
maps to CryptoKeyVersionAlgorithm.RSA_SIGN_PKCS1_2048_SHA256

RSA_PKCS1_3072_SHA256

value: 7
maps to CryptoKeyVersionAlgorithm.RSA_SIGN_PKCS1_3072_SHA256

RSA_PKCS1_4096_SHA256

value: 8
maps to CryptoKeyVersionAlgorithm.RSA_SIGN_PKCS1_4096_SHA256

EC_P256_SHA256

value: 4
maps to CryptoKeyVersionAlgorithm.EC_SIGN_P256_SHA256

EC_P384_SHA384

value: 5
maps to CryptoKeyVersionAlgorithm.EC_SIGN_P384_SHA384