internal/httpclient/docs/JsonWebKey.md
| Name | Type | Description | Notes |
|---|---|---|---|
| Alg | string | The "alg" (algorithm) parameter identifies the algorithm intended for use with the key. The values used should either be registered in the IANA "JSON Web Signature and Encryption Algorithms" registry established by [JWA] or be a value that contains a Collision- Resistant Name. | |
| Crv | Pointer to string | [optional] | |
| D | Pointer to string | [optional] | |
| Dp | Pointer to string | [optional] | |
| Dq | Pointer to string | [optional] | |
| E | Pointer to string | [optional] | |
| K | Pointer to string | [optional] | |
| Kid | string | The "kid" (key ID) parameter is used to match a specific key. This is used, for instance, to choose among a set of keys within a JWK Set during key rollover. The structure of the "kid" value is unspecified. When "kid" values are used within a JWK Set, different keys within the JWK Set SHOULD use distinct "kid" values. (One example in which different keys might use the same "kid" value is if they have different "kty" (key type) values but are considered to be equivalent alternatives by the application using them.) The "kid" value is a case-sensitive string. | |
| Kty | string | The "kty" (key type) parameter identifies the cryptographic algorithm family used with the key, such as "RSA" or "EC". "kty" values should either be registered in the IANA "JSON Web Key Types" registry established by [JWA] or be a value that contains a Collision- Resistant Name. The "kty" value is a case-sensitive string. | |
| N | Pointer to string | [optional] | |
| P | Pointer to string | [optional] | |
| Q | Pointer to string | [optional] | |
| Qi | Pointer to string | [optional] | |
| Use | string | Use ("public key use") identifies the intended use of the public key. The "use" parameter is employed to indicate whether a public key is used for encrypting data or verifying the signature on data. Values are commonly "sig" (signature) or "enc" (encryption). | |
| X | Pointer to string | [optional] | |
| X5c | Pointer to []string | The "x5c" (X.509 certificate chain) parameter contains a chain of one or more PKIX certificates [RFC5280]. The certificate chain is represented as a JSON array of certificate value strings. Each string in the array is a base64-encoded (Section 4 of [RFC4648] -- not base64url-encoded) DER [ITU.X690.1994] PKIX certificate value. The PKIX certificate containing the key value MUST be the first certificate. | [optional] |
| Y | Pointer to string | [optional] |
func NewJsonWebKey(alg string, kid string, kty string, use string, ) *JsonWebKey
NewJsonWebKey instantiates a new JsonWebKey object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewJsonWebKeyWithDefaults() *JsonWebKey
NewJsonWebKeyWithDefaults instantiates a new JsonWebKey object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *JsonWebKey) GetAlg() string
GetAlg returns the Alg field if non-nil, zero value otherwise.
func (o *JsonWebKey) GetAlgOk() (*string, bool)
GetAlgOk returns a tuple with the Alg field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *JsonWebKey) SetAlg(v string)
SetAlg sets Alg field to given value.
func (o *JsonWebKey) GetCrv() string
GetCrv returns the Crv field if non-nil, zero value otherwise.
func (o *JsonWebKey) GetCrvOk() (*string, bool)
GetCrvOk returns a tuple with the Crv field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *JsonWebKey) SetCrv(v string)
SetCrv sets Crv field to given value.
func (o *JsonWebKey) HasCrv() bool
HasCrv returns a boolean if a field has been set.
func (o *JsonWebKey) GetD() string
GetD returns the D field if non-nil, zero value otherwise.
func (o *JsonWebKey) GetDOk() (*string, bool)
GetDOk returns a tuple with the D field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *JsonWebKey) SetD(v string)
SetD sets D field to given value.
func (o *JsonWebKey) HasD() bool
HasD returns a boolean if a field has been set.
func (o *JsonWebKey) GetDp() string
GetDp returns the Dp field if non-nil, zero value otherwise.
func (o *JsonWebKey) GetDpOk() (*string, bool)
GetDpOk returns a tuple with the Dp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *JsonWebKey) SetDp(v string)
SetDp sets Dp field to given value.
func (o *JsonWebKey) HasDp() bool
HasDp returns a boolean if a field has been set.
func (o *JsonWebKey) GetDq() string
GetDq returns the Dq field if non-nil, zero value otherwise.
func (o *JsonWebKey) GetDqOk() (*string, bool)
GetDqOk returns a tuple with the Dq field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *JsonWebKey) SetDq(v string)
SetDq sets Dq field to given value.
func (o *JsonWebKey) HasDq() bool
HasDq returns a boolean if a field has been set.
func (o *JsonWebKey) GetE() string
GetE returns the E field if non-nil, zero value otherwise.
func (o *JsonWebKey) GetEOk() (*string, bool)
GetEOk returns a tuple with the E field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *JsonWebKey) SetE(v string)
SetE sets E field to given value.
func (o *JsonWebKey) HasE() bool
HasE returns a boolean if a field has been set.
func (o *JsonWebKey) GetK() string
GetK returns the K field if non-nil, zero value otherwise.
func (o *JsonWebKey) GetKOk() (*string, bool)
GetKOk returns a tuple with the K field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *JsonWebKey) SetK(v string)
SetK sets K field to given value.
func (o *JsonWebKey) HasK() bool
HasK returns a boolean if a field has been set.
func (o *JsonWebKey) GetKid() string
GetKid returns the Kid field if non-nil, zero value otherwise.
func (o *JsonWebKey) GetKidOk() (*string, bool)
GetKidOk returns a tuple with the Kid field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *JsonWebKey) SetKid(v string)
SetKid sets Kid field to given value.
func (o *JsonWebKey) GetKty() string
GetKty returns the Kty field if non-nil, zero value otherwise.
func (o *JsonWebKey) GetKtyOk() (*string, bool)
GetKtyOk returns a tuple with the Kty field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *JsonWebKey) SetKty(v string)
SetKty sets Kty field to given value.
func (o *JsonWebKey) GetN() string
GetN returns the N field if non-nil, zero value otherwise.
func (o *JsonWebKey) GetNOk() (*string, bool)
GetNOk returns a tuple with the N field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *JsonWebKey) SetN(v string)
SetN sets N field to given value.
func (o *JsonWebKey) HasN() bool
HasN returns a boolean if a field has been set.
func (o *JsonWebKey) GetP() string
GetP returns the P field if non-nil, zero value otherwise.
func (o *JsonWebKey) GetPOk() (*string, bool)
GetPOk returns a tuple with the P field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *JsonWebKey) SetP(v string)
SetP sets P field to given value.
func (o *JsonWebKey) HasP() bool
HasP returns a boolean if a field has been set.
func (o *JsonWebKey) GetQ() string
GetQ returns the Q field if non-nil, zero value otherwise.
func (o *JsonWebKey) GetQOk() (*string, bool)
GetQOk returns a tuple with the Q field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *JsonWebKey) SetQ(v string)
SetQ sets Q field to given value.
func (o *JsonWebKey) HasQ() bool
HasQ returns a boolean if a field has been set.
func (o *JsonWebKey) GetQi() string
GetQi returns the Qi field if non-nil, zero value otherwise.
func (o *JsonWebKey) GetQiOk() (*string, bool)
GetQiOk returns a tuple with the Qi field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *JsonWebKey) SetQi(v string)
SetQi sets Qi field to given value.
func (o *JsonWebKey) HasQi() bool
HasQi returns a boolean if a field has been set.
func (o *JsonWebKey) GetUse() string
GetUse returns the Use field if non-nil, zero value otherwise.
func (o *JsonWebKey) GetUseOk() (*string, bool)
GetUseOk returns a tuple with the Use field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *JsonWebKey) SetUse(v string)
SetUse sets Use field to given value.
func (o *JsonWebKey) GetX() string
GetX returns the X field if non-nil, zero value otherwise.
func (o *JsonWebKey) GetXOk() (*string, bool)
GetXOk returns a tuple with the X field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *JsonWebKey) SetX(v string)
SetX sets X field to given value.
func (o *JsonWebKey) HasX() bool
HasX returns a boolean if a field has been set.
func (o *JsonWebKey) GetX5c() []string
GetX5c returns the X5c field if non-nil, zero value otherwise.
func (o *JsonWebKey) GetX5cOk() (*[]string, bool)
GetX5cOk returns a tuple with the X5c field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *JsonWebKey) SetX5c(v []string)
SetX5c sets X5c field to given value.
func (o *JsonWebKey) HasX5c() bool
HasX5c returns a boolean if a field has been set.
func (o *JsonWebKey) GetY() string
GetY returns the Y field if non-nil, zero value otherwise.
func (o *JsonWebKey) GetYOk() (*string, bool)
GetYOk returns a tuple with the Y field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *JsonWebKey) SetY(v string)
SetY sets Y field to given value.
func (o *JsonWebKey) HasY() bool
HasY returns a boolean if a field has been set.