예제 #1
0
 /// <summary>
 /// Initializes a new instance of the ClientEncryptionKeyResource
 /// class.
 /// </summary>
 /// <param name="id">Name of the ClientEncryptionKey</param>
 /// <param name="encryptionAlgorithm">Encryption algorithm that will be
 /// used along with this client encryption key to encrypt/decrypt
 /// data.</param>
 /// <param name="wrappedDataEncryptionKey">Wrapped (encrypted) form of
 /// the key represented as a byte array.</param>
 /// <param name="keyWrapMetadata">Metadata for the wrapping provider
 /// that can be used to unwrap the wrapped client encryption
 /// key.</param>
 public ClientEncryptionKeyResource(string id = default(string), string encryptionAlgorithm = default(string), byte[] wrappedDataEncryptionKey = default(byte[]), KeyWrapMetadata keyWrapMetadata = default(KeyWrapMetadata))
 {
     Id = id;
     EncryptionAlgorithm      = encryptionAlgorithm;
     WrappedDataEncryptionKey = wrappedDataEncryptionKey;
     KeyWrapMetadata          = keyWrapMetadata;
     CustomInit();
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the
 /// ClientEncryptionKeyGetPropertiesResource class.
 /// </summary>
 /// <param name="id">Name of the ClientEncryptionKey</param>
 /// <param name="encryptionAlgorithm">Encryption algorithm that will be
 /// used along with this client encryption key to encrypt/decrypt
 /// data.</param>
 /// <param name="wrappedDataEncryptionKey">Wrapped (encrypted) form of
 /// the key represented as a byte array.</param>
 /// <param name="keyWrapMetadata">Metadata for the wrapping provider
 /// that can be used to unwrap the wrapped client encryption
 /// key.</param>
 /// <param name="_rid">A system generated property. A unique
 /// identifier.</param>
 /// <param name="_ts">A system generated property that denotes the last
 /// updated timestamp of the resource.</param>
 /// <param name="_etag">A system generated property representing the
 /// resource etag required for optimistic concurrency control.</param>
 public ClientEncryptionKeyGetPropertiesResource(string id = default(string), string encryptionAlgorithm = default(string), byte[] wrappedDataEncryptionKey = default(byte[]), KeyWrapMetadata keyWrapMetadata = default(KeyWrapMetadata), string _rid = default(string), double?_ts = default(double?), string _etag = default(string))
 {
     Id = id;
     EncryptionAlgorithm      = encryptionAlgorithm;
     WrappedDataEncryptionKey = wrappedDataEncryptionKey;
     KeyWrapMetadata          = keyWrapMetadata;
     this._rid  = _rid;
     this._ts   = _ts;
     this._etag = _etag;
     CustomInit();
 }