Class: Google::Apis::StsV1::GoogleIdentityStsV1Jwk
- Inherits:
-
Object
- Object
- Google::Apis::StsV1::GoogleIdentityStsV1Jwk
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/sts_v1/classes.rb,
lib/google/apis/sts_v1/representations.rb,
lib/google/apis/sts_v1/representations.rb
Overview
A JSON web key set (JWK) See also https://datatracker.ietf.org/doc/html/ rfc7517 and https://github.com/spiffe/spiffe/blob/main/standards/JWT-SVID.md#6- representation-in-the-spiffe-bundle
Instance Attribute Summary collapse
-
#e ⇒ String
Exponent value for kty="RSA".
-
#kid ⇒ String
Key ID.
-
#kty ⇒ String
Key type.
-
#n ⇒ String
Modulus value for kty="RSA".
-
#use ⇒ String
Public key use.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleIdentityStsV1Jwk
constructor
A new instance of GoogleIdentityStsV1Jwk.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleIdentityStsV1Jwk
Returns a new instance of GoogleIdentityStsV1Jwk.
446 447 448 |
# File 'lib/google/apis/sts_v1/classes.rb', line 446 def initialize(**args) update!(**args) end |
Instance Attribute Details
#e ⇒ String
Exponent value for kty="RSA".
Corresponds to the JSON property e
424 425 426 |
# File 'lib/google/apis/sts_v1/classes.rb', line 424 def e @e end |
#kid ⇒ String
Key ID.
Corresponds to the JSON property kid
429 430 431 |
# File 'lib/google/apis/sts_v1/classes.rb', line 429 def kid @kid end |
#kty ⇒ String
Key type. Currently "RSA".
Corresponds to the JSON property kty
434 435 436 |
# File 'lib/google/apis/sts_v1/classes.rb', line 434 def kty @kty end |
#n ⇒ String
Modulus value for kty="RSA".
Corresponds to the JSON property n
439 440 441 |
# File 'lib/google/apis/sts_v1/classes.rb', line 439 def n @n end |
#use ⇒ String
Public key use. Currently "jwt-svid".
Corresponds to the JSON property use
444 445 446 |
# File 'lib/google/apis/sts_v1/classes.rb', line 444 def use @use end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
451 452 453 454 455 456 457 |
# File 'lib/google/apis/sts_v1/classes.rb', line 451 def update!(**args) @e = args[:e] if args.key?(:e) @kid = args[:kid] if args.key?(:kid) @kty = args[:kty] if args.key?(:kty) @n = args[:n] if args.key?(:n) @use = args[:use] if args.key?(:use) end |