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 | |
---|---|
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.
Generated from protobuf field string kty = 1;
Returns | |
---|---|
Type | Description |
string |
setKty
Key Type.
Generated from protobuf field string kty = 1;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getAlg
Algorithm.
Generated from protobuf field string alg = 2;
Returns | |
---|---|
Type | Description |
string |
setAlg
Algorithm.
Generated from protobuf field string alg = 2;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getUse
Permitted uses for the public keys.
Generated from protobuf field string use = 3;
Returns | |
---|---|
Type | Description |
string |
setUse
Permitted uses for the public keys.
Generated from protobuf field string use = 3;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getKid
Key ID.
Generated from protobuf field string kid = 4;
Returns | |
---|---|
Type | Description |
string |
setKid
Key ID.
Generated from protobuf field string kid = 4;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getN
Used for RSA keys.
Generated from protobuf field string n = 5;
Returns | |
---|---|
Type | Description |
string |
setN
Used for RSA keys.
Generated from protobuf field string n = 5;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getE
Used for RSA keys.
Generated from protobuf field string e = 6;
Returns | |
---|---|
Type | Description |
string |
setE
Used for RSA keys.
Generated from protobuf field string e = 6;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getX
Used for ECDSA keys.
Generated from protobuf field string x = 7;
Returns | |
---|---|
Type | Description |
string |
setX
Used for ECDSA keys.
Generated from protobuf field string x = 7;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getY
Used for ECDSA keys.
Generated from protobuf field string y = 8;
Returns | |
---|---|
Type | Description |
string |
setY
Used for ECDSA keys.
Generated from protobuf field string y = 8;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getCrv
Used for ECDSA keys.
Generated from protobuf field string crv = 9;
Returns | |
---|---|
Type | Description |
string |
setCrv
Used for ECDSA keys.
Generated from protobuf field string crv = 9;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |