Enum PkixPublicKey.SignatureAlgorithm (1.18.0)

public enum PkixPublicKey.SignatureAlgorithm extends Enum<PkixPublicKey.SignatureAlgorithm> implements ProtocolMessageEnum

Represents a signature algorithm and other information necessary to verify signatures with a given public key. This is based primarily on the public key types supported by Tink's PemKeyType, which is in turn based on KMS's supported signing algorithms. See https://cloud.google.com/kms/docs/algorithms. In the future, BinAuthz might support additional public key types independently of Tink and/or KMS.

Protobuf enum google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm

Implements

ProtocolMessageEnum

Static Fields

NameDescription
ECDSA_P256_SHA256

ECDSA on the NIST P-256 curve with a SHA256 digest.

ECDSA_P256_SHA256 = 9;

ECDSA_P256_SHA256_VALUE

ECDSA on the NIST P-256 curve with a SHA256 digest.

ECDSA_P256_SHA256 = 9;

ECDSA_P384_SHA384

ECDSA on the NIST P-384 curve with a SHA384 digest.

ECDSA_P384_SHA384 = 10;

ECDSA_P384_SHA384_VALUE

ECDSA on the NIST P-384 curve with a SHA384 digest.

ECDSA_P384_SHA384 = 10;

ECDSA_P521_SHA512

ECDSA on the NIST P-521 curve with a SHA512 digest.

ECDSA_P521_SHA512 = 11;

ECDSA_P521_SHA512_VALUE

ECDSA on the NIST P-521 curve with a SHA512 digest.

ECDSA_P521_SHA512 = 11;

EC_SIGN_P256_SHA256

ECDSA on the NIST P-256 curve with a SHA256 digest.

EC_SIGN_P256_SHA256 = 9;

EC_SIGN_P256_SHA256_VALUE

ECDSA on the NIST P-256 curve with a SHA256 digest.

EC_SIGN_P256_SHA256 = 9;

EC_SIGN_P384_SHA384

ECDSA on the NIST P-384 curve with a SHA384 digest.

EC_SIGN_P384_SHA384 = 10;

EC_SIGN_P384_SHA384_VALUE

ECDSA on the NIST P-384 curve with a SHA384 digest.

EC_SIGN_P384_SHA384 = 10;

EC_SIGN_P521_SHA512

ECDSA on the NIST P-521 curve with a SHA512 digest.

EC_SIGN_P521_SHA512 = 11;

EC_SIGN_P521_SHA512_VALUE

ECDSA on the NIST P-521 curve with a SHA512 digest.

EC_SIGN_P521_SHA512 = 11;

RSA_PSS_2048_SHA256

RSASSA-PSS 2048 bit key with a SHA256 digest.

RSA_PSS_2048_SHA256 = 1;

RSA_PSS_2048_SHA256_VALUE

RSASSA-PSS 2048 bit key with a SHA256 digest.

RSA_PSS_2048_SHA256 = 1;

RSA_PSS_3072_SHA256

RSASSA-PSS 3072 bit key with a SHA256 digest.

RSA_PSS_3072_SHA256 = 2;

RSA_PSS_3072_SHA256_VALUE

RSASSA-PSS 3072 bit key with a SHA256 digest.

RSA_PSS_3072_SHA256 = 2;

RSA_PSS_4096_SHA256

RSASSA-PSS 4096 bit key with a SHA256 digest.

RSA_PSS_4096_SHA256 = 3;

RSA_PSS_4096_SHA256_VALUE

RSASSA-PSS 4096 bit key with a SHA256 digest.

RSA_PSS_4096_SHA256 = 3;

RSA_PSS_4096_SHA512

RSASSA-PSS 4096 bit key with a SHA512 digest.

RSA_PSS_4096_SHA512 = 4;

RSA_PSS_4096_SHA512_VALUE

RSASSA-PSS 4096 bit key with a SHA512 digest.

RSA_PSS_4096_SHA512 = 4;

RSA_SIGN_PKCS1_2048_SHA256

RSASSA-PKCS1-v1_5 with a 2048 bit key and a SHA256 digest.

RSA_SIGN_PKCS1_2048_SHA256 = 5;

RSA_SIGN_PKCS1_2048_SHA256_VALUE

RSASSA-PKCS1-v1_5 with a 2048 bit key and a SHA256 digest.

RSA_SIGN_PKCS1_2048_SHA256 = 5;

RSA_SIGN_PKCS1_3072_SHA256

RSASSA-PKCS1-v1_5 with a 3072 bit key and a SHA256 digest.

RSA_SIGN_PKCS1_3072_SHA256 = 6;

RSA_SIGN_PKCS1_3072_SHA256_VALUE

RSASSA-PKCS1-v1_5 with a 3072 bit key and a SHA256 digest.

RSA_SIGN_PKCS1_3072_SHA256 = 6;

RSA_SIGN_PKCS1_4096_SHA256

RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA256 digest.

RSA_SIGN_PKCS1_4096_SHA256 = 7;

RSA_SIGN_PKCS1_4096_SHA256_VALUE

RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA256 digest.

RSA_SIGN_PKCS1_4096_SHA256 = 7;

RSA_SIGN_PKCS1_4096_SHA512

RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA512 digest.

RSA_SIGN_PKCS1_4096_SHA512 = 8;

RSA_SIGN_PKCS1_4096_SHA512_VALUE

RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA512 digest.

RSA_SIGN_PKCS1_4096_SHA512 = 8;

SIGNATURE_ALGORITHM_UNSPECIFIED

Not specified.

SIGNATURE_ALGORITHM_UNSPECIFIED = 0;

SIGNATURE_ALGORITHM_UNSPECIFIED_VALUE

Not specified.

SIGNATURE_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()