Google Cloud Key Management Service v1 API - Enum PublicKey.Types.PublicKeyFormat (3.16.0)

public enum PublicKey.Types.PublicKeyFormat

Reference documentation and code samples for the Google Cloud Key Management Service v1 API enum PublicKey.Types.PublicKeyFormat.

The supported [PublicKey][google.cloud.kms.v1.PublicKey] formats.

Namespace

Google.Cloud.Kms.V1

Assembly

Google.Cloud.Kms.V1.dll

Fields

Name Description
NistPqc

This is supported only for PQC algorithms. The key material is returned in the format defined by NIST PQC standards (FIPS 203, FIPS 204, and FIPS 205).

Pem

The returned public key will be encoded in PEM format. See the RFC7468 sections for General Considerations and Textual Encoding of Subject Public Key Info for more information.

Unspecified

If the [public_key_format][google.cloud.kms.v1.GetPublicKeyRequest.public_key_format] field is not specified:

  • For PQC algorithms, an error will be returned.
  • For non-PQC algorithms, the default format is PEM, and the field [pem][google.cloud.kms.v1.PublicKey.pem] will be populated.

Otherwise, the public key will be exported through the [public_key][google.cloud.kms.v1.PublicKey.public_key] field in the requested format.