Editar

Compartilhar via


EncryptionMethod.KeySize Property

Definition

Gets or sets the algorithm key size used for XML encryption.

public:
 property int KeySize { int get(); void set(int value); };
public int KeySize { get; set; }
member this.KeySize : int with get, set
Public Property KeySize As Integer

Property Value

The algorithm key size, in bits, used for XML encryption.

Exceptions

The KeySize property was set to a value that was less than 0.

Remarks

The KeySize property describes the key size of the encryption algorithm used to encrypt data associated with either the EncryptedData element or the EncryptedKey element.

Applies to