Represents a public key data along with its format.
| JSON representation | 
|---|
| { "format": enum ( | 
| Fields | |
|---|---|
| format | 
 Output only. The format of the key. | 
| notBeforeTime | 
 Output only. Earliest timestamp when this key is valid. Attempts to use this key before this time will fail. Only present if the key data represents a X.509 certificate. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples:  | 
| notAfterTime | 
 Output only. Latest timestamp when this key is valid. Attempts to use this key after this time will fail. Only present if the key data represents a X.509 certificate. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples:  | 
| key | 
 Output only. The key data. The format of the key is represented by the  | 
| keySpec | 
 Required. The specifications for the key. | 
KeyFormat
The supported formats for the public key.
| Enums | |
|---|---|
| KEY_FORMAT_UNSPECIFIED | No format has been specified. This is an invalid format and must not be used. | 
| RSA_X509_PEM | A RSA public key wrapped in an X.509v3 certificate (RFC5280), encoded in base64, and wrapped in public certificate label. | 
KeySpec
Allowed list of specifications for the key.
| Enums | |
|---|---|
| KEY_SPEC_UNSPECIFIED | No key specification specified. | 
| RSA_2048 | A 2048 bit RSA key. | 
| RSA_3072 | A 3072 bit RSA key. | 
| RSA_4096 | A 4096 bit RSA key. |