Enum PublicKey.KeyType (2.57.0)

public enum PublicKey.KeyType extends Enum<PublicKey.KeyType> implements ProtocolMessageEnum

Types of public keys that are supported. At a minimum, we support RSA and ECDSA, for the key sizes or curves listed: https://cloud.google.com/kms/docs/algorithms#asymmetric_signing_algorithms

Protobuf enum google.cloud.security.privateca.v1beta1.PublicKey.KeyType

Implements

ProtocolMessageEnum

Static Fields

Name Description
KEY_TYPE_UNSPECIFIED

Default unspecified value.

KEY_TYPE_UNSPECIFIED = 0;

KEY_TYPE_UNSPECIFIED_VALUE

Default unspecified value.

KEY_TYPE_UNSPECIFIED = 0;

PEM_EC_KEY

A PEM-encoded compressed NIST P-256/secp256r1/prime256v1 or P-384 key.

PEM_EC_KEY = 2;

PEM_EC_KEY_VALUE

A PEM-encoded compressed NIST P-256/secp256r1/prime256v1 or P-384 key.

PEM_EC_KEY = 2;

PEM_RSA_KEY

A PEM-encoded PKCS#1/RFC 3447 RSAPrivateKey structure.

PEM_RSA_KEY = 1;

PEM_RSA_KEY_VALUE

A PEM-encoded PKCS#1/RFC 3447 RSAPrivateKey structure.

PEM_RSA_KEY = 1;

UNRECOGNIZED

Static Methods

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()