Sets the key used for encrypting content in the storage area. Setting this property overrides the existing encryption key. The value of this property is not persisted, and a call to retrieve its value returns null.

This property is intended for external management of encryption keys by supporting IBM products. In general, a custom application should not use this property, unless there is a compelling reason to supply its own key rather than use a server-generated key.

An encryption key must be 128 bits in length. An incorrect length results in a E_BAD_VALUE exception. It is recommended that a Federal Information Processing Standards (FIPS) 140-compliant algorithm be used to generate an encryption key.

Note that an encryption key is used only if the EncryptionEnabled property is set to true. If the EncryptionEnabled property is set to false, the value set on this property is ignored. If the EncryptionEnabled property is set to true but this property is not set, then the server automatically generates the encryption key.

For more information on how content encryption works, see Content encryption.

Namespace:  FileNet.Api.Admin
Assembly:  FileNet.Api (in FileNet.Api.dll)

ToggleSyntax

Visual Basic (Declaration)
Property EncryptionKey As Byte()
C#
byte[] EncryptionKey { get; set; }
Visual C++
property array<unsigned char>^ EncryptionKey {
	array<unsigned char>^ get ();
	void set (array<unsigned char>^ value);
}
JavaScript
function get_encryptionKey();
function set_encryptionKey(value);

ToggleRemarks

ToggleSee Also