public static enum Resources.PkixPublicKey.SignatureAlgorithm extends Enum<Resources.PkixPublicKey.SignatureAlgorithm> implements com.google.protobuf.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.v1.PkixPublicKey.SignatureAlgorithm| Enum Constant and Description |
|---|
ECDSA_P256_SHA256
ECDSA on the NIST P-256 curve with a SHA256 digest.
|
ECDSA_P384_SHA384
ECDSA on the NIST P-384 curve with a SHA384 digest.
|
ECDSA_P521_SHA512
ECDSA on the NIST P-521 curve with a SHA512 digest.
|
RSA_PSS_2048_SHA256
RSASSA-PSS 2048 bit key with a SHA256 digest.
|
RSA_PSS_3072_SHA256
RSASSA-PSS 3072 bit key with a SHA256 digest.
|
RSA_PSS_4096_SHA256
RSASSA-PSS 4096 bit key with a SHA256 digest.
|
RSA_PSS_4096_SHA512
RSASSA-PSS 4096 bit key with a SHA512 digest.
|
RSA_SIGN_PKCS1_2048_SHA256
RSASSA-PKCS1-v1_5 with a 2048 bit key and a SHA256 digest.
|
RSA_SIGN_PKCS1_3072_SHA256
RSASSA-PKCS1-v1_5 with a 3072 bit key and a SHA256 digest.
|
RSA_SIGN_PKCS1_4096_SHA256
RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA256 digest.
|
RSA_SIGN_PKCS1_4096_SHA512
RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA512 digest.
|
SIGNATURE_ALGORITHM_UNSPECIFIED
Not specified.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static Resources.PkixPublicKey.SignatureAlgorithm |
EC_SIGN_P256_SHA256
ECDSA on the NIST P-256 curve with a SHA256 digest.
|
static int |
EC_SIGN_P256_SHA256_VALUE
ECDSA on the NIST P-256 curve with a SHA256 digest.
|
static Resources.PkixPublicKey.SignatureAlgorithm |
EC_SIGN_P384_SHA384
ECDSA on the NIST P-384 curve with a SHA384 digest.
|
static int |
EC_SIGN_P384_SHA384_VALUE
ECDSA on the NIST P-384 curve with a SHA384 digest.
|
static Resources.PkixPublicKey.SignatureAlgorithm |
EC_SIGN_P521_SHA512
ECDSA on the NIST P-521 curve with a SHA512 digest.
|
static int |
EC_SIGN_P521_SHA512_VALUE
ECDSA on the NIST P-521 curve with a SHA512 digest.
|
static int |
ECDSA_P256_SHA256_VALUE
ECDSA on the NIST P-256 curve with a SHA256 digest.
|
static int |
ECDSA_P384_SHA384_VALUE
ECDSA on the NIST P-384 curve with a SHA384 digest.
|
static int |
ECDSA_P521_SHA512_VALUE
ECDSA on the NIST P-521 curve with a SHA512 digest.
|
static int |
RSA_PSS_2048_SHA256_VALUE
RSASSA-PSS 2048 bit key with a SHA256 digest.
|
static int |
RSA_PSS_3072_SHA256_VALUE
RSASSA-PSS 3072 bit key with a SHA256 digest.
|
static int |
RSA_PSS_4096_SHA256_VALUE
RSASSA-PSS 4096 bit key with a SHA256 digest.
|
static int |
RSA_PSS_4096_SHA512_VALUE
RSASSA-PSS 4096 bit key with a SHA512 digest.
|
static int |
RSA_SIGN_PKCS1_2048_SHA256_VALUE
RSASSA-PKCS1-v1_5 with a 2048 bit key and a SHA256 digest.
|
static int |
RSA_SIGN_PKCS1_3072_SHA256_VALUE
RSASSA-PKCS1-v1_5 with a 3072 bit key and a SHA256 digest.
|
static int |
RSA_SIGN_PKCS1_4096_SHA256_VALUE
RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA256 digest.
|
static int |
RSA_SIGN_PKCS1_4096_SHA512_VALUE
RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA512 digest.
|
static int |
SIGNATURE_ALGORITHM_UNSPECIFIED_VALUE
Not specified.
|
| Modifier and Type | Method and Description |
|---|---|
static Resources.PkixPublicKey.SignatureAlgorithm |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Resources.PkixPublicKey.SignatureAlgorithm> |
internalGetValueMap() |
static Resources.PkixPublicKey.SignatureAlgorithm |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Resources.PkixPublicKey.SignatureAlgorithm |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Resources.PkixPublicKey.SignatureAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Resources.PkixPublicKey.SignatureAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Resources.PkixPublicKey.SignatureAlgorithm SIGNATURE_ALGORITHM_UNSPECIFIED
Not specified.
SIGNATURE_ALGORITHM_UNSPECIFIED = 0;public static final Resources.PkixPublicKey.SignatureAlgorithm RSA_PSS_2048_SHA256
RSASSA-PSS 2048 bit key with a SHA256 digest.
RSA_PSS_2048_SHA256 = 1;public static final Resources.PkixPublicKey.SignatureAlgorithm RSA_PSS_3072_SHA256
RSASSA-PSS 3072 bit key with a SHA256 digest.
RSA_PSS_3072_SHA256 = 2;public static final Resources.PkixPublicKey.SignatureAlgorithm RSA_PSS_4096_SHA256
RSASSA-PSS 4096 bit key with a SHA256 digest.
RSA_PSS_4096_SHA256 = 3;public static final Resources.PkixPublicKey.SignatureAlgorithm RSA_PSS_4096_SHA512
RSASSA-PSS 4096 bit key with a SHA512 digest.
RSA_PSS_4096_SHA512 = 4;public static final Resources.PkixPublicKey.SignatureAlgorithm RSA_SIGN_PKCS1_2048_SHA256
RSASSA-PKCS1-v1_5 with a 2048 bit key and a SHA256 digest.
RSA_SIGN_PKCS1_2048_SHA256 = 5;public static final Resources.PkixPublicKey.SignatureAlgorithm RSA_SIGN_PKCS1_3072_SHA256
RSASSA-PKCS1-v1_5 with a 3072 bit key and a SHA256 digest.
RSA_SIGN_PKCS1_3072_SHA256 = 6;public static final Resources.PkixPublicKey.SignatureAlgorithm RSA_SIGN_PKCS1_4096_SHA256
RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA256 digest.
RSA_SIGN_PKCS1_4096_SHA256 = 7;public static final Resources.PkixPublicKey.SignatureAlgorithm RSA_SIGN_PKCS1_4096_SHA512
RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA512 digest.
RSA_SIGN_PKCS1_4096_SHA512 = 8;public static final Resources.PkixPublicKey.SignatureAlgorithm ECDSA_P256_SHA256
ECDSA on the NIST P-256 curve with a SHA256 digest.
ECDSA_P256_SHA256 = 9;public static final Resources.PkixPublicKey.SignatureAlgorithm ECDSA_P384_SHA384
ECDSA on the NIST P-384 curve with a SHA384 digest.
ECDSA_P384_SHA384 = 10;public static final Resources.PkixPublicKey.SignatureAlgorithm ECDSA_P521_SHA512
ECDSA on the NIST P-521 curve with a SHA512 digest.
ECDSA_P521_SHA512 = 11;public static final Resources.PkixPublicKey.SignatureAlgorithm UNRECOGNIZED
public static final Resources.PkixPublicKey.SignatureAlgorithm EC_SIGN_P256_SHA256
ECDSA on the NIST P-256 curve with a SHA256 digest.
EC_SIGN_P256_SHA256 = 9;public static final Resources.PkixPublicKey.SignatureAlgorithm EC_SIGN_P384_SHA384
ECDSA on the NIST P-384 curve with a SHA384 digest.
EC_SIGN_P384_SHA384 = 10;public static final Resources.PkixPublicKey.SignatureAlgorithm EC_SIGN_P521_SHA512
ECDSA on the NIST P-521 curve with a SHA512 digest.
EC_SIGN_P521_SHA512 = 11;public static final int SIGNATURE_ALGORITHM_UNSPECIFIED_VALUE
Not specified.
SIGNATURE_ALGORITHM_UNSPECIFIED = 0;public static final int RSA_PSS_2048_SHA256_VALUE
RSASSA-PSS 2048 bit key with a SHA256 digest.
RSA_PSS_2048_SHA256 = 1;public static final int RSA_PSS_3072_SHA256_VALUE
RSASSA-PSS 3072 bit key with a SHA256 digest.
RSA_PSS_3072_SHA256 = 2;public static final int RSA_PSS_4096_SHA256_VALUE
RSASSA-PSS 4096 bit key with a SHA256 digest.
RSA_PSS_4096_SHA256 = 3;public static final int RSA_PSS_4096_SHA512_VALUE
RSASSA-PSS 4096 bit key with a SHA512 digest.
RSA_PSS_4096_SHA512 = 4;public static final int 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;public static final int 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;public static final int 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;public static final int 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;public static final int ECDSA_P256_SHA256_VALUE
ECDSA on the NIST P-256 curve with a SHA256 digest.
ECDSA_P256_SHA256 = 9;public static final int EC_SIGN_P256_SHA256_VALUE
ECDSA on the NIST P-256 curve with a SHA256 digest.
EC_SIGN_P256_SHA256 = 9;public static final int ECDSA_P384_SHA384_VALUE
ECDSA on the NIST P-384 curve with a SHA384 digest.
ECDSA_P384_SHA384 = 10;public static final int EC_SIGN_P384_SHA384_VALUE
ECDSA on the NIST P-384 curve with a SHA384 digest.
EC_SIGN_P384_SHA384 = 10;public static final int ECDSA_P521_SHA512_VALUE
ECDSA on the NIST P-521 curve with a SHA512 digest.
ECDSA_P521_SHA512 = 11;public static final int EC_SIGN_P521_SHA512_VALUE
ECDSA on the NIST P-521 curve with a SHA512 digest.
EC_SIGN_P521_SHA512 = 11;public static Resources.PkixPublicKey.SignatureAlgorithm[] values()
for (Resources.PkixPublicKey.SignatureAlgorithm c : Resources.PkixPublicKey.SignatureAlgorithm.values()) System.out.println(c);
public static Resources.PkixPublicKey.SignatureAlgorithm valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Resources.PkixPublicKey.SignatureAlgorithm valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Resources.PkixPublicKey.SignatureAlgorithm forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Resources.PkixPublicKey.SignatureAlgorithm> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Resources.PkixPublicKey.SignatureAlgorithm valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.