# Certificate Authority Service V1beta1 API - Module Google::Cloud::Security::PrivateCA::V1beta1::PublicKey::KeyType (v0.18.0)

0.18.0 (latest) 0.17.1 0.16.0 0.15.1 0.14.0 0.13.0 0.12.1 0.11.0 0.10.0 0.9.1 0.8.2 0.7.0 0.6.1 0.5.0 0.4.0 0.3.6 Reference documentation and code samples for the Certificate Authority Service V1beta1 API module Google::Cloud::Security::PrivateCA::V1beta1::PublicKey::KeyType.

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>

## Constants

### KEY_TYPE_UNSPECIFIED

**value:** 0  
Default unspecified value.

### PEM_RSA_KEY

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

### PEM_EC_KEY

**value:** 2  
A PEM-encoded compressed NIST P-256/secp256r1/prime256v1 or P-384 key.