Reference documentation and code samples for the Google Certificate Authority Service V1beta1 Client class SignHashAlgorithm.
The algorithm of a Cloud KMS CryptoKeyVersion of a
CryptoKey with the
CryptoKeyPurpose value
ASYMMETRIC_SIGN
. These values correspond to the
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.
Protobuf type google.cloud.security.privateca.v1beta1.CertificateAuthority.SignHashAlgorithm
Namespace
Google \ Cloud \ Security \ PrivateCA \ V1beta1 \ CertificateAuthorityMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
SIGN_HASH_ALGORITHM_UNSPECIFIED
Value: 0
Not specified.
Generated from protobuf enum SIGN_HASH_ALGORITHM_UNSPECIFIED = 0;
RSA_PSS_2048_SHA256
Value: 1
maps to CryptoKeyVersionAlgorithm.RSA_SIGN_PSS_2048_SHA256
Generated from protobuf enum RSA_PSS_2048_SHA256 = 1;
RSA_PSS_3072_SHA256
Value: 2
maps to CryptoKeyVersionAlgorithm. RSA_SIGN_PSS_3072_SHA256
Generated from protobuf enum RSA_PSS_3072_SHA256 = 2;
RSA_PSS_4096_SHA256
Value: 3
maps to CryptoKeyVersionAlgorithm.RSA_SIGN_PSS_4096_SHA256
Generated from protobuf enum RSA_PSS_4096_SHA256 = 3;
RSA_PKCS1_2048_SHA256
Value: 6
maps to CryptoKeyVersionAlgorithm.RSA_SIGN_PKCS1_2048_SHA256
Generated from protobuf enum RSA_PKCS1_2048_SHA256 = 6;
RSA_PKCS1_3072_SHA256
Value: 7
maps to CryptoKeyVersionAlgorithm.RSA_SIGN_PKCS1_3072_SHA256
Generated from protobuf enum RSA_PKCS1_3072_SHA256 = 7;
RSA_PKCS1_4096_SHA256
Value: 8
maps to CryptoKeyVersionAlgorithm.RSA_SIGN_PKCS1_4096_SHA256
Generated from protobuf enum RSA_PKCS1_4096_SHA256 = 8;
EC_P256_SHA256
Value: 4
maps to CryptoKeyVersionAlgorithm.EC_SIGN_P256_SHA256
Generated from protobuf enum EC_P256_SHA256 = 4;
EC_P384_SHA384
Value: 5
maps to CryptoKeyVersionAlgorithm.EC_SIGN_P384_SHA384
Generated from protobuf enum EC_P384_SHA384 = 5;