Google Cloud Container V1 Client - Class Jwk (1.24.0)

Reference documentation and code samples for the Google Cloud Container V1 Client class Jwk.

Jwk is a JSON Web Key as specified in RFC 7517

Generated from protobuf message google.container.v1.Jwk

Namespace

Google \ Cloud \ Container \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ kty string

Key Type.

↳ alg string

Algorithm.

↳ use string

Permitted uses for the public keys.

↳ kid string

Key ID.

↳ n string

Used for RSA keys.

↳ e string

Used for RSA keys.

↳ x string

Used for ECDSA keys.

↳ y string

Used for ECDSA keys.

↳ crv string

Used for ECDSA keys.

getKty

Key Type.

Returns
TypeDescription
string

setKty

Key Type.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAlg

Algorithm.

Returns
TypeDescription
string

setAlg

Algorithm.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getUse

Permitted uses for the public keys.

Returns
TypeDescription
string

setUse

Permitted uses for the public keys.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getKid

Key ID.

Returns
TypeDescription
string

setKid

Key ID.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getN

Used for RSA keys.

Returns
TypeDescription
string

setN

Used for RSA keys.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getE

Used for RSA keys.

Returns
TypeDescription
string

setE

Used for RSA keys.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getX

Used for ECDSA keys.

Returns
TypeDescription
string

setX

Used for ECDSA keys.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getY

Used for ECDSA keys.

Returns
TypeDescription
string

setY

Used for ECDSA keys.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCrv

Used for ECDSA keys.

Returns
TypeDescription
string

setCrv

Used for ECDSA keys.

Parameter
NameDescription
var string
Returns
TypeDescription
$this