class Azure::KeyVault::V7_2_preview::Models::KeyOperationsParameters

The key operations parameters.

Attributes

aad[RW]

@return Additional data to authenticate but not encrypt/decrypt when using authenticated crypto algorithms.

algorithm[RW]

@return [JsonWebKeyEncryptionAlgorithm] algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5', 'A128GCM', 'A192GCM', 'A256GCM', 'A128KW', 'A192KW', 'A256KW', 'A128CBC', 'A192CBC', 'A256CBC', 'A128CBCPAD', 'A192CBCPAD', 'A256CBCPAD'

iv[RW]

@return Initialization vector for symmetric algorithms.

tag[RW]

@return The tag to authenticate when performing decryption with an authenticated algorithm.

value[RW]

@return

Private Class Methods

mapper() click to toggle source

Mapper for KeyOperationsParameters class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/7.2-preview/generated/azure_key_vault/models/key_operations_parameters.rb, line 40
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'KeyOperationsParameters',
    type: {
      name: 'Composite',
      class_name: 'KeyOperationsParameters',
      model_properties: {
        algorithm: {
          client_side_validation: true,
          required: true,
          serialized_name: 'alg',
          constraints: {
            MinLength: 1
          },
          type: {
            name: 'String'
          }
        },
        value: {
          client_side_validation: true,
          required: true,
          serialized_name: 'value',
          type: {
            name: 'Base64Url'
          }
        },
        iv: {
          client_side_validation: true,
          required: false,
          serialized_name: 'iv',
          type: {
            name: 'Base64Url'
          }
        },
        aad: {
          client_side_validation: true,
          required: false,
          serialized_name: 'aad',
          type: {
            name: 'Base64Url'
          }
        },
        tag: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tag',
          type: {
            name: 'Base64Url'
          }
        }
      }
    }
  }
end