class Google::Apis::BinaryauthorizationV1beta1::PkixPublicKey

A public key in the PkixPublicKey format (see tools.ietf.org/html/ rfc5280#section-4.1.2.7 for details). Public keys of this type are typically textually encoded using the PEM format.

Attributes

public_key_pem[RW]

A PEM-encoded public key, as described in tools.ietf.org/html/rfc7468# section-13 Corresponds to the JSON property `publicKeyPem` @return [String]

signature_algorithm[RW]

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 in `public_key_pem` (i.e. this algorithm must match that of the public key). Corresponds to the JSON property `signatureAlgorithm` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/binaryauthorization_v1beta1/classes.rb, line 520
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/binaryauthorization_v1beta1/classes.rb, line 525
def update!(**args)
  @public_key_pem = args[:public_key_pem] if args.key?(:public_key_pem)
  @signature_algorithm = args[:signature_algorithm] if args.key?(:signature_algorithm)
end