Google Cloud Binary Authorization V1 Client - Class SignatureAlgorithm (0.5.13)

Reference documentation and code samples for the Google Cloud Binary Authorization V1 Client class SignatureAlgorithm.

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 type google.cloud.binaryauthorization.v1.PkixPublicKey.SignatureAlgorithm

Namespace

Google \ Cloud \ BinaryAuthorization \ V1 \ PkixPublicKey

Methods

static::name

Parameter
NameDescription
value mixed

static::value

Parameter
NameDescription
name mixed

Constants

SIGNATURE_ALGORITHM_UNSPECIFIED

Value: 0

Not specified.

Generated from protobuf enum SIGNATURE_ALGORITHM_UNSPECIFIED = 0;

RSA_PSS_2048_SHA256

Value: 1

RSASSA-PSS 2048 bit key with a SHA256 digest.

Generated from protobuf enum RSA_PSS_2048_SHA256 = 1;

RSA_PSS_3072_SHA256

Value: 2

RSASSA-PSS 3072 bit key with a SHA256 digest.

Generated from protobuf enum RSA_PSS_3072_SHA256 = 2;

RSA_PSS_4096_SHA256

Value: 3

RSASSA-PSS 4096 bit key with a SHA256 digest.

Generated from protobuf enum RSA_PSS_4096_SHA256 = 3;

RSA_PSS_4096_SHA512

Value: 4

RSASSA-PSS 4096 bit key with a SHA512 digest.

Generated from protobuf enum RSA_PSS_4096_SHA512 = 4;

RSA_SIGN_PKCS1_2048_SHA256

Value: 5

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

Generated from protobuf enum RSA_SIGN_PKCS1_2048_SHA256 = 5;

RSA_SIGN_PKCS1_3072_SHA256

Value: 6

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

Generated from protobuf enum RSA_SIGN_PKCS1_3072_SHA256 = 6;

RSA_SIGN_PKCS1_4096_SHA256

Value: 7

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

Generated from protobuf enum RSA_SIGN_PKCS1_4096_SHA256 = 7;

RSA_SIGN_PKCS1_4096_SHA512

Value: 8

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

Generated from protobuf enum RSA_SIGN_PKCS1_4096_SHA512 = 8;

ECDSA_P256_SHA256

Value: 9

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

Generated from protobuf enum ECDSA_P256_SHA256 = 9;

EC_SIGN_P256_SHA256

Value: 9

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

Generated from protobuf enum EC_SIGN_P256_SHA256 = 9;

ECDSA_P384_SHA384

Value: 10

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

Generated from protobuf enum ECDSA_P384_SHA384 = 10;

EC_SIGN_P384_SHA384

Value: 10

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

Generated from protobuf enum EC_SIGN_P384_SHA384 = 10;

ECDSA_P521_SHA512

Value: 11

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

Generated from protobuf enum ECDSA_P521_SHA512 = 11;

EC_SIGN_P521_SHA512

Value: 11

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

Generated from protobuf enum EC_SIGN_P521_SHA512 = 11;