# Class AllowedKeyType (1.19.0)

1.19.0 (latest) 1.18.0 1.17.0 1.16.0 1.15.0 1.14.3 1.13.1 1.12.2 1.11.0 1.10.3 1.9.0 1.8.1 1.7.1 1.6.1 1.5.0 1.4.3 1.3.2 1.2.4 1.1.0 1.0.6 0.4.0 0.3.0 0.1.1

    AllowedKeyType(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Describes a "type" of key that may be used in a
Certificate issued
from a CaPool. Note
that a single
AllowedKeyType
may refer to either a fully-qualified key algorithm, such as RSA
4096, or a family of key algorithms, such as any RSA key.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `rsa` | `https://docs.cloud.google.com/python/docs/reference/privateca/latest/google.cloud.security.privateca_v1.types.CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType` Represents an allowed RSA key type. This field is a member of `oneof`_ `key_type`. |
| `elliptic_curve` | `https://docs.cloud.google.com/python/docs/reference/privateca/latest/google.cloud.security.privateca_v1.types.CaPool.IssuancePolicy.AllowedKeyType.EcKeyType` Represents an allowed Elliptic Curve key type. This field is a member of `oneof`_ `key_type`. |

## Classes

### EcKeyType

    EcKeyType(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Describes an Elliptic Curve key that may be used in a
Certificate issued
from a CaPool.

### RsaKeyType

    RsaKeyType(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Describes an RSA key that may be used in a
Certificate issued
from a CaPool.