Cloud Key Management Service (KMS) V1 API - Class Google::Cloud::Kms::V1::ChallengeReply (v1.10.0)

Reference documentation and code samples for the Cloud Key Management Service (KMS) V1 API class Google::Cloud::Kms::V1::ChallengeReply.

A reply to a challenge signed by a 2FA key.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#public_key_pem

def public_key_pem() -> ::String
Returns
  • (::String) — Required. The public key associated with the 2FA key.

#public_key_pem=

def public_key_pem=(value) -> ::String
Parameter
  • value (::String) — Required. The public key associated with the 2FA key.
Returns
  • (::String) — Required. The public key associated with the 2FA key.

#signed_challenge

def signed_challenge() -> ::String
Returns
  • (::String) — Required. The signed challenge associated with the 2FA key. The signature must be RSASSA-PKCS1 v1.5 with a SHA256 digest.

#signed_challenge=

def signed_challenge=(value) -> ::String
Parameter
  • value (::String) — Required. The signed challenge associated with the 2FA key. The signature must be RSASSA-PKCS1 v1.5 with a SHA256 digest.
Returns
  • (::String) — Required. The signed challenge associated with the 2FA key. The signature must be RSASSA-PKCS1 v1.5 with a SHA256 digest.