Module: Google::Cloud::Security::PrivateCA::V1::CertificateAuthority::SignHashAlgorithm
- Defined in:
- proto_docs/google/cloud/security/privateca/v1/resources.rb
Overview
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.
Constant Summary collapse
- SIGN_HASH_ALGORITHM_UNSPECIFIED =
Not specified.
0- RSA_PSS_2048_SHA256 =
maps to CryptoKeyVersionAlgorithm.RSA_SIGN_PSS_2048_SHA256
1- RSA_PSS_3072_SHA256 =
maps to CryptoKeyVersionAlgorithm. RSA_SIGN_PSS_3072_SHA256
2- RSA_PSS_4096_SHA256 =
maps to CryptoKeyVersionAlgorithm.RSA_SIGN_PSS_4096_SHA256
3- RSA_PKCS1_2048_SHA256 =
maps to CryptoKeyVersionAlgorithm.RSA_SIGN_PKCS1_2048_SHA256
6- RSA_PKCS1_3072_SHA256 =
maps to CryptoKeyVersionAlgorithm.RSA_SIGN_PKCS1_3072_SHA256
7- RSA_PKCS1_4096_SHA256 =
maps to CryptoKeyVersionAlgorithm.RSA_SIGN_PKCS1_4096_SHA256
8- EC_P256_SHA256 =
maps to CryptoKeyVersionAlgorithm.EC_SIGN_P256_SHA256
4- EC_P384_SHA384 =
maps to CryptoKeyVersionAlgorithm.EC_SIGN_P384_SHA384
5