Enum CertificateAuthority.SignHashAlgorithm (2.5.1)

public enum CertificateAuthority.SignHashAlgorithm extends Enum<CertificateAuthority.SignHashAlgorithm> implements ProtocolMessageEnum

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 recommendations, see https://cloud.google.com/kms/docs/algorithms#algorithm_recommendations.

Protobuf enum google.cloud.security.privateca.v1.CertificateAuthority.SignHashAlgorithm

Implements

ProtocolMessageEnum

Static Fields

NameDescription
EC_P256_SHA256

maps to CryptoKeyVersionAlgorithm.EC_SIGN_P256_SHA256

EC_P256_SHA256 = 4;

EC_P256_SHA256_VALUE

maps to CryptoKeyVersionAlgorithm.EC_SIGN_P256_SHA256

EC_P256_SHA256 = 4;

EC_P384_SHA384

maps to CryptoKeyVersionAlgorithm.EC_SIGN_P384_SHA384

EC_P384_SHA384 = 5;

EC_P384_SHA384_VALUE

maps to CryptoKeyVersionAlgorithm.EC_SIGN_P384_SHA384

EC_P384_SHA384 = 5;

RSA_PKCS1_2048_SHA256

maps to CryptoKeyVersionAlgorithm.RSA_SIGN_PKCS1_2048_SHA256

RSA_PKCS1_2048_SHA256 = 6;

RSA_PKCS1_2048_SHA256_VALUE

maps to CryptoKeyVersionAlgorithm.RSA_SIGN_PKCS1_2048_SHA256

RSA_PKCS1_2048_SHA256 = 6;

RSA_PKCS1_3072_SHA256

maps to CryptoKeyVersionAlgorithm.RSA_SIGN_PKCS1_3072_SHA256

RSA_PKCS1_3072_SHA256 = 7;

RSA_PKCS1_3072_SHA256_VALUE

maps to CryptoKeyVersionAlgorithm.RSA_SIGN_PKCS1_3072_SHA256

RSA_PKCS1_3072_SHA256 = 7;

RSA_PKCS1_4096_SHA256

maps to CryptoKeyVersionAlgorithm.RSA_SIGN_PKCS1_4096_SHA256

RSA_PKCS1_4096_SHA256 = 8;

RSA_PKCS1_4096_SHA256_VALUE

maps to CryptoKeyVersionAlgorithm.RSA_SIGN_PKCS1_4096_SHA256

RSA_PKCS1_4096_SHA256 = 8;

RSA_PSS_2048_SHA256

maps to CryptoKeyVersionAlgorithm.RSA_SIGN_PSS_2048_SHA256

RSA_PSS_2048_SHA256 = 1;

RSA_PSS_2048_SHA256_VALUE

maps to CryptoKeyVersionAlgorithm.RSA_SIGN_PSS_2048_SHA256

RSA_PSS_2048_SHA256 = 1;

RSA_PSS_3072_SHA256

maps to CryptoKeyVersionAlgorithm. RSA_SIGN_PSS_3072_SHA256

RSA_PSS_3072_SHA256 = 2;

RSA_PSS_3072_SHA256_VALUE

maps to CryptoKeyVersionAlgorithm. RSA_SIGN_PSS_3072_SHA256

RSA_PSS_3072_SHA256 = 2;

RSA_PSS_4096_SHA256

maps to CryptoKeyVersionAlgorithm.RSA_SIGN_PSS_4096_SHA256

RSA_PSS_4096_SHA256 = 3;

RSA_PSS_4096_SHA256_VALUE

maps to CryptoKeyVersionAlgorithm.RSA_SIGN_PSS_4096_SHA256

RSA_PSS_4096_SHA256 = 3;

SIGN_HASH_ALGORITHM_UNSPECIFIED

Not specified.

SIGN_HASH_ALGORITHM_UNSPECIFIED = 0;

SIGN_HASH_ALGORITHM_UNSPECIFIED_VALUE

Not specified.

SIGN_HASH_ALGORITHM_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()