Sha256: 4df1240b5bf4cd3f60106d59b8b68cc826e9a35aed1ca1f9371202a35e485987

Contents?: true

Size: 1.72 KB

Versions: 4

Compression:

Stored size: 1.72 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::KeyVault::V7_1_preview
  module Models
    #
    # The key operations parameters.
    #
    class KeySignParameters

      include MsRestAzure

      # @return [JsonWebKeySignatureAlgorithm] The signing/verification
      # algorithm identifier. For more information on possible algorithm types,
      # see JsonWebKeySignatureAlgorithm. Possible values include: 'PS256',
      # 'PS384', 'PS512', 'RS256', 'RS384', 'RS512', 'RSNULL', 'ES256',
      # 'ES384', 'ES512', 'ES256K'
      attr_accessor :algorithm

      # @return
      attr_accessor :value


      #
      # Mapper for KeySignParameters class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'KeySignParameters',
          type: {
            name: 'Composite',
            class_name: 'KeySignParameters',
            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'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
azure_key_vault-0.19.1 lib/7.1-preview/generated/azure_key_vault/models/key_sign_parameters.rb
azure_key_vault-0.19.0 lib/7.1-preview/generated/azure_key_vault/models/key_sign_parameters.rb
azure_key_vault-0.18.1 lib/7.1-preview/generated/azure_key_vault/models/key_sign_parameters.rb
azure_key_vault-0.18.0 lib/7.1-preview/generated/azure_key_vault/models/key_sign_parameters.rb