Skip to content

Commit

Permalink
docs: in google.cloud.kms.v1.PublicKey, pem field is always populated
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 625414261
  • Loading branch information
Google APIs authored and Copybara-Service committed Apr 16, 2024
1 parent cfd95f9 commit 1c2d027
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions google/cloud/kms/v1/resources.proto
Original file line number Diff line number Diff line change
Expand Up @@ -651,12 +651,10 @@ message PublicKey {
pattern: "projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}/publicKey"
};

// A public key encoded in PEM format, populated only when
// [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]
// returns one key. For more information, see the [RFC
// 7468](https://tools.ietf.org/html/rfc7468) sections for [General
// Considerations](https://tools.ietf.org/html/rfc7468#section-2) and [Textual
// Encoding of Subject Public Key Info]
// The public key, encoded in PEM format. For more information, see the
// [RFC 7468](https://tools.ietf.org/html/rfc7468) sections for
// [General Considerations](https://tools.ietf.org/html/rfc7468#section-2) and
// [Textual Encoding of Subject Public Key Info]
// (https://tools.ietf.org/html/rfc7468#section-13).
string pem = 1;

Expand All @@ -665,10 +663,8 @@ message PublicKey {
// associated with this key.
CryptoKeyVersion.CryptoKeyVersionAlgorithm algorithm = 2;

// Integrity verification field: A CRC32C checksum of the returned
// [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem]. It is only populated
// when [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]
// returns one key. An integrity check of
// Integrity verification field. A CRC32C checksum of the returned
// [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem]. An integrity check of
// [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] can be performed by
// computing the CRC32C checksum of
// [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] and comparing your
Expand Down

0 comments on commit 1c2d027

Please sign in to comment.