Google Cloud Container V1 Client - Class Jwk (2.1.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
Name Description
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
Type Description
string

setKty

Key Type.

Parameter
Name Description
var string
Returns
Type Description
$this

getAlg

Algorithm.

Returns
Type Description
string

setAlg

Algorithm.

Parameter
Name Description
var string
Returns
Type Description
$this

getUse

Permitted uses for the public keys.

Returns
Type Description
string

setUse

Permitted uses for the public keys.

Parameter
Name Description
var string
Returns
Type Description
$this

getKid

Key ID.

Returns
Type Description
string

setKid

Key ID.

Parameter
Name Description
var string
Returns
Type Description
$this

getN

Used for RSA keys.

Returns
Type Description
string

setN

Used for RSA keys.

Parameter
Name Description
var string
Returns
Type Description
$this

getE

Used for RSA keys.

Returns
Type Description
string

setE

Used for RSA keys.

Parameter
Name Description
var string
Returns
Type Description
$this

getX

Used for ECDSA keys.

Returns
Type Description
string

setX

Used for ECDSA keys.

Parameter
Name Description
var string
Returns
Type Description
$this

getY

Used for ECDSA keys.

Returns
Type Description
string

setY

Used for ECDSA keys.

Parameter
Name Description
var string
Returns
Type Description
$this

getCrv

Used for ECDSA keys.

Returns
Type Description
string

setCrv

Used for ECDSA keys.

Parameter
Name Description
var string
Returns
Type Description
$this