IsEncrypted (Item - Java)

Read-Write. Indicates whether an item is encrypted.

Defined in

Item

Data type

boolean

Syntax

public boolean isEncrypted()
    throws NotesException
public void setEncrypted(boolean flag)
    throws NotesException

Legal values

  • true if the item is encrypted
  • false if the item is not encrypted

Usage

If you set this property to true, the item is not actually encrypted until you call encrypt on the parent Document.

Example