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] |
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
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
func (o *EncryptPKCS1) GetKeyName() string
GetKeyName returns the KeyName field if non-nil, zero value otherwise.
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.
func (o *EncryptPKCS1) SetKeyName(v string)
SetKeyName sets KeyName field to given value.
func (o *EncryptPKCS1) GetPlaintext() string
GetPlaintext returns the Plaintext field if non-nil, zero value otherwise.
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.
func (o *EncryptPKCS1) SetPlaintext(v string)
SetPlaintext sets Plaintext field to given value.
func (o *EncryptPKCS1) GetToken() string
GetToken returns the Token field if non-nil, zero value otherwise.
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.
func (o *EncryptPKCS1) SetToken(v string)
SetToken sets Token field to given value.
func (o *EncryptPKCS1) HasToken() bool
HasToken returns a boolean if a field has been set.
func (o *EncryptPKCS1) GetUidToken() string
GetUidToken returns the UidToken field if non-nil, zero value otherwise.
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.
func (o *EncryptPKCS1) SetUidToken(v string)
SetUidToken sets UidToken field to given value.
func (o *EncryptPKCS1) HasUidToken() bool
HasUidToken returns a boolean if a field has been set.