Skip to content

Latest commit

 

History

History
124 lines (67 loc) · 3.37 KB

EncryptPKCS1.md

File metadata and controls

124 lines (67 loc) · 3.37 KB

EncryptPKCS1

Properties

Name Type Description Notes
KeyName string The name of the RSA key to use in the encryption process
Plaintext string Data to be encrypted
Token Pointer to string Authentication token (see `/auth` and `/configure`) [optional]
UidToken Pointer to string The universal identity token, Required only for universal_identity authentication [optional]

Methods

NewEncryptPKCS1

func NewEncryptPKCS1(keyName string, plaintext string, ) *EncryptPKCS1

NewEncryptPKCS1 instantiates a new EncryptPKCS1 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

NewEncryptPKCS1WithDefaults

func NewEncryptPKCS1WithDefaults() *EncryptPKCS1

NewEncryptPKCS1WithDefaults instantiates a new EncryptPKCS1 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

GetKeyName

func (o *EncryptPKCS1) GetKeyName() string

GetKeyName returns the KeyName field if non-nil, zero value otherwise.

GetKeyNameOk

func (o *EncryptPKCS1) GetKeyNameOk() (*string, bool)

GetKeyNameOk returns a tuple with the KeyName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetKeyName

func (o *EncryptPKCS1) SetKeyName(v string)

SetKeyName sets KeyName field to given value.

GetPlaintext

func (o *EncryptPKCS1) GetPlaintext() string

GetPlaintext returns the Plaintext field if non-nil, zero value otherwise.

GetPlaintextOk

func (o *EncryptPKCS1) GetPlaintextOk() (*string, bool)

GetPlaintextOk returns a tuple with the Plaintext field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetPlaintext

func (o *EncryptPKCS1) SetPlaintext(v string)

SetPlaintext sets Plaintext field to given value.

GetToken

func (o *EncryptPKCS1) GetToken() string

GetToken returns the Token field if non-nil, zero value otherwise.

GetTokenOk

func (o *EncryptPKCS1) GetTokenOk() (*string, bool)

GetTokenOk returns a tuple with the Token field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetToken

func (o *EncryptPKCS1) SetToken(v string)

SetToken sets Token field to given value.

HasToken

func (o *EncryptPKCS1) HasToken() bool

HasToken returns a boolean if a field has been set.

GetUidToken

func (o *EncryptPKCS1) GetUidToken() string

GetUidToken returns the UidToken field if non-nil, zero value otherwise.

GetUidTokenOk

func (o *EncryptPKCS1) GetUidTokenOk() (*string, bool)

GetUidTokenOk returns a tuple with the UidToken field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetUidToken

func (o *EncryptPKCS1) SetUidToken(v string)

SetUidToken sets UidToken field to given value.

HasUidToken

func (o *EncryptPKCS1) HasUidToken() bool

HasUidToken returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]