Public key for the ECDSA algorithm using P-256 and SHA-256, encoded in
base64, and wrapped by -----BEGIN PUBLIC KEY----- and -----END
PUBLIC KEY-----. This can be used to verify JWT tokens with the ES256
algorithm (RFC7518). This curve is
defined in OpenSSL as the prime256v1 curve.
Es256X509Pem
As ES256_PEM, but wrapped in an X.509v3 certificate (RFC5280), encoded in base64, and wrapped by
-----BEGIN CERTIFICATE----- and -----END CERTIFICATE-----.
RsaPem
An RSA public key encoded in base64, and wrapped by
-----BEGIN PUBLIC KEY----- and -----END PUBLIC KEY-----. This can be
used to verify RS256 signatures in JWT tokens (RFC7518).
RsaX509Pem
As RSA_PEM, but wrapped in an X.509v3 certificate (RFC5280), encoded in base64, and wrapped by
-----BEGIN CERTIFICATE----- and -----END CERTIFICATE-----.
UnspecifiedPublicKeyFormat
The format has not been specified. This is an invalid default value and
must not be used.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This page details the `PublicKeyFormat` enum within the `Google.Cloud.Iot.V1` namespace, defining the supported formats for public keys used in the Google Cloud IoT system."],["The `PublicKeyFormat` enum supports four specific formats: `Es256Pem` and `Es256X509Pem` for ECDSA keys and `RsaPem` and `RsaX509Pem` for RSA keys."],["Each supported format has a specific encoding, either base64, wrapped in a `-----BEGIN PUBLIC KEY-----` and `-----END PUBLIC KEY-----` or wrapped in `-----BEGIN CERTIFICATE-----` and `-----END CERTIFICATE-----`."],["The latest version of the public key format is 2.2.0, and it is contained within the Google.Cloud.Iot.V1 namespace, in the Google.Cloud.Iot.V1.dll assembly."],["The `UnspecifiedPublicKeyFormat` field is provided as an invalid default value and should not be used."]]],[]]