Google Cloud Container V1 Client - Class Jwk (1.9.1)

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

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.

Generated from protobuf field string kty = 1;

Returns
TypeDescription
string

setKty

Key Type.

Generated from protobuf field string kty = 1;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAlg

Algorithm.

Generated from protobuf field string alg = 2;

Returns
TypeDescription
string

setAlg

Algorithm.

Generated from protobuf field string alg = 2;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getUse

Permitted uses for the public keys.

Generated from protobuf field string use = 3;

Returns
TypeDescription
string

setUse

Permitted uses for the public keys.

Generated from protobuf field string use = 3;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getKid

Key ID.

Generated from protobuf field string kid = 4;

Returns
TypeDescription
string

setKid

Key ID.

Generated from protobuf field string kid = 4;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getN

Used for RSA keys.

Generated from protobuf field string n = 5;

Returns
TypeDescription
string

setN

Used for RSA keys.

Generated from protobuf field string n = 5;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getE

Used for RSA keys.

Generated from protobuf field string e = 6;

Returns
TypeDescription
string

setE

Used for RSA keys.

Generated from protobuf field string e = 6;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getX

Used for ECDSA keys.

Generated from protobuf field string x = 7;

Returns
TypeDescription
string

setX

Used for ECDSA keys.

Generated from protobuf field string x = 7;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getY

Used for ECDSA keys.

Generated from protobuf field string y = 8;

Returns
TypeDescription
string

setY

Used for ECDSA keys.

Generated from protobuf field string y = 8;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCrv

Used for ECDSA keys.

Generated from protobuf field string crv = 9;

Returns
TypeDescription
string

setCrv

Used for ECDSA keys.

Generated from protobuf field string crv = 9;

Parameter
NameDescription
var string
Returns
TypeDescription
$this