Class: Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::AsymmetricEncryptedSecret
- Inherits:
-
Object
- Object
- Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::AsymmetricEncryptedSecret
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-08-01/generated/azure_mgmt_databoxedge/models/asymmetric_encrypted_secret.rb
Overview
Represent the secrets intended for encryption with asymmetric key pair.
Instance Attribute Summary collapse
-
#encryption_algorithm ⇒ EncryptionAlgorithm
Possible values include: ‘None’, ‘AES256’, ‘RSAES_PKCS1_v_1_5’.
-
#encryption_cert_thumbprint ⇒ String
the value is unencrypted, it will be null.
-
#value ⇒ String
The value of the secret.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for AsymmetricEncryptedSecret class as Ruby Hash.
Instance Attribute Details
#encryption_algorithm ⇒ EncryptionAlgorithm
Possible values include: ‘None’, ‘AES256’, ‘RSAES_PKCS1_v_1_5’
24 25 26 |
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/asymmetric_encrypted_secret.rb', line 24 def encryption_algorithm @encryption_algorithm end |
#encryption_cert_thumbprint ⇒ String
the value is unencrypted, it will be null.
20 21 22 |
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/asymmetric_encrypted_secret.rb', line 20 def encryption_cert_thumbprint @encryption_cert_thumbprint end |
#value ⇒ String
Returns The value of the secret.
16 17 18 |
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/asymmetric_encrypted_secret.rb', line 16 def value @value end |
Class Method Details
.mapper ⇒ Object
Mapper for AsymmetricEncryptedSecret class as Ruby Hash. This will be used for serialization/deserialization.
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 |
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/asymmetric_encrypted_secret.rb', line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'AsymmetricEncryptedSecret', type: { name: 'Composite', class_name: 'AsymmetricEncryptedSecret', model_properties: { value: { client_side_validation: true, required: true, serialized_name: 'value', type: { name: 'String' } }, encryption_cert_thumbprint: { client_side_validation: true, required: false, serialized_name: 'encryptionCertThumbprint', type: { name: 'String' } }, encryption_algorithm: { client_side_validation: true, required: true, serialized_name: 'encryptionAlgorithm', type: { name: 'String' } } } } } end |