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.V1Assembly
Google.Cloud.Kms.V1.dll
Fields |
|
---|---|
Name | Description |
Der |
The returned public key will be encoded in DER format (the PrivateKeyInfo structure from RFC 5208). |
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:
Otherwise, the public key will be exported through the [public_key][google.cloud.kms.v1.PublicKey.public_key] field in the requested format. |
XwingRawBytes |
The returned public key is in raw bytes format defined in its standard https://datatracker.ietf.org/doc/draft-connolly-cfrg-xwing-kem. |