container  v1
Public Member Functions | Static Public Member Functions | List of all members
google_container_api::Jwk Class Reference

#include <jwk.h>

Inheritance diagram for google_container_api::Jwk:

Public Member Functions

 Jwk (const Json::Value &storage)
 
 Jwk (Json::Value *storage)
 
virtual ~Jwk ()
 
const StringPiece GetTypeName () const
 
bool has_alg () const
 
void clear_alg ()
 
const StringPiece get_alg () const
 
void set_alg (const StringPiece &value)
 
bool has_crv () const
 
void clear_crv ()
 
const StringPiece get_crv () const
 
void set_crv (const StringPiece &value)
 
bool has_e () const
 
void clear_e ()
 
const StringPiece get_e () const
 
void set_e (const StringPiece &value)
 
bool has_kid () const
 
void clear_kid ()
 
const StringPiece get_kid () const
 
void set_kid (const StringPiece &value)
 
bool has_kty () const
 
void clear_kty ()
 
const StringPiece get_kty () const
 
void set_kty (const StringPiece &value)
 
bool has_n () const
 
void clear_n ()
 
const StringPiece get_n () const
 
void set_n (const StringPiece &value)
 
bool has_use () const
 
void clear_use ()
 
const StringPiece get_use () const
 
void set_use (const StringPiece &value)
 
bool has_x () const
 
void clear_x ()
 
const StringPiece get_x () const
 
void set_x (const StringPiece &value)
 
bool has_y () const
 
void clear_y ()
 
const StringPiece get_y () const
 
void set_y (const StringPiece &value)
 

Static Public Member Functions

static JwkNew ()
 

Detailed Description

Jwk is a JSON Web Key as specified in RFC 7517.

Constructor & Destructor Documentation

◆ Jwk() [1/2]

google_container_api::Jwk::Jwk ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe 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]storageThe underlying data storage for this instance.

◆ ~Jwk()

google_container_api::Jwk::~Jwk ( )
virtual

Standard destructor.

Member Function Documentation

◆ 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

Returns a string denoting the type of this data object.

Returns
google_container_api::Jwk

◆ 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
[in]valueThe new value.

◆ set_crv()

void google_container_api::Jwk::set_crv ( const StringPiece &  value)
inline

Change the 'crv' attribute.

Used for ECDSA keys.

Parameters
[in]valueThe new value.

◆ set_e()

void google_container_api::Jwk::set_e ( const StringPiece &  value)
inline

Change the 'e' attribute.

Used for RSA keys.

Parameters
[in]valueThe new value.

◆ set_kid()

void google_container_api::Jwk::set_kid ( const StringPiece &  value)
inline

Change the 'kid' attribute.

Key ID.

Parameters
[in]valueThe new value.

◆ set_kty()

void google_container_api::Jwk::set_kty ( const StringPiece &  value)
inline

Change the 'kty' attribute.

Key Type.

Parameters
[in]valueThe new value.

◆ set_n()

void google_container_api::Jwk::set_n ( const StringPiece &  value)
inline

Change the 'n' attribute.

Used for RSA keys.

Parameters
[in]valueThe new value.

◆ set_use()

void google_container_api::Jwk::set_use ( const StringPiece &  value)
inline

Change the 'use' attribute.

Permitted uses for the public keys.

Parameters
[in]valueThe new value.

◆ set_x()

void google_container_api::Jwk::set_x ( const StringPiece &  value)
inline

Change the 'x' attribute.

Used for ECDSA keys.

Parameters
[in]valueThe new value.

◆ set_y()

void google_container_api::Jwk::set_y ( const StringPiece &  value)
inline

Change the 'y' attribute.

Used for ECDSA keys.

Parameters
[in]valueThe new value.

The documentation for this class was generated from the following files: