#include <jwk.h>
Jwk is a JSON Web Key as specified in RFC 7517.
◆ Jwk() [1/2]
| google_container_api::Jwk::Jwk |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ Jwk() [2/2]
| google_container_api::Jwk::Jwk |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ ~Jwk()
| google_container_api::Jwk::~Jwk |
( |
| ) |
|
|
virtual |
◆ clear_alg()
| void google_container_api::Jwk::clear_alg |
( |
| ) |
|
|
inline |
Clears the 'alg' attribute.
◆ clear_crv()
| void google_container_api::Jwk::clear_crv |
( |
| ) |
|
|
inline |
Clears the 'crv' attribute.
◆ clear_e()
| void google_container_api::Jwk::clear_e |
( |
| ) |
|
|
inline |
Clears the 'e' attribute.
◆ clear_kid()
| void google_container_api::Jwk::clear_kid |
( |
| ) |
|
|
inline |
Clears the 'kid' attribute.
◆ clear_kty()
| void google_container_api::Jwk::clear_kty |
( |
| ) |
|
|
inline |
Clears the 'kty' attribute.
◆ clear_n()
| void google_container_api::Jwk::clear_n |
( |
| ) |
|
|
inline |
Clears the 'n' attribute.
◆ clear_use()
| void google_container_api::Jwk::clear_use |
( |
| ) |
|
|
inline |
Clears the 'use' attribute.
◆ clear_x()
| void google_container_api::Jwk::clear_x |
( |
| ) |
|
|
inline |
Clears the 'x' attribute.
◆ clear_y()
| void google_container_api::Jwk::clear_y |
( |
| ) |
|
|
inline |
Clears the 'y' attribute.
◆ get_alg()
| const StringPiece google_container_api::Jwk::get_alg |
( |
| ) |
const |
|
inline |
Get the value of the 'alg' attribute.
◆ get_crv()
| const StringPiece google_container_api::Jwk::get_crv |
( |
| ) |
const |
|
inline |
Get the value of the 'crv' attribute.
◆ get_e()
| const StringPiece google_container_api::Jwk::get_e |
( |
| ) |
const |
|
inline |
Get the value of the 'e' attribute.
◆ get_kid()
| const StringPiece google_container_api::Jwk::get_kid |
( |
| ) |
const |
|
inline |
Get the value of the 'kid' attribute.
◆ get_kty()
| const StringPiece google_container_api::Jwk::get_kty |
( |
| ) |
const |
|
inline |
Get the value of the 'kty' attribute.
◆ get_n()
| const StringPiece google_container_api::Jwk::get_n |
( |
| ) |
const |
|
inline |
Get the value of the 'n' attribute.
◆ get_use()
| const StringPiece google_container_api::Jwk::get_use |
( |
| ) |
const |
|
inline |
Get the value of the 'use' attribute.
◆ get_x()
| const StringPiece google_container_api::Jwk::get_x |
( |
| ) |
const |
|
inline |
Get the value of the 'x' attribute.
◆ get_y()
| const StringPiece google_container_api::Jwk::get_y |
( |
| ) |
const |
|
inline |
Get the value of the 'y' attribute.
◆ GetTypeName()
| const StringPiece google_container_api::Jwk::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_alg()
| bool google_container_api::Jwk::has_alg |
( |
| ) |
const |
|
inline |
Determine if the 'alg' attribute was set.
- Returns
- true if the '
alg' attribute was set.
◆ has_crv()
| bool google_container_api::Jwk::has_crv |
( |
| ) |
const |
|
inline |
Determine if the 'crv' attribute was set.
- Returns
- true if the '
crv' attribute was set.
◆ has_e()
| bool google_container_api::Jwk::has_e |
( |
| ) |
const |
|
inline |
Determine if the 'e' attribute was set.
- Returns
- true if the '
e' attribute was set.
◆ has_kid()
| bool google_container_api::Jwk::has_kid |
( |
| ) |
const |
|
inline |
Determine if the 'kid' attribute was set.
- Returns
- true if the '
kid' attribute was set.
◆ has_kty()
| bool google_container_api::Jwk::has_kty |
( |
| ) |
const |
|
inline |
Determine if the 'kty' attribute was set.
- Returns
- true if the '
kty' attribute was set.
◆ has_n()
| bool google_container_api::Jwk::has_n |
( |
| ) |
const |
|
inline |
Determine if the 'n' attribute was set.
- Returns
- true if the '
n' attribute was set.
◆ has_use()
| bool google_container_api::Jwk::has_use |
( |
| ) |
const |
|
inline |
Determine if the 'use' attribute was set.
- Returns
- true if the '
use' attribute was set.
◆ has_x()
| bool google_container_api::Jwk::has_x |
( |
| ) |
const |
|
inline |
Determine if the 'x' attribute was set.
- Returns
- true if the '
x' attribute was set.
◆ has_y()
| bool google_container_api::Jwk::has_y |
( |
| ) |
const |
|
inline |
Determine if the 'y' attribute was set.
- Returns
- true if the '
y' attribute was set.
◆ New()
| Jwk * google_container_api::Jwk::New |
( |
| ) |
|
|
static |
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_alg()
| void google_container_api::Jwk::set_alg |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'alg' attribute.
Algorithm.
- Parameters
-
◆ set_crv()
| void google_container_api::Jwk::set_crv |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'crv' attribute.
Used for ECDSA keys.
- Parameters
-
◆ set_e()
| void google_container_api::Jwk::set_e |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'e' attribute.
Used for RSA keys.
- Parameters
-
◆ set_kid()
| void google_container_api::Jwk::set_kid |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'kid' attribute.
Key ID.
- Parameters
-
◆ set_kty()
| void google_container_api::Jwk::set_kty |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'kty' attribute.
Key Type.
- Parameters
-
◆ set_n()
| void google_container_api::Jwk::set_n |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'n' attribute.
Used for RSA keys.
- Parameters
-
◆ set_use()
| void google_container_api::Jwk::set_use |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'use' attribute.
Permitted uses for the public keys.
- Parameters
-
◆ set_x()
| void google_container_api::Jwk::set_x |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'x' attribute.
Used for ECDSA keys.
- Parameters
-
◆ set_y()
| void google_container_api::Jwk::set_y |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'y' attribute.
Used for ECDSA keys.
- Parameters
-
The documentation for this class was generated from the following files:
- google/container_api/jwk.h
- google/container_api/jwk.cc