Reference documentation and code samples for the Binary Authorization V1 API class Google::Cloud::BinaryAuthorization::V1::PkixPublicKey.
A public key in the PkixPublicKey format (see https://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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#public_key_pem
def public_key_pem() -> ::String
Returns
- (::String) — A PEM-encoded public key, as described in https://tools.ietf.org/html/rfc7468#section-13
#public_key_pem=
def public_key_pem=(value) -> ::String
Parameter
- value (::String) — A PEM-encoded public key, as described in https://tools.ietf.org/html/rfc7468#section-13
Returns
- (::String) — A PEM-encoded public key, as described in https://tools.ietf.org/html/rfc7468#section-13
#signature_algorithm
def signature_algorithm() -> ::Google::Cloud::BinaryAuthorization::V1::PkixPublicKey::SignatureAlgorithm
Returns
-
(::Google::Cloud::BinaryAuthorization::V1::PkixPublicKey::SignatureAlgorithm) — 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).
#signature_algorithm=
def signature_algorithm=(value) -> ::Google::Cloud::BinaryAuthorization::V1::PkixPublicKey::SignatureAlgorithm
Parameter
-
value (::Google::Cloud::BinaryAuthorization::V1::PkixPublicKey::SignatureAlgorithm) — 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).
Returns
-
(::Google::Cloud::BinaryAuthorization::V1::PkixPublicKey::SignatureAlgorithm) — 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).