The signature algorithm used to verify a message against a signature using this key. These signature algorithm must match the structure and any object identifiers encoded inpublic_key_pem(i.e. this algorithm must match that of the public key).
The signature algorithm used to verify a message against a signature using
this key.
These signature algorithm must match the structure and any object
identifiers encoded inpublic_key_pem(i.e. this algorithm must match
that of the public key).
Returns
Type
Description
int
setSignatureAlgorithm
The signature algorithm used to verify a message against a signature using
this key.
These signature algorithm must match the structure and any object
identifiers encoded inpublic_key_pem(i.e. this algorithm must match
that of the public key).
[[["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-09-04 UTC."],[],[],null,["# Google Cloud Binary Authorization V1 Client - Class PkixPublicKey (1.0.5)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.5 (latest)](/php/docs/reference/cloud-binary-authorization/latest/V1.PkixPublicKey)\n- [1.0.4](/php/docs/reference/cloud-binary-authorization/1.0.4/V1.PkixPublicKey)\n- [0.8.7](/php/docs/reference/cloud-binary-authorization/0.8.7/V1.PkixPublicKey)\n- [0.7.0](/php/docs/reference/cloud-binary-authorization/0.7.0/V1.PkixPublicKey)\n- [0.6.1](/php/docs/reference/cloud-binary-authorization/0.6.1/V1.PkixPublicKey)\n- [0.5.13](/php/docs/reference/cloud-binary-authorization/0.5.13/V1.PkixPublicKey) \nReference documentation and code samples for the Google Cloud Binary Authorization V1 Client class PkixPublicKey.\n\nA public key in the PkixPublicKey format (see\n\u003chttps://tools.ietf.org/html/rfc5280#section-4.1.2.7\u003e for details).\n\nPublic keys of this type are typically textually encoded using the PEM\nformat.\n\nGenerated from protobuf message `google.cloud.binaryauthorization.v1.PkixPublicKey`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ BinaryAuthorization \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getPublicKeyPem\n\nA PEM-encoded public key, as described in\n\u003chttps://tools.ietf.org/html/rfc7468#section-13\u003e\n\n### setPublicKeyPem\n\nA PEM-encoded public key, as described in\n\u003chttps://tools.ietf.org/html/rfc7468#section-13\u003e\n\n### getSignatureAlgorithm\n\nThe signature algorithm used to verify a message against a signature using\nthis key.\n\nThese signature algorithm must match the structure and any object\nidentifiers encoded in `public_key_pem` (i.e. this algorithm must match\nthat of the public key).\n\n### setSignatureAlgorithm\n\nThe signature algorithm used to verify a message against a signature using\nthis key.\n\nThese signature algorithm must match the structure and any object\nidentifiers encoded in `public_key_pem` (i.e. this algorithm must match\nthat of the public key)."]]